Marius Stanciu %!s(int64=6) %!d(string=hai) anos
pai
achega
e57b6ad082

+ 2 - 0
flatcamParsers/ParseDXF.py

@@ -6,6 +6,8 @@
 # ##########################################################
 
 from shapely.geometry import LineString
+from shapely.affinity import rotate
+
 import logging
 
 log = logging.getLogger('base2')

+ 4 - 2
flatcamParsers/ParseExcellon.py

@@ -1099,8 +1099,10 @@ class Excellon(Geometry):
         Scales geometry on the XY plane in the object by a given factor.
         Tool sizes, feedrates an Z-plane dimensions are untouched.
 
-        :param factor: Number by which to scale the object.
-        :type factor: float
+        :param xfactor: Number by which to scale the object.
+        :type xfactor: float
+        :param yfactor: Number by which to scale the object.
+        :type yfactor: float
         :return: None
         :rtype: NOne
         """

+ 1 - 1
flatcamParsers/ParseSVG.py

@@ -23,7 +23,7 @@
 from svg.path import Line, Arc, CubicBezier, QuadraticBezier, parse_path
 from svg.path.path import Move
 from shapely.geometry import LineString
-from shapely.affinity import skew, affine_transform
+from shapely.affinity import skew, affine_transform, rotate
 import numpy as np
 
 from flatcamParsers.ParseFont import *