Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
from CamObject import CamObject
type = 0
class Stocks(CamObject):
def __init__(self):
CamObject.__init__(self)
def GetType(self):
return type
def TypeName(self):
return "Stocks"
def icon(self):
# the name of the PNG file in the HeeksCNC icons folder
return "stocks"
def UsesID(self):
return False
def CanBeDeleted(self):
return False
def OneOfAKind(self):
return True
def MakeACopy(self):
object = Stocks()
object.CopyFrom(self)
return object
def CallsObjListReadXml(self):
return True
def GetBoxWithInvisibles(self):
import geom
box = geom.Box3D()
for stock in self.GetChildren():
b = stock.GetBoxWithInvisibles()
if b:
box.InsertBox(b)
return box
4303ff38fThis file is pinned to the selected release. Download the original to open it in your design tool.