Commits

iorodeo committed 1749aa5

Fixed a small bug with Liner_Extrude and Polygon classes.

Comments (0)

Files changed (2)

py2scad/primitives.py

 
 class Polygon(base.SCAD_Object):
 
-    def __init__(self, points, paths, *args, **kwargs):
+    def __init__(self, points, paths,  *args, **kwargs):
         base.SCAD_Object.__init__(self, *args, **kwargs)
         self.points = points
         self.paths = paths

py2scad/transforms.py

 
     def __init__(self,obj,h=1, twist=0, center=True, convexity=5,
                  slices=None, *args, **kwargs):
-        base.SCAD_CMP_Object.__init__(self,obj,center=center,mod=mod, *args, **kwargs)
+        base.SCAD_CMP_Object.__init__(self,obj,center=center, *args, **kwargs)
         self.h = h
         self.twist = twist
         self.convexity = convexity