diff options
author | jaseg <git@jaseg.de> | 2023-07-22 13:20:48 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-07-22 13:20:48 +0200 |
commit | 2f0a21abf937f97c4b1fd10a6574e53ddcd4d7cf (patch) | |
tree | 0858ea86d41807083a58719d6431f5ea683b2b13 /gerbonara/cad/kicad | |
parent | eb5c01ddd05ccb078766d4deaf14a4f14fe55085 (diff) | |
download | gerbonara-2f0a21abf937f97c4b1fd10a6574e53ddcd4d7cf.tar.gz gerbonara-2f0a21abf937f97c4b1fd10a6574e53ddcd4d7cf.tar.bz2 gerbonara-2f0a21abf937f97c4b1fd10a6574e53ddcd4d7cf.zip |
Made junctions smaller
Diffstat (limited to 'gerbonara/cad/kicad')
-rw-r--r-- | gerbonara/cad/kicad/schematic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/cad/kicad/schematic.py b/gerbonara/cad/kicad/schematic.py index a2b6ada..0fce9ad 100644 --- a/gerbonara/cad/kicad/schematic.py +++ b/gerbonara/cad/kicad/schematic.py @@ -60,11 +60,11 @@ class Junction: uuid: UUID = field(default_factory=UUID) def bounding_box(self, default=None): - r = (self.diameter/2 or 0.635) + r = (self.diameter/2 or 0.5) return (self.at.x - r, self.at.y - r), (self.at.x + r, self.at.y + r) def to_svg(self, colorscheme=Colorscheme.KiCad): - yield Tag('circle', cx=f'{self.at.x:.3f}', cy=f'{self.at.y:.3f}', r=(self.diameter/2 or 0.635), + yield Tag('circle', cx=f'{self.at.x:.3f}', cy=f'{self.at.y:.3f}', r=(self.diameter/2 or 0.5), fill=self.color.svg(colorscheme.wire)) |