MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / execute

Method execute

src/Mod/TemplatePyMod/FeaturePython.py:30–33  ·  view source on GitHub ↗

Print a short message when doing a recomputation, this method is mandatory

(self, fp)

Source from the content-addressed store, hash-verified

28 FreeCAD.Console.PrintMessage("Change property: " + str(prop) + "\n")
29
30 def execute(self, fp):
31 ''' Print a short message when doing a recomputation, this method is mandatory '''
32 FreeCAD.Console.PrintMessage("Recompute Python Box feature\n")
33 fp.Shape = Part.makeBox(fp.Length,fp.Width,fp.Height)
34
35class ViewProviderBox:
36 def __init__(self, obj):

Callers

nothing calls this directly

Calls 1

makeBoxMethod · 0.80

Tested by

no test coverage detected