You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
641 B

import FreeCAD as App
class LaserPath:
def __init__(self, obj):
'''Add some custom properties to our box feature'''
obj.addProperty("App::Property", "base_reference", "Reference", "Reference Point (teached)")
obj.base_reference = App.Vector(0,0,0)
obj.Proxy = self
def onChanged(self, fp, prop):
'''Do something when a property has changed'''
App.Console.PrintMessage("Change property: " + str(prop) + "\n")
def execute(self, fp):
'''Do something when doing a recomputation, this method is mandatory'''
App.Console.PrintMessage("Recompute Python Box feature\n")