File tree Expand file tree Collapse file tree
lib/python/qtvcp/lib/qt_vismach Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -994,12 +994,11 @@ class HalToolCylinder(CylinderZ):
994994 IMPERIAL = 25.4
995995 MODEL_SCALING = IMPERIAL
996996
997- def __init__ (self , comp , * args ):
997+ def __init__ (self , comp = None , * args ):
998998 # get machine access so it can
999999 # change itself as it runs
10001000 # specifically tool cylinder in this case.
10011001 CylinderZ .__init__ (self , * args )
1002- self .comp = comp
10031002
10041003 def coords (self ):
10051004 # get diameter and divide by 2 to get radius.
@@ -1026,7 +1025,7 @@ def set_tool_scale(self, scale):
10261025# we use a triangle for the tool
10271026# since we need to visualize a lathe tool here
10281027class HalToolTriangle (TriangleXZ ):
1029- def __init__ (self , comp , * args ):
1028+ def __init__ (self , comp = None , * args ):
10301029 # get machine access so it can
10311030 # change itself as it runs
10321031 # specifically tool cylinder in this case.
You can’t perform that action at this time.
0 commit comments