summaryrefslogtreecommitdiff
path: root/gerbonara/layers.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-04-15 22:26:38 +0200
committerjaseg <git@jaseg.de>2023-04-15 22:26:38 +0200
commit5c7bfb2744429a3ea311c68fb9fa269f155c5ed9 (patch)
treee593172e2c76a3c06f0dca79d93d8535448f3db8 /gerbonara/layers.py
parent5ea1491704ce9fb668f1eefc79fbcbcdcf98e6d0 (diff)
downloadgerbonara-5c7bfb2744429a3ea311c68fb9fa269f155c5ed9.tar.gz
gerbonara-5c7bfb2744429a3ea311c68fb9fa269f155c5ed9.tar.bz2
gerbonara-5c7bfb2744429a3ea311c68fb9fa269f155c5ed9.zip
Fix protoserve bugs in obround pads
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r--gerbonara/layers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerbonara/layers.py b/gerbonara/layers.py
index 10101dc..bb2d635 100644
--- a/gerbonara/layers.py
+++ b/gerbonara/layers.py
@@ -816,11 +816,11 @@ class LayerStack:
for i, layer in enumerate(self.drill_layers):
layers.append(tag('g', list(layer.instance.svg_objects(svg_unit=svg_unit, fg='white', bg='black', tag=Tag)),
- id=f'g-drill-{i}', filter=f'url(#f-drill)', **stroke_attrs, **inkscape_attrs(f'drill-{i}')))
+ id=f'l-drill-{i}', filter=f'url(#f-drill)', **stroke_attrs, **inkscape_attrs(f'drill-{i}')))
if self.outline:
layers.append(tag('g', list(self.outline.instance.svg_objects(svg_unit=svg_unit, fg='white', bg='black', tag=Tag)),
- id=f'g-outline-{i}', **stroke_attrs, **inkscape_attrs(f'outline-{i}')))
+ id=f'l-mechanical-outline', **stroke_attrs, **inkscape_attrs(f'outline')))
layer_group = tag('g', layers, transform=f'translate(0 {bounds[0][1] + bounds[1][1]}) scale(1 -1)')
tags = [tag('defs', filter_defs), layer_group]