- wip
This commit is contained in:
parent
346dfdc906
commit
e57b6ad082
|
@ -6,6 +6,8 @@
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
from shapely.geometry import LineString
|
from shapely.geometry import LineString
|
||||||
|
from shapely.affinity import rotate
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
log = logging.getLogger('base2')
|
log = logging.getLogger('base2')
|
||||||
|
|
|
@ -1099,8 +1099,10 @@ class Excellon(Geometry):
|
||||||
Scales geometry on the XY plane in the object by a given factor.
|
Scales geometry on the XY plane in the object by a given factor.
|
||||||
Tool sizes, feedrates an Z-plane dimensions are untouched.
|
Tool sizes, feedrates an Z-plane dimensions are untouched.
|
||||||
|
|
||||||
:param factor: Number by which to scale the object.
|
:param xfactor: Number by which to scale the object.
|
||||||
:type factor: float
|
:type xfactor: float
|
||||||
|
:param yfactor: Number by which to scale the object.
|
||||||
|
:type yfactor: float
|
||||||
:return: None
|
:return: None
|
||||||
:rtype: NOne
|
:rtype: NOne
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
from svg.path import Line, Arc, CubicBezier, QuadraticBezier, parse_path
|
from svg.path import Line, Arc, CubicBezier, QuadraticBezier, parse_path
|
||||||
from svg.path.path import Move
|
from svg.path.path import Move
|
||||||
from shapely.geometry import LineString
|
from shapely.geometry import LineString
|
||||||
from shapely.affinity import skew, affine_transform
|
from shapely.affinity import skew, affine_transform, rotate
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from flatcamParsers.ParseFont import *
|
from flatcamParsers.ParseFont import *
|
||||||
|
|
Loading…
Reference in New Issue