diff options
author | jaseg <git@jaseg.de> | 2024-07-17 10:20:35 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2024-07-17 10:20:35 +0200 |
commit | edaf246b9dcfbb87a636d538536ae6c89f7ca956 (patch) | |
tree | b61248bd60caf2c5ed20855101995860bd9d9505 /gerbonara/utils.py | |
parent | b1d0260c70abe55dd07b0970334a3196f2606a34 (diff) | |
download | gerbonara-edaf246b9dcfbb87a636d538536ae6c89f7ca956.tar.gz gerbonara-edaf246b9dcfbb87a636d538536ae6c89f7ca956.tar.bz2 gerbonara-edaf246b9dcfbb87a636d538536ae6c89f7ca956.zip |
Update KiCad PCB format support to 8.99
Diffstat (limited to 'gerbonara/utils.py')
-rw-r--r-- | gerbonara/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/utils.py b/gerbonara/utils.py index 6d8445d..83a7d93 100644 --- a/gerbonara/utils.py +++ b/gerbonara/utils.py @@ -542,7 +542,7 @@ def svg_rotation(angle_rad, cx=0, cy=0): return {'transform': f'rotate({float(math.degrees(angle_rad)):.4} {float(cx):.6} {float(cy):.6})'} def setup_svg(tags, bounds, margin=0, arg_unit=MM, svg_unit=MM, pagecolor='white', tag=Tag, inkscape=False): - (min_x, min_y), (max_x, max_y) = bounds + (min_x, min_y), (max_x, max_y) = svg_unit.convert_bounds_from(arg_unit, bounds) if margin: margin = svg_unit(margin, arg_unit) |