-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathOperations.py
More file actions
39 lines (28 loc) · 832 Bytes
/
Operations.py
File metadata and controls
39 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from CamObject import CamObject
from Profile import Profile
from Pocket import Pocket
type = 0
class Operations(CamObject):
def __init__(self):
CamObject.__init__(self)
def TypeName(self):
return "Operations"
def GetType(self):
return type
def icon(self):
# the name of the PNG file in the HeeksCNC icons folder
return "operations"
def UsesID(self):
return False
def CanBeDeleted(self):
return False
def AutoExpand(self):
return True
def OneOfAKind(self):
return True
def MakeACopy(self):
object = Operations()
object.CopyFrom(self)
return object
def CallsObjListReadXml(self):
return True