Adding placement and/or routing functionality

Aperta
#40 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend, design

Direzione di ricerca

Start by reading the SKiDL code that generates the netlist and how it handles KiCad output. The issue proposes either encoding placement hints in the netlist or generating and patching a .kicad_pcb file, but leaves the design undecided. Define a placement and routing approach, then show that generated board output preserves or updates existing placement as intended.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

I would like to do some brainstorming about the possibility of adding placement and / or routing hints.

Problem

After generating a netlist and importing it into pcbnew you are left with the still tedious task of placing the footprints, drawing the traces and general layout.
But I think functionality can be added to include at least placement hints along with the generated netlist as in many cases you already know in loose terms where a particular part should be.

Possible approaches

Include information about part placement in the netlist

For example: (place parts right edge at 20 mil from the origin, center 100 mil from the origin)

{"right": "20mil", "y": "100mil"}

Maybe just add it into the value field, then use a python script from pcbnew to parse the placement data if it contains json with the relevant fields.

Generate kicad_pcb file from the start

Since the file formats of .net and .kicad_pcb are fairly similar it might be more convenient to go ahead and generate a kicad_pcb file that already has the parts placed.
Any tips where to start in regards to existing skidl code?
It might be useful to come up with an intelligent approach where an existing file isn't overwritten but "patched" with the new position.

Lingua principale
Python
Stelle
1.7k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devbisme/skidl

Tutte le issue di devbisme/skidl

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.