|
@@ -1843,8 +1843,6 @@ class Geometry(object):
|
|
|
:return: SVG Element
|
|
:return: SVG Element
|
|
|
"""
|
|
"""
|
|
|
|
|
|
|
|
- geom = None
|
|
|
|
|
-
|
|
|
|
|
# Make sure we see a Shapely Geometry class and not a list
|
|
# Make sure we see a Shapely Geometry class and not a list
|
|
|
if str(type(self)) == "<class 'FlatCAMObj.FlatCAMGeometry'>":
|
|
if str(type(self)) == "<class 'FlatCAMObj.FlatCAMGeometry'>":
|
|
|
flat_geo = []
|
|
flat_geo = []
|
|
@@ -1869,6 +1867,8 @@ class Geometry(object):
|
|
|
elif skew_reference == 'bottomright':
|
|
elif skew_reference == 'bottomright':
|
|
|
skew_ref = (xmax, ymin)
|
|
skew_ref = (xmax, ymin)
|
|
|
|
|
|
|
|
|
|
+ geom = geom_svg
|
|
|
|
|
+
|
|
|
if scale_factor_x:
|
|
if scale_factor_x:
|
|
|
geom = affinity.scale(geom_svg, scale_factor_x, 1.0)
|
|
geom = affinity.scale(geom_svg, scale_factor_x, 1.0)
|
|
|
if scale_factor_y:
|
|
if scale_factor_y:
|