diff options
author | jaseg <git@jaseg.de> | 2023-07-17 23:23:19 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-07-17 23:23:19 +0200 |
commit | 08c4091e57d59b6a08cb0e4f4d684ec7967019fc (patch) | |
tree | ac1b56180c5cb287480f1aa7376ae00c69fab1d1 /gerbonara/cad/kicad/primitives.py | |
parent | 860fa4c53bb7d599c98e7913377b3d5aa24fea8e (diff) | |
download | gerbonara-08c4091e57d59b6a08cb0e4f4d684ec7967019fc.tar.gz gerbonara-08c4091e57d59b6a08cb0e4f4d684ec7967019fc.tar.bz2 gerbonara-08c4091e57d59b6a08cb0e4f4d684ec7967019fc.zip |
kicad: Improve API and fix kicad-nightly compat
Diffstat (limited to 'gerbonara/cad/kicad/primitives.py')
-rw-r--r-- | gerbonara/cad/kicad/primitives.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/cad/kicad/primitives.py b/gerbonara/cad/kicad/primitives.py index 6e9f41d..58a5b2c 100644 --- a/gerbonara/cad/kicad/primitives.py +++ b/gerbonara/cad/kicad/primitives.py @@ -49,7 +49,7 @@ class ZoneSmoothing: @sexp_type('fill') class ZoneFill: yes: Flag() = False - mode: Flag(atom=Atom.hatched) = False + mode: Named(Flag(atom=Atom.hatch)) = False thermal_gap: Named(float) = 0.508 thermal_bridge_width: Named(float) = 0.508 smoothing: ZoneSmoothing = None @@ -60,7 +60,7 @@ class ZoneFill: hatch_orientation: Named(int) = None hatch_smoothing_level: Named(int) = None hatch_smoothing_value: Named(float) = None - hatch_border_algorithm: Named(int) = None + hatch_border_algorithm: Named(AtomChoice(Atom.hatch_thickness, Atom.min_thickness)) = None hatch_min_hole_area: Named(float) = None |