This commit is contained in:
Marius Stanciu 2019-10-17 02:49:12 +03:00 committed by Marius
parent 346dfdc906
commit e57b6ad082
3 changed files with 7 additions and 3 deletions

View File

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

View File

@ -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
"""

View File

@ -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 *