@@ -6,6 +6,8 @@
# ##########################################################
from shapely.geometry import LineString
+from shapely.affinity import rotate
+
import logging
log = logging.getLogger('base2')
@@ -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
"""
@@ -23,7 +23,7 @@
from svg.path import Line, Arc, CubicBezier, QuadraticBezier, parse_path
from svg.path.path import Move
-from shapely.affinity import skew, affine_transform
+from shapely.affinity import skew, affine_transform, rotate
import numpy as np
from flatcamParsers.ParseFont import *