Beispiel #1
0
    def GetProperties(self):
        properties = []

        properties.append(
            PyPropertyLength("Horizontal Feed Rate", 'horizontal_feed_rate',
                             self))
        properties.append(
            PyPropertyLength("Vertical Feed Rate", 'vertical_feed_rate', self))
        properties.append(PyProperty("Spindle Speed", 'spindle_speed', self))

        properties += Operation.GetProperties(self)

        return properties
Beispiel #2
0
 def GetProperties(self):
     properties = []
     properties.append(PyProperty('Script', 'str', self))
     properties[-1].type = cad.PROPERTY_TYPE_LONG_STRING
     properties += Operation.GetProperties(self)
     return properties