Parametric Project Enclosures
by thehans, published
Source also available on gist: gist.github.com/1361643
Recent Commentsview all
I stumbled upon that problem too, as a first time FreeCad user, and realised you have to do "File->New" to actually open an empty file where the macro can be applied.
Yes, I am sorry, FreeCAD. I am running FreeCAD version 0.13 revision 1828. On Windows 7 32bit, 2Gb RAM.
Here is (most of) the full text: Traceback (most recent call last): File "C:/Users/Daniel/FreeCAD Macros/projectenclosure,py", line 244, in MakeBoxEnclosure() File: "C:/Users/Daniel/FreeCAD Macros/projectenclosure,py", line 237, in MakeBoxEnclosure() a=FreeCAD.ActiveDocument.addobject("Part::FeaturePython","BoxEnclosure"). It continues but I cannot see it.
From the FreeCAD interface, you can use the "Tools -> Macros..." menu to view or change your macro directory. Once the macro is in place, you can execute the macro from the same dialog.
This script is implemented as a FreeCAD Python Feature which means that you can edit all the parameters from the FreeCAD gui without touching any Python code at all. Select the box, and click on the "Data" tab in the left pane to see and edit any of the parameters. One of the screenshots shows an example of this.
You must be logged in to post a comment.