From 2f0a21abf937f97c4b1fd10a6574e53ddcd4d7cf Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 22 Jul 2023 13:20:48 +0200 Subject: Made junctions smaller --- gerbonara/cad/kicad/schematic.py | 4 ++-- 1 file 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)) -- cgit