From be25b860a975a3a65fc9e434aac332950ace83bb Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 19 Jul 2024 19:20:09 +0200 Subject: kicad: Improve net access This adds net_name and net_index properties to a bunch of objects that automatically look into the (net s-expr of the object --- gerbonara/cad/kicad/pcb.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gerbonara/cad/kicad/pcb.py') diff --git a/gerbonara/cad/kicad/pcb.py b/gerbonara/cad/kicad/pcb.py index 11abf3c..fce4d0e 100644 --- a/gerbonara/cad/kicad/pcb.py +++ b/gerbonara/cad/kicad/pcb.py @@ -150,12 +150,6 @@ class BoardSetup: export_settings: ExportSettings = field(default_factory=ExportSettings) -@sexp_type('net') -class Net: - index: int = 0 - name: str = '' - - @sexp_type('segment') class TrackSegment(BBoxMixin): start: Rename(XYCoord) = field(default_factory=XYCoord) -- cgit