[Worksheet][KiCad 7] Adapted image scale (to mm)
This commit is contained in:
parent
c0408077fc
commit
68e6e5f825
|
|
@ -438,6 +438,8 @@ class WksBitmap(WksDrawing):
|
||||||
if GS.ki5:
|
if GS.ki5:
|
||||||
# KiCad 5 uses Inches and with less resolution
|
# KiCad 5 uses Inches and with less resolution
|
||||||
img.scale(KICAD5_SVG_SCALE)
|
img.scale(KICAD5_SVG_SCALE)
|
||||||
|
elif GS.ki7:
|
||||||
|
img.scale(GS.to_mm(1))
|
||||||
elif svg_precision != 6:
|
elif svg_precision != 6:
|
||||||
img.scale(scale)
|
img.scale(scale)
|
||||||
# Put the image in a group
|
# Put the image in a group
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue