Macros recipes: Difference between revisions

From FreeCAD Documentation
m (icon)
(add "Macro_export_transient_FEM_results")
(45 intermediate revisions by 2 users not shown)
Line 40: Line 40:
* {{MacroLink|Icon=Macro HiddenAlls.png|Macro HiddenAlls|Macro Hidden Alls objects}}: This macro check hidden all object in the document (Visibility=False).
* {{MacroLink|Icon=Macro HiddenAlls.png|Macro HiddenAlls|Macro Hidden Alls objects}}: This macro check hidden all object in the document (Visibility=False).
* {{MacroLink|Icon=Macro If Selected Stay If Not Then Delete.png|Macro If Selected Stay If Not Then Delete|Macro If Selected Stay If Not Then Delete}} :All object not selected hare deletted !!.
* {{MacroLink|Icon=Macro If Selected Stay If Not Then Delete.png|Macro If Selected Stay If Not Then Delete|Macro If Selected Stay If Not Then Delete}} :All object not selected hare deletted !!.
* {{MacroLink|Icon=Macro SelectVisible2.png|Macro_Toggle_Visibility2|Macro Toggle Visibility2}}: Set of two macro, macro '''1:''' hidden the objects not selected, macro '''2:''' displayed alls objects, macro with the original visibility.
* {{MacroLink|Icon=Macro SelectVisible2.png|Macro_Toggle_Visibility2_1-2|Macro Toggle Visibility2 1-2}}: Set of two macro, macro '''1:Macro_Toggle_Visibility2_1-2''' hidden the objects not selected, macro '''2:Macro_Toggle_Visibility2_2-2''' displayed alls objects, macro with the original visibility.
* {{MacroLink|Icon=Macro_VisibleAlls2.png|Macro_Toggle_Visibility2_2-2|Macro Toggle Visibility2 2-2}}: Set of two macro, macro '''1:Macro_Toggle_Visibility2_1-2''' hidden the objects not selected, macro '''2:Macro_Toggle_Visibility2_2-2''' displayed alls objects, macro with the original visibility.
* {{MacroLink|Icon=SelectVisible.png|Macro SelectVisible|Macro SelectVisible}}: All visible objects in the tree will be selected.
* {{MacroLink|Icon=SelectVisible.png|Macro SelectVisible|Macro SelectVisible}}: All visible objects in the tree will be selected.
* {{MacroLink|Icon=Macro_Manage_Navigational_Styles1.png|Macro_Manage_Navigational_Style|Macro Manage Navigational Style1}}: This pair of macros allow you to alter the Navigation Style to 'CAD'.
* {{MacroLink|Icon=Macro_Manage_Navigational_Styles1.png|Macro_Manage_Navigational_Style|Macro Manage Navigational Style1}}: This pair of macros allow you to alter the Navigation Style to 'CAD'.
Line 69: Line 70:
* {{MacroLink|Icon=Macro_Assembly.png|Macro Assembly|Macro Assembly}}: Assembly animate
* {{MacroLink|Icon=Macro_Assembly.png|Macro Assembly|Macro Assembly}}: Assembly animate
* {{MacroLink|Icon=Macro_Animated_Constrain.png|Macro Animated Constrain|Macro Animated Constrain}}: Animate angle constrain in sketcher
* {{MacroLink|Icon=Macro_Animated_Constrain.png|Macro Animated Constrain|Macro Animated Constrain}}: Animate angle constrain in sketcher
* {{MacroLink|Icon=Macro_Assemblage_Imprimante_3D%26action.png|Macro Assemblage Imprimante 3D|Macro Assemblage Imprimante 3D}}: Simulation of movements of a 3D printer
* {{MacroLink|Icon=Macro_Assemblage_Imprimante_3D.png|Macro Assemblage Imprimante 3D|Macro Assemblage Imprimante 3D}}: Simulation of movements of a 3D printer
* {{MacroLink|Icon=Macro_Constraint_Draft%26action.png|Macro Constraint Draft|Constraint Draft}}: Simple example animation Draft wires by use the Expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected (This macro run with FreeCAD version 16)
* {{MacroLink|Icon=Macro_Constraint_Draft.png|Macro Constraint Draft|Constraint Draft}}: Simple example animation Draft wires by use the Expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected (This macro run with FreeCAD version 0.16)
* {{MacroLink|Macro Rubik Cube|Macro Rubik Cube}}: Display a Rubik Cube and interactively do slice rotations.
* {{MacroLink|Macro Megaminx|Macro Megaminx}}: Display a Megaminx and interactively do slice rotations.
</translate>
</translate>
</div>
</div>
Line 85: Line 84:
<translate>
<translate>
<!--T:102-->
<!--T:102-->
* {{MacroLink|Macro MessageBox|Macro MessageBox}}: shows how to give information to the user through the GUI.
* {{MacroLink|Icon=Macro MessageBox.png|Macro MessageBox|Macro MessageBox}}: shows how to give information to the user through the GUI.
* {{MacroLink|Icon=MEPlan.png|Qt Example|Qt Example}}: example of using Qt commands, their connections, extraction and data assignment.
* {{MacroLink|Icon=MEPlan.png|Qt Example|Qt Example}}: example of using Qt commands, their connections, extraction and data assignment.
* {{MacroLink|Icon=Macro_Python_Assistant_Window.png|Macro Python Assistant Window|Macro Python Assistant Window}}: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.
* {{MacroLink|Icon=Macro_Python_Assistant_Window.png|Macro Python Assistant Window|Macro Python Assistant Window}}: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.
* {{MacroLink|Icon=Macro_Build_Utility.png|Macro Build Utility|Macro Build Utility}}: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
* {{MacroLink|Icon=Macro_Build_Utility.png|Macro Build Utility|Macro Build Utility}}: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
* {{MacroLink|Icon=Macro_Global_Variable_Watcher.png|Macro Global Variable Watcher|Macro Global Variable Watcher}}: This macro facilitates the user selecting global variables and monitoring their values.
* {{MacroLink|Icon=Macro_Global_Variable_Watcher.png|Macro Global Variable Watcher|Macro Global Variable Watcher}}: This macro facilitates the user selecting global variables and monitoring their values.
* {{MacroLink|Macro clone explicit|Macro clone explicit}}: creates a copy of each selected object and sets its properties to an expression linking to the original object, making it an explicit and editable clone.
* {{MacroLink|Icon=Macro_clone_explicit.png|Macro clone explicit|Macro clone explicit}}: creates a copy of each selected object and sets its properties to an expression linking to the original object, making it an explicit and editable clone.


</translate>
</translate>
<!--NOT MODIFY THE POSITION OF THIS MACRO THIS MACRO "Macro ZTest Over 128" DO NOT HAVE TO BE TRANSLATED-->
<!--NOT MODIFY THE POSITION OF THIS MACRO THIS MACRO "Macro ZTest Over 128" DO NOT HAVE TO BE TRANSLATED-->
* {{MacroLink|Macro ZTest Over 128|Macro ZTest Over 128}}: This macro is only used by programmers Test characters ASCII over 127.
* {{MacroLink|Icon=Macro_ZTest_Over_128.png|Macro ZTest Over 128|Macro ZTest Over 128}}: This macro is only used by programmers Test characters ASCII over 127.
</div>
</div>
</div>
</div>
Line 106: Line 105:
<translate>
<translate>
<!--T:104-->
<!--T:104-->
* {{MacroLink|Macro Extract Wires from Mesh|Macro Extract Wires from Mesh}}: Extracts boundary wires from selected meshes
* {{MacroLink|Icon=Macro_Extract_Wires_from_Mesh.png|Macro Extract Wires from Mesh|Macro Extract Wires from Mesh}}: Extracts boundary wires from selected meshes
* {{MacroLink|Macro MeshToPart|Macro MeshToPart}}: converts selected meshes to parts
* {{MacroLink|Icon=Macro_MeshToPart.png|Macro MeshToPart|Macro MeshToPart}}: converts selected meshes to parts
* {{MacroLink|Icon=PartToVRML.png|Macro PartToVRML|Macro PartToVRML}}: Converts selected parts to VRML meshes for small size and faster loading (VRML models Kicad and Blender compatible)
* {{MacroLink|Icon=PartToVRML.png|Macro PartToVRML|Macro PartToVRML}}: Converts selected parts to VRML meshes for small size and faster loading (VRML models Kicad and Blender compatible)
* {{MacroLink|Macro FaceToSketch|Macro FaceToSketch}}: Converts the selected Face to a single Sketch without constraints.
* {{MacroLink|Icon=Macro_FaceToSketch.png|Macro FaceToSketch|Macro FaceToSketch}}: Converts the selected Face to a single Sketch without constraints.
* {{MacroLink|Icon=Macro FCWire To Volume.png|Macro FCWire To Volume|Macro FCWire To Volume}}: This macro create boolean operation with the objects selected just select the wires give the thickness and click "Create"
* {{MacroLink|Icon=Macro FCWire To Volume.png|Macro FCWire To Volume|Macro FCWire To Volume}}: This macro create boolean operation with the objects selected just select the wires give the thickness and click "Create"
* {{MacroLink|Icon=Macro_DeepCopy.png|Macro_DeepCopy|Macro DeepCopy}}: Make a compound out of a part with a copy of all its shapes.
* {{MacroLink|Icon=Macro_DeepCopy.png|Macro_DeepCopy|Macro DeepCopy}}: Make a compound out of a part with a copy of all its shapes.
Line 126: Line 125:
<translate>
<translate>
<!--T:106-->
<!--T:106-->
* {{MacroLink|Macro Automatic drawing|Macro Automatic drawing}}: allows the user to get the view of his object in a drawing with 4 different position (front,top,iso,right). Needs some modification to be perfectly effective
* {{MacroLink|Icon=Macro_Automatic_drawing.png|Macro Automatic drawing|Macro Automatic drawing}}: allows the user to get the view of his object in a drawing with 4 different position (front,top,iso,right). Needs some modification to be perfectly effective
* {{MacroLink|Macro CartoucheFC|Macro CartoucheFC}}: This GUI macro to fill simply all fields of the cartridge of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
* {{MacroLink|Icon=Macro_CartoucheFC.png|Macro CartoucheFC|Macro CartoucheFC}}: This GUI macro to fill simply all fields of the cartridge of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
* {{MacroLink|Icon=Macro_CartoucheFC_Full.png|Macro CartoucheFC Full|Macro CartoucheFC Full}}: This GUI macro to fill simply all fields of the cartridge [[Misc_templates_Full|templates_Full]] of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
* {{MacroLink|Icon=Macro_CartoucheFC_Full.png|Macro CartoucheFC Full|Macro CartoucheFC Full}}: This GUI macro to fill simply all fields of the cartridge [[Misc_templates_Full|templates_Full]] of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
* {{MacroLink|Macro CartoucheFC 2|Macro CartoucheFC 2}}: This GUI macro to fill simply all fields of the cartridge '''model 2''' of the plan implementation worksheet FreeCAD.
* {{MacroLink|Icon=Macro_CartoucheFC_2.png|Macro CartoucheFC 2|Macro CartoucheFC 2}}: This GUI macro to fill simply all fields of the cartridge '''model 2''' of the plan implementation worksheet FreeCAD.
* {{MacroLink|Macro Normal Vector|Macro Normal Vector}}: Get the normal vector of a preselected face for creating a drawing view normal to that face
* {{MacroLink|Icon=Macro_Normal_Vector.png|Macro Normal Vector|Macro Normal Vector}}: Get the normal vector of a preselected face for creating a drawing view normal to that face
</translate>
</translate>
</div>
</div>
Line 143: Line 142:
<translate>
<translate>
<!--T:108-->
<!--T:108-->
* {{MacroLink|Macro Rectellipse|Macro Rectellipse}}: creates a parametric rectellipse
* {{MacroLink|Icon=Macro Rectellipse.png|Macro Rectellipse|Macro Rectellipse}}: creates a parametric rectellipse
* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro Make Circle 3 Points|Macro Make Circle 3 Points}}: creates a circle on 3 selected points, the points can be objects (this example brings together the two examples below, all parameters simply settle on a graphic window).
* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro Make Circle 3 Points|Macro Make Circle 3 Points}}: creates a circle on 3 selected points, the points can be objects (this example brings together the two examples below, all parameters simply settle on a graphic window).
* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro Draft Circle 3 Points|Macro Draft Circle 3 Points}}: creates a circle from 3 selected points 2D orthogonal
* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro Draft Circle 3 Points|Macro Draft Circle 3 Points}}: creates a circle from 3 selected points 2D orthogonal
* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro Draft Circle 3 Points 3D|Macro Draft Circle 3 Points 3D}}: creates a circle from 3 selected points in the space 3D
* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro Draft Circle 3 Points 3D|Macro Draft Circle 3 Points 3D}}: creates a circle from 3 selected points in the space 3D
* {{MacroLink|Icon=Macro Make Arc 3 Points.png|Macro Make Arc 3 Points|Macro Make Arc 3 Points}}: creates a arc from 3 selected points
* {{MacroLink|Icon=Macro Make Arc 3 Points.png|Macro Make Arc 3 Points|Macro Make Arc 3 Points}}: creates a arc from 3 selected points
* {{MacroLink|Macro Ellipse-Center+2Points|Macro Ellipse-Center+2Points}} Makes an ellipse by selecting three points (in this order): centre, major radius and minor radius
* {{MacroLink|Icon=Macro_Ellipse-Center%2B2Points.png|Macro Ellipse-Center+2Points|Macro Ellipse-Center+2Points}} Makes an ellipse by selecting three points (in this order): centre, major radius and minor radius
* {{MacroLink|Icon=Macro_FCConvertLines.png|Macro FCConvertLines|Macro FC Convert Lines}}: this macro convert the object line, wire in line Dash, DashDot, DashDotDot,ZigZag and Hand with the dimensions given.
* {{MacroLink|Icon=Macro_FCConvertLines.png|Macro FCConvertLines|Macro FC Convert Lines}}: this macro convert the object line, wire in line Dash, DashDot, DashDotDot,ZigZag and Hand with the dimensions given.
* {{MacroLink|Macro EdgesToArc|Macro EdgesToArc}}: Converts the selected Edges to a circular Arc if possible. Useful for restoring discretized arcs.
* {{MacroLink|Icon=Macro_EdgesToArc.png|Macro EdgesToArc|Macro EdgesToArc}}: Converts the selected Edges to a circular Arc if possible. Useful for restoring discretized arcs.
* {{MacroLink|Macro Creating faces from a DXF file|Macro Creating faces from a DXF file}}: This macro create face from a DXF file, the "Layer" are recognized separate and trained in groups.
* {{MacroLink|Icon=Macro_Creating_faces_from_a_DXF_file.png|Macro Creating faces from a DXF file|Macro Creating faces from a DXF file}}: This macro create face from a DXF file, the "Layer" are recognized separate and trained in groups.
* {{MacroLink|Icon=Macro_DXF_to_Face_and_Sketch.png|Macro DXF to Face and Sketch|Macro DXF to Face and Sketch}}: This macro converts selected elements of imported dxf to face and sketch.
* {{MacroLink|Icon=Macro_DXF_to_Face_and_Sketch.png|Macro DXF to Face and Sketch|Macro DXF to Face and Sketch}}: This macro converts selected elements of imported dxf to face and sketch.
* {{MacroLink|Icon=Macro_Compound_Plus.png|Macro_Compound_Plus|Macro Compound Plus}}: Draf command set in a small macro for the 2D sketch example: work with the DXF files.
* {{MacroLink|Icon=Macro_Compound_Plus.png|Macro_Compound_Plus|Macro Compound Plus}}: Draf command set in a small macro for the 2D sketch example: work with the DXF files.
Line 167: Line 166:
<translate>
<translate>
<!--T:110-->
<!--T:110-->
* {{MacroLink|Macro GMSH|Macro GMSH}}: Create FEM Meshes by GMSH Mesh Generator
* {{MacroLink|Icon=Macro_GMSH.png|Macro GMSH|Macro GMSH}}: Create FEM Meshes by GMSH Mesh Generator
* {{MacroLink|Icon=Text-x-python.png|Macro_export_transient_FEM_results|Macro export transient FEM results}}: This macro exports multiple FEM result objects from a transient analysis to the VTK format and generates a PVU file which can be used to load the results directly into ParaView for post-processing.
</translate>
</translate>
</div>
</div>
Line 184: Line 184:
* {{MacroLink|Icon=Macro_FCInfoGlass.png|Macro FCInfoGlass|Macro FCInfoGlass}}: Gives a series of information about the selected shape and displayed in screen 3D
* {{MacroLink|Icon=Macro_FCInfoGlass.png|Macro FCInfoGlass|Macro FCInfoGlass}}: Gives a series of information about the selected shape and displayed in screen 3D
* {{MacroLink|Icon=FCInfoToMouse.png|Macro FCInfoToMouse|Macro FCInfoToMouse}}: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
* {{MacroLink|Icon=FCInfoToMouse.png|Macro FCInfoToMouse|Macro FCInfoToMouse}}: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
* {{MacroLink|Macro Delta xyz|Macro Delta xyz}}: Gives the Delta values and the distance between 2 points
* {{MacroLink|Icon=Macro_Delta_xyz.png|Macro Delta xyz|Macro Delta xyz}}: Gives the Delta values and the distance between 2 points
* {{MacroLink|Macro ObjectInfo|Macro ObjectInfo}}: User-friendly "Info" module created by a FreeCAD user
* {{MacroLink|Icon=Macro_ObjectInfo.png|Macro ObjectInfo|Macro ObjectInfo}}: User-friendly "Info" module created by a FreeCAD user
* {{MacroLink|Icon=Macro_Dump_Objects.png|Macro Dump Objects|Macro Dump Objects}}: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.
* {{MacroLink|Icon=Macro_Dump_Objects.png|Macro Dump Objects|Macro Dump Objects}}: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.
* {{MacroLink|Icon=Macro_MeasureCircle.png|Macro MeasureCircle|Macro MeasureCircle}}: Compute the radius of a circle by 3 points or a circular edge.
* {{MacroLink|Icon=Macro_MeasureCircle.png|Macro MeasureCircle|Macro MeasureCircle}}: Compute the radius of a circle by 3 points or a circular edge.
* {{MacroLink|Icon=Macro CenterOfMass.png|Macro CenterOfMass|Macro CenterOfMass}}: Gives the total mass and the center of mass of multiple objects selected with the density chosen.
* {{MacroLink|Icon=Macro CenterOfMass.png|Macro CenterOfMass|Macro CenterOfMass}}: Gives the total mass and the center of mass of multiple objects selected with the density chosen.
* {{MacroLink|Macro SimpleProperties|Macro SimpleProperties}}: Display in a concise way basic physical properties of an object (volume, bound box dimensions, ...)
* {{MacroLink|Icon=Macro_SimpleProperties.png|Macro SimpleProperties|Macro SimpleProperties}}: Display in a concise way basic physical properties of an object (volume, bound box dimensions, ...)
</translate>
</translate>
</div>
</div>
Line 202: Line 202:
<translate>
<translate>
<!--T:114-->
<!--T:114-->
* {{MacroLink|Macro screw maker1_2|Macro screw maker1_2}}: This macro creates a screw with or without thread, according to ISO standards ([http://forum.freecadweb.org/viewtopic.php?f=22&t=6088#p48519 screw_maker1_6.py.zip with Pyside support]). [http://forum.freecadweb.org/viewtopic.php?f=22&t=6558&start=30#p95929 (Screw Maker 2.0 - new version!)]
* {{MacroLink|Icon=Macro_screw_maker1_2.png|Macro screw maker1_2|Macro screw maker1_2}}: This macro creates a screw with or without thread, according to ISO standards ([http://forum.freecadweb.org/viewtopic.php?f=22&t=6088#p48519 screw_maker1_6.py.zip with Pyside support]). [http://forum.freecadweb.org/viewtopic.php?f=22&t=6558&start=30#p95929 (Screw Maker 2.0 - new version!)]
* {{MacroLink|Icon=Macro_BOLTS.png|Macro BOLTS|Macro BOLTS}}: The aim of BOLTS is to build a free and open-source standard parts library for CAD applications.
* {{MacroLink|Icon=Macro_BOLTS.png|Macro BOLTS|Macro BOLTS}}: The aim of BOLTS is to build a free and open-source standard parts library for CAD applications.
* {{MacroLink|Icon=FreeCAD Doc.png|Macro PartsLibrary|Macro PartsLibrary}}: Starts the Parts library browser
* {{MacroLink|Icon=FreeCAD Doc.png|Macro PartsLibrary|Macro PartsLibrary}}: Starts the Parts library browser
Line 217: Line 217:
<translate>
<translate>
<!--T:116-->
<!--T:116-->
* {{MacroLink|Macro 3D Parametric Curve|Macro 3D Parametric Curve}}: Draw a function described by parametric equations x(t), y(t) and z(t).
* {{MacroLink|Icon=Macro_3D_Parametric_Curve.png|Macro 3D Parametric Curve|Macro 3D Parametric Curve}}: Draw a function described by parametric equations x(t), y(t) and z(t).
* {{MacroLink|Macro Draw 2D Function|Macro Draw 2D Function}}: draws a function described by an equation z=F(x)
* {{MacroLink|Icon=Macro_Draw_2D_Function.png|Macro Draw 2D Function|Macro Draw 2D Function}}: draws a function described by an equation z=F(x)
* {{MacroLink|Macro Draw Parametric 2D Function|Macro Draw Parametric 2D Function}}: Based on the above macro, but for parametric and optionally polar
* {{MacroLink|Icon=Macro_Draw_Parametric_2D_Function.png|Macro Draw Parametric 2D Function|Macro Draw Parametric 2D Function}}: Based on the above macro, but for parametric and optionally polar
* {{MacroLink|Icon=WF_wf.png|Macro WorkFeatures|Macro WorkFeatures}}: Tool utility : Tab > Wire > Curves And Surfaces {{KEY|Launch Curves and Surfaces Menu ...}}
* {{MacroLink|Icon=WF_wf.png|Macro WorkFeatures|Macro WorkFeatures}}: Tool utility : Tab > Wire > Curves And Surfaces {{KEY|Launch Curves and Surfaces Menu ...}}
equations.
equations.
Line 248: Line 248:
<!--T:120-->
<!--T:120-->
* {{MacroLink|Icon=Macro_makeCube.png|Macro Make Cube|Macro Make Cube}}: creates a [http://en.wikipedia.org/wiki/Cuboid rectangular cuboid] from 4 points
* {{MacroLink|Icon=Macro_makeCube.png|Macro Make Cube|Macro Make Cube}}: creates a [http://en.wikipedia.org/wiki/Cuboid rectangular cuboid] from 4 points
* {{MacroLink|Macro Solid Sweep|Macro Solid Sweep}}: creates a solid by sweeping a 2D profile along a trajectory previously selected in the 3D view. The 2D elements can be created through the regular tools in FreeCAD's GUI.
* {{MacroLink|Icon=Macro_Solid_Sweep.png|Macro Solid Sweep|Macro Solid Sweep}}: creates a solid by sweeping a 2D profile along a trajectory previously selected in the 3D view. The 2D elements can be created through the regular tools in FreeCAD's GUI.
* {{MacroLink|Macro Geodesic Dome|Macro Geodesic Dome}}: This macro creates a geodesic dome shell
* {{MacroLink|Icon=Macro_Geodesic_Dome.svg|Macro Geodesic Dome|Macro Geodesic Dome}}: This macro creates a geodesic dome shell
* {{MacroLink|Macro Line Length|Macro Line Length}}: Create a line giving coordinate XYZ length and angle to plane X Y
* {{MacroLink|Icon=Macro_Line_Length.png|Macro Line Length|Macro Line Length}}: Create a line giving coordinate XYZ length and angle to plane X Y
* {{MacroLink|Macro cutLine|Macro Cut Line}}: Cut a line and create x points, giving the number of points, create line or not, create points or not, create bicolor or not on choice.
* {{MacroLink|Icon=Macro_Cut_Line.png|Macro cutLine|Macro Cut Line}}: Cut a line and create x points, giving the number of points, create line or not, create points or not, create bicolor or not on choice.
* {{MacroLink|Icon=Macro CirclePlus.png|Macro CirclePlus|Macro CirclePlus}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same below but with GUI) plus create sector and face.
* {{MacroLink|Icon=Macro CirclePlus.png|Macro CirclePlus|Macro CirclePlus}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same below but with GUI) plus create sector and face.
* {{MacroLink|Macro circle|Macro Circle}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same above without GUI).
* {{MacroLink|Icon=Macro_Circle.png|Macro circle|Macro Circle}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same above without GUI).
* {{MacroLink|Macro cutCircle|Macro Cut Circle}}: Cut a circle or arc and create x arcs, giving the number of cut.
* {{MacroLink|Icon=Macro_Cut_Circle.png|Macro cutCircle|Macro Cut Circle}}: Cut a circle or arc and create x arcs, giving the number of cut.
* {{MacroLink|Macro triangleAH|Macro Triangle AH}}: This macro create one triangle creates a triangle by giving the head angle and the height of the triangle (the triangle of the head is positioned to the xyz coordinates 0.0)
* {{MacroLink|Icon=Macro_Triangle_AH.png|Macro triangleAH|Macro Triangle AH}}: This macro create one triangle creates a triangle by giving the head angle and the height of the triangle (the triangle of the head is positioned to the xyz coordinates 0.0)
* {{MacroLink|Icon=FCTexture.png|Macro FCTexture|Macro Texture}}: Create a project from a bmp image to create a texture easily
* {{MacroLink|Icon=FCTexture.png|Macro FCTexture|Macro Texture}}: Create a project from a bmp image to create a texture easily
* {{MacroLink|Icon=FCCreaLoft.png|Macro FCCreaLoft|Macro Loft}}: Create a loft with a list of wire (specially created for Macro Texture see above)
* {{MacroLink|Icon=FCCreaLoft.png|Macro FCCreaLoft|Macro Loft}}: Create a loft with a list of wire (specially created for Macro Texture see above)
* {{MacroLink|Icon=FCCircularTextButtom.png|Macro FCCircularText|Macro Circular Text}}: This macro create a text around a cylinder
* {{MacroLink|Icon=FCCircularTextButtom.png|Macro FCCircularText|Macro Circular Text}}: This macro create a text around a cylinder
* {{MacroLink|Macro WireXYZ|Macro WireXYZ}}: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.
* {{MacroLink|Icon=Macro_WireXYZ.png|Macro WireXYZ|Macro WireXYZ}}: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.
* {{MacroLink|Icon=Macro_ReproWire.png|Macro ReproWire|Macro Repro Wire}}: This macro reproduce all element selected subobject wire or face.
* {{MacroLink|Icon=Macro_ReproWire.png|Macro ReproWire|Macro Repro Wire}}: This macro reproduce all element selected subobject wire or face.
* {{MacroLink|Icon=Part_Prism_Apothem.svg|Macro Apothem Based Prism GUI|Macro Apothem Based Prism GUI}}: A GUI dialog that creates an Apothem, (inradius) Based Prism from user input.
* {{MacroLink|Icon=Part_Prism_Apothem.svg|Macro Apothem Based Prism GUI|Macro Apothem Based Prism GUI}}: A GUI dialog that creates an Apothem, (inradius) Based Prism from user input.
* {{MacroLink|Icon=FCSpring_Helix_Variable.png|Macro FCSpring Helix Variable|Macro FCSpring Helix Variable}}: This macro create one spring truncate, the troncature is adjustable on the all coil to choice.
* {{MacroLink|Icon=FCSpring_Helix_Variable.png|Macro FCSpring Helix Variable|Macro FCSpring Helix Variable}}: This macro create one spring truncate, the troncature is adjustable on the all coil to choice.
* {{MacroLink|Macro Guitar fretboard|Macro Guitar fretboard}}: Guitar Fretboard Maker
* {{MacroLink|Icon=Macro_Guitar_fretboard.png|Macro Guitar fretboard|Macro Guitar fretboard}}: Guitar Fretboard Maker
* {{MacroLink|Icon=Cam-groover-icon-32x32.png|Macro FCCamGroover|Macro FCCamGroover}}: Creates grooved cylinder for cam.
* {{MacroLink|Icon=Cam-groover-icon-32x32.png|Macro FCCamGroover|Macro FCCamGroover}}: Creates grooved cylinder for cam.
* {{MacroLink|Macro Site From Contours|Macro Site From Contours}}: creates an Arch Site from a series of contour lines
* {{MacroLink|Icon=Macro_Site_From_Contours.png|Macro Site From Contours|Macro Site From Contours}}: creates an Arch Site from a series of contour lines
* {{MacroLink|Icon=FCHoneycombMakerIcon.png|Macro FCHoneycombMaker|Macro FCHoneycombMaker}}: Creates parametric honeycomb grid.
</translate>
</translate>
</div>
</div>
Line 278: Line 279:
<translate>
<translate>
<!--T:122-->
<!--T:122-->
* {{MacroLink|Macro ArrayCopy|Macro ArrayCopy}}: copies the selected object several times, on an array grid
* {{MacroLink|Icon=Macro_ArrayCopy.png|Macro ArrayCopy|Macro ArrayCopy}}: copies the selected object several times, on an array grid
* {{MacroLink|Macro FlattenWire|Macro FlattenWire}}: flattens draft wires that are not planar to their median Z coordinate
* {{MacroLink|Icon=Macro_FlattenWire.png|Macro FlattenWire|Macro FlattenWire}}: flattens draft wires that are not planar to their median Z coordinate
* {{MacroLink|Macro FlattenWire3Points|Macro FlattenWire3Points}}: flattens draft wires that are not planar to a plane defined by 3 points
* {{MacroLink|Icon=Macro_FlattenWire3Points.png|Macro FlattenWire3Points|Macro FlattenWire3Points}}: flattens draft wires that are not planar to a plane defined by 3 points
* {{MacroLink|Macro JointWire|Macro JointWire}}: allows to find and joint all non connected edge to the closest non connected one using a line
* {{MacroLink|Icon=Macro_JointWire.png|Macro JointWire|Macro JointWire}}: allows to find and joint all non connected edge to the closest non connected one using a line
* {{MacroLink|Macro Remove parametric history|Macro Remove parametric history}}: removes all parametric associativity from an object, leaving it as a "dumb" shape
* {{MacroLink|Icon=Macro_Remove_parametric_history.png|Macro Remove parametric history|Macro Remove parametric history}}: removes all parametric associativity from an object, leaving it as a "dumb" shape
* {{MacroLink|Macro SuperWire|Macro SuperWire}}: Forces the creation of a Wire from lines and arcs that don't necessarily touch each other. Use this if normal wire operation fails
* {{MacroLink|Icon=Macro_SuperWire.png|Macro SuperWire|Macro SuperWire}}: Forces the creation of a Wire from lines and arcs that don't necessarily touch each other. Use this if normal wire operation fails
* {{MacroLink|Macro HealArcs|Macro HealArcs}}: Sometimes arcs are transformed into BSplines, for example when scale operations have been applied to them. This macro recreates valid arcs from them. Useful before exporting to dxf
* {{MacroLink|Icon=Macro_HealArcs.png|Macro HealArcs|Macro HealArcs}}: Sometimes arcs are transformed into BSplines, for example when scale operations have been applied to them. This macro recreates valid arcs from them. Useful before exporting to dxf
* {{MacroLink|Icon=Macro_CloneConvert‎.png|Macro CloneConvert‎|Macro CloneConvert}}: Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base)
* {{MacroLink|Icon=Macro_CloneConvert‎.png|Macro CloneConvert‎|Macro CloneConvert}}: Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base)
* {{MacroLink|Macro Image Scaling|Macro Image Scaling}}: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.
* {{MacroLink|Icon=Image_Scaling.svg|Macro Image Scaling|Macro Image Scaling}}: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.
* {{MacroLink|Macro MatrixTransform|Macro MatrixTransform}}: apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.
* {{MacroLink|Icon=Macro_MatrixTransform.png|Macro MatrixTransform|Macro MatrixTransform}}: apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.
* {{MacroLink|Icon=Macro_Connect_And_Sweep.png|Macro Connect And Sweep|Macro Connect And Sweep}}: This macro easily creates a connection between two objects, an object and a point or between two points (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle
* {{MacroLink|Icon=Macro_Connect_And_Sweep.png|Macro Connect And Sweep|Macro Connect And Sweep}}: This macro easily creates a connection between two objects, an object and a point or between two points or the selected line, wire, edge (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle
* {{MacroLink|Icon=Part_Section‎.png|Macro Section|Macro Section}}: (parametric): alternative implementation of Part Section tool, more suitable for making sweep paths.
* {{MacroLink|Icon=Part_Section‎.png|Macro Section|Macro Section}}: (parametric): alternative implementation of Part Section tool, more suitable for making sweep paths.
* {{MacroLink|Icon=Macro_Overlap.png|Macro Overlap|Macro Overlap}}: (parametric): Boolean operation. Similar to Part Common, but with custom overlap count threshold.
* {{MacroLink|Icon=Macro_Overlap.png|Macro Overlap|Macro Overlap}}: (parametric): Boolean operation. Similar to Part Common, but with custom overlap count threshold.
Line 303: Line 304:
<translate>
<translate>
<!--T:124-->
<!--T:124-->
* {{MacroLink|Macro 3d Printer Slicer|Macro 3d Printer Slicer}}: Exports current design to slicer software or CAM software.
* {{MacroLink|Icon=Macro_3d_Printer_Slicer.png|Macro 3d Printer Slicer|Macro 3d Printer Slicer}}: Exports current design to slicer software or CAM software.
</translate>
</translate>
</div>
</div>
Line 316: Line 317:
<translate>
<translate>
<!--T:126-->
<!--T:126-->
* {{MacroLink|Macro FreeCAD to Kerkythea|Macro FreeCAD to Kerkythea}}: Export from FreeCAD to Kerkythea
* {{MacroLink|Icon=Macro_FreeCAD_to_Kerkythea.png|Macro FreeCAD to Kerkythea|Macro FreeCAD to Kerkythea}}: Export from FreeCAD to Kerkythea
</translate>
</translate>
</div>
</div>
Line 330: Line 331:
<!--T:128-->
<!--T:128-->
* {{MacroLink|Icon=aliasmanager_icon.png|Macro Alias Manager|Macro Alias Manager}}: helps managing aliases inside FreeCAD Spreadsheet workbench. It is able to create, delete, move aliases and create a 'part family' group of files.
* {{MacroLink|Icon=aliasmanager_icon.png|Macro Alias Manager|Macro Alias Manager}}: helps managing aliases inside FreeCAD Spreadsheet workbench. It is able to create, delete, move aliases and create a 'part family' group of files.
* {{MacroLink|Macro SpreadsheetTools|Macro Spreadsheet Tools}}: This macro helps managing cells inside FreeCAD Spreadsheet workbench.
* {{MacroLink|Icon=Macro_SpreadsheetTools.png|Macro SpreadsheetTools|Macro Spreadsheet Tools}}: This macro helps managing cells inside FreeCAD Spreadsheet workbench.
* {{MacroLink|Icon=Macro FCTreeView.png|Macro FCTreeView|Macro FCTreeView}}: Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label .... without case sensitive or with case sensitive and select all objects displayed in the macro window.
* {{MacroLink|Icon=Macro FCTreeView.png|Macro FCTreeView|Macro FCTreeView}}: Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label .... without case sensitive or with case sensitive and select all objects displayed in the macro window.
* {{MacroLink|Icon=Macro_FCSpreadsheet_Extract.png|Macro FCSpreadSheet Extract|Macro FCSpreadSheet Extract}}: This macro save the data in a csv file with the formula or in a xml file.
* {{MacroLink|Icon=Macro_FCSpreadsheet_Extract.png|Macro FCSpreadSheet Extract|Macro FCSpreadSheet Extract}}: This macro save the data in a csv file with the formula or in a xml file.
Line 348: Line 349:
* {{MacroLink|Icon=Macro_Center_Align_Objects_with_Faces_or_Edges.png|Macro Center Align Objects with Faces or Edges|Macro Center Align Objects with Faces or Edges}}: This macro covers the following constraints: - Concentric constraint among non cylindrical parts; - Constraint on center Faces and/or Edges. It works also with the new Body and App::Part containers, as well as with STEP hierarchy.
* {{MacroLink|Icon=Macro_Center_Align_Objects_with_Faces_or_Edges.png|Macro Center Align Objects with Faces or Edges|Macro Center Align Objects with Faces or Edges}}: This macro covers the following constraints: - Concentric constraint among non cylindrical parts; - Constraint on center Faces and/or Edges. It works also with the new Body and App::Part containers, as well as with STEP hierarchy.
* {{MacroLink|Icon=Macro_Easy_Cutouts_for_Enclosures.png|Macro Easy cutouts for Enclosure Design|Macro Easy cutouts for Enclosure Design}}: This macro makes Cutouts for Enclosures in a very handy way
* {{MacroLink|Icon=Macro_Easy_Cutouts_for_Enclosures.png|Macro Easy cutouts for Enclosure Design|Macro Easy cutouts for Enclosure Design}}: This macro makes Cutouts for Enclosures in a very handy way
* {{MacroLink|Macro MacroMenu|Macro MacroMenu}}: Add the macros found in the macros folder to the Macros menu of FreeCAD
* {{MacroLink|Icon=Macro_MacroMenu.png|Macro MacroMenu|Macro MacroMenu}}: Add the macros found in the macros folder to the Macros menu of FreeCAD
* {{MacroLink|Icon=Force_Recompute.png|Macro ForceRecompute|Macro ForceRecompute}}: Forces manual recompute of model
* {{MacroLink|Icon=Force_Recompute.png|Macro ForceRecompute|Macro ForceRecompute}}: Forces manual recompute of model
* {{MacroLink|Macro Recompute Profiler|Macro Recompute Profiler}}: measures time it takes to recompute each object in a project
* {{MacroLink|Icon=Macro_Recompute_Profiler.png|Macro Recompute Profiler|Macro Recompute Profiler}}: measures time it takes to recompute each object in a project
* {{MacroLink|Macro Shake Sketch|Macro Shake Sketch}}: Shake a sketch in order to discover its unconstrained parts.
* {{MacroLink|Icon=Macro_Shake_Sketch.png|Macro Shake Sketch|Macro Shake Sketch}}: Shake a sketch in order to discover its unconstrained parts.
* {{MacroLink|Icon=Replace_Part.png|Macro Replace Part in Assembly|Macro Replace Part in Assembly}}: Replaces a part (simple copy) in an "Assembly" with another Part (simple copy).
* {{MacroLink|Icon=Replace_Part.png|Macro Replace Part in Assembly|Macro Replace Part in Assembly}}: Replaces a part (simple copy) in an "Assembly" with another Part (simple copy).
* {{MacroLink|Icon=Macro_Toggle_Drawstyle.png|Macro Toggle Drawstyle|Macro Toggle Drawstyle}}: This macro toggles the Drawstyle of the selected object
* {{MacroLink|Icon=Macro_Toggle_Drawstyle.png|Macro Toggle Drawstyle|Macro Toggle Drawstyle}}: This macro toggles the Drawstyle of the selected object
* {{MacroLink|Icon=Macro_Toggle_Drawstyle_Optimized.png|Macro Toggle Drawstyle Optimized|Macro Toggle Drawstyle Optimized}}: This macro toggles the Drawstyle of the selected object (same Macro Toggle Drawstyle above optimized all language)
* {{MacroLink|Macro HighlightCommon|Macro HighlightCommon}}: Highlight common parts.
* {{MacroLink|Icon=Macro_HighlightCommon.png|Macro HighlightCommon|Macro HighlightCommon}}: Highlight common parts.
* {{MacroLink|Icon=HighlightDifference.png|Macro HighlightDifference|Macro HighlightDifference}}: Compute the difference between two shapes.
* {{MacroLink|Icon=HighlightDifference.png|Macro HighlightDifference|Macro HighlightDifference}}: Compute the difference between two shapes.
* {{MacroLink|Macro cross section|Macro cross section}}: displays an interactively slidable cross-section.
* {{MacroLink|Icon=Macro_cross_section.png|Macro cross section|Macro cross section}}: displays an interactively slidable cross-section.
* {{MacroLink|Macro Print_SceneGraph|Macro Print_SceneGraph}}: prints the SceneGraph.
* {{MacroLink|Icon=Macro_Print_SceneGraph.png|Macro Print_SceneGraph|Macro Print_SceneGraph}}: prints the SceneGraph.
* {{MacroLink|Icon=BoundBoxTracing.png|Macro BoundingBox Tracing|Macro BoundingBox Tracing}}: This macro red trace (editable) around the BoundingBox with 6 rectangles
* {{MacroLink|Icon=BoundBoxTracing.png|Macro BoundingBox Tracing|Macro BoundingBox Tracing}}: This macro red trace (editable) around the BoundingBox with 6 rectangles
* {{MacroLink|Macro Arch Axis System Repartition|Macro Arch Axis System Repartition}}: This macro help you to create an Arch Axis System along a line with a
* {{MacroLink|Icon=Macro_Arch_Axis_System_Repartition.png|Macro Arch Axis System Repartition|Macro Arch Axis System Repartition}}: This macro help you to create an Arch Axis System along a line with a
* {{MacroLink|Icon=Macro Perpendicular To Wire.png|Macro Perpendicular To Wire|Macro Perpendicular To Wire}}: This macro positioned your object perpendicularly to wire selected.
* {{MacroLink|Icon=Macro Perpendicular To Wire.png|Macro Perpendicular To Wire|Macro Perpendicular To Wire}}: This macro positioned your object perpendicularly to wire selected.
* {{MacroLink|Macro merge duplicate materials|Macro merge duplicate materials}}: Merges materials that have the same base name (with different numeral endings like 001, 002,...) into one.
* {{MacroLink|Icon=Macro_merge_duplicate_materials.png|Macro merge duplicate materials|Macro merge duplicate materials}}: Merges materials that have the same base name (with different numeral endings like 001, 002,...) into one.
* {{MacroLink|Macro Unbind Numpad Shortcuts|Macro Unbind Numpad Shortcuts}}: rebinds standard view commands from digit keys to Ctrl+digit, so that they don't spin the view by accident when entering numbers.
* {{MacroLink|Icon=Macro_Unbind_Numpad_Shortcuts.png|Macro Unbind Numpad Shortcuts|Macro Unbind Numpad Shortcuts}}: rebinds standard view commands from digit keys to Ctrl+digit, so that they don't spin the view by accident when entering numbers.
* {{MacroLink|Macro findConfigFiles|Macro findConfigFiles}}: finds user config files system.cfg and user.cfg, copies folder location to system clipboard, instructs user on renaming these files in order to reset FreeCAD settings, and opens folder with default file browser.
* {{MacroLink|Icon=Macro_findConfigFiles.png|Macro findConfigFiles|Macro findConfigFiles}}: finds user config files system.cfg and user.cfg, copies folder location to system clipboard, instructs user on renaming these files in order to reset FreeCAD settings, and opens folder with default file browser.
* {{MacroLink|Icon=Snip.png|Macro Snip|Macro Snip}}: Easily post screenshots to the FreeCAD forum.
* {{MacroLink|Macro SketchUnmap|Macro SketchUnmap}}: unmap a sketch from its current support and makes its placement absolute, eventually creating a locating datum plane.
* {{MacroLink|Macro PlacementAbsolufy|Macro PlacementAbsolufy}}: reset Part containers to global origin while maintaining objects absolute position.
* {{MacroLink|Icon=SketchUnmap.svg|Macro SketchUnmap|Macro SketchUnmap}}: unmap a sketch from its current support and makes its placement absolute, eventually creating a locating datum plane.
* {{MacroLink|Icon=Macro_PlacementAbsolufy.png|Macro PlacementAbsolufy|Macro PlacementAbsolufy}}: reset Part containers to global origin while maintaining objects absolute position.
* {{MacroLink|Macro StraightenObject|Macro StraightenObject}}: re-align object(s) with FreeCAD coordinate system according reference face/edge
* {{MacroLink|Icon=Macro_StraightenObject.png|Macro StraightenObject|Macro StraightenObject}}: re-align object(s) with FreeCAD coordinate system according reference face/edge
* {{MacroLink|Icon=Macro_Visibility_Manager.png|Macro_Visibility_Manager|Macro_Visibility_Manager}}: manage visibility of document objects by type or individually
</translate>
</translate>
</div>
</div>
Line 379: Line 383:
<translate>
<translate>
<!--T:132-->
<!--T:132-->
* {{MacroLink|Macro Sheet Metal Unfolder|Macro Sheet Metal Unfolder}}: Creates an unfolded part from a sheet-metal-part.
* {{MacroLink|Icon=Macro_Sheet_Metal_Unfolder.png|Macro Sheet Metal Unfolder|Macro Sheet Metal Unfolder}}: Creates an unfolded part from a sheet-metal-part.
* {{MacroLink|Macro Unroll Ruled Surface|Macro Unroll Ruled Surface}}: allows to unroll ruled surfaces and to draw them on a page.
* {{MacroLink|Icon=Macro_Unroll_Ruled_Surface.png|Macro Unroll Ruled Surface|Macro Unroll Ruled Surface}}: allows to unroll ruled surfaces and to draw them on a page.
* {{MacroLink|Macro Unfold Box|Macro Unfold Box}}: allows to unfold the surfaces of a box of any shape and to draw them on a page.
* {{MacroLink|Icon=Macro_Unfold_Box.png|Macro Unfold Box|Macro Unfold Box}}: allows to unfold the surfaces of a box of any shape and to draw them on a page.
* {{MacroLink|Macro Airfoil Import & Scale|Macro Airfoil Import & Scale}}: Imports and scales a .dat airfoil to desired chord length.
* {{MacroLink|Icon=Macro_Airfoil_Import_&_Scale.png|Macro Airfoil Import & Scale|Macro Airfoil Import & Scale}}: Imports and scales a .dat airfoil to desired chord length.
* {{MacroLink|Icon=GW_Dim.png|Macro Geneva Wheel|Macro Geneva Wheel}}: Allows the user to create a Geneva wheel mechanism from scratch. Must edit values within the Macro to alter the size of the object.
* {{MacroLink|Icon=GW_Dim.png|Macro Geneva Wheel|Macro Geneva Wheel}}: Allows the user to create a Geneva wheel mechanism from scratch. Must edit values within the Macro to alter the size of the object.
* {{MacroLink|Icon=GW_Dim.png|Macro Geneva Wheel GUI|Macro Geneva Wheel GUI}}: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.
* {{MacroLink|Icon=GW_Dim.png|Macro Geneva Wheel GUI|Macro Geneva Wheel GUI}}: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.
* {{MacroLink|Icon=Cabinets32.png|Macro Cabinets32|Macro Cabinets32}}: creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.
* {{MacroLink|Icon=Macro_Cabinets32.png|Macro Cabinets32|Macro Cabinets32}}: creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.
* {{MacroLink|Macro Half_turn_stairs|Macro Half_turn_stairs}}: Creates a half turn (left/right) stair from a Data-file.
* {{MacroLink|Icon=Macro Half_turn_stairs.png|Macro Half turn stairs|Macro Half turn stairs}}: Creates a half turn (left/right) stair from a Data-file.
* {{MacroLink|Icon=Macro_Half_Hull_Model.png|Macro Half-Hull Model|Macro Half-Hull Model}}: This macro generates both three dimensional [http://en.wikipedia.org/wiki/Half_hull_model_ship half-hull] and full-hull models from a series of 2D line drawings.
* {{MacroLink|Icon=Macro_Half_Hull_Model.png|Macro Half-Hull Model|Macro Half-Hull Model}}: This macro generates both three dimensional [http://en.wikipedia.org/wiki/Half_hull_model_ship half-hull] and full-hull models from a series of 2D line drawings.
* {{MacroLink|Macro Stairs|Macro Stairs}}: Create stair helix, create your stair nosing select and run the macro.
* {{MacroLink|Icon=Macro_Stairs.png|Macro Stairs|Macro Stairs}}: Create stair helix, create your stair nosing select and run the macro.
* {{MacroLink|Icon=Gearworkbech.png|Macro FCGear|Macro FCGear}}: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.
* {{MacroLink|Icon=Gearworkbech.png|Macro FCGear|Macro FCGear}}: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.
* {{MacroLink|Macro Corner shapes wizard|Macro Corner shapes wizard}}: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
* {{MacroLink|Icon=Macro_Corner_shapes_wizard.png|Macro Corner shapes wizard|Macro Corner shapes wizard}}: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
* {{MacroLink|Icon=Macro_Corner_shapes_wizard.png|Macro_Corner_shapes_wizard/update|Macro Corner shapes wizard/update}}: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
* {{MacroLink|Icon=PropertyMemo.png|Macro PropertyMemo|Macro PropertyMemo}}: This little macro create one Property additional (memo or other text) for you object (only Draft)
* {{MacroLink|Icon=PropertyMemo.png|Macro PropertyMemo|Macro PropertyMemo}}: This little macro create one Property additional (memo or other text) for you object (only Draft)
* {{MacroLink|Icon=Macro Fonts Win10 PYMP.png|Macro Fonts Win10 PYMP|Macro Fonts Win10 PYMP}}: This little macro is dedicate to users of Windows 10. The explorer fonts for use the ShapeString is empty and this little macro can help you see aesily the font to use.
* {{MacroLink|Icon=Macro Fonts Win10 PYMP.png|Macro Fonts Win10 PYMP|Macro Fonts Win10 PYMP}}: This little macro is dedicate to users of Windows 10. The explorer fonts for use the ShapeString is empty and this little macro can help you see aesily the font to use.
* {{MacroLink|Icon=Macro_Rubik_Cube.png|Macro Rubik Cube|Macro Rubik Cube}}: Display a Rubik Cube and interactively do slice rotations.
* {{MacroLink|Icon=Macro_Megaminx.png|Macro Megaminx|Macro Megaminx}}: Display a Megaminx and interactively do slice rotations.

</translate>
</translate>
</div>
</div>

Revision as of 20:11, 30 August 2019

Macros

This page contains macros that add functionality to a FreeCAD installation.

If you wrote a macro, and want to include it in the categories in this page, see macro documentation to learn about properly documenting the macro.

Categories

3D View operations

Animation

Code and Scripting

  • Macro MessageBox: shows how to give information to the user through the GUI.
  • Qt Example: example of using Qt commands, their connections, extraction and data assignment.
  • Macro Python Assistant Window: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.
  • Macro Build Utility: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
  • Macro Global Variable Watcher: This macro facilitates the user selecting global variables and monitoring their values.
  • Macro clone explicit: creates a copy of each selected object and sets its properties to an expression linking to the original object, making it an explicit and editable clone.

Conversion

Drawing Workbench

The Drawing Workbench is considered obsolete since FreeCAD 0.17. Consider using the TechDraw Workbench instead.

  • Macro Automatic drawing: allows the user to get the view of his object in a drawing with 4 different position (front,top,iso,right). Needs some modification to be perfectly effective
  • Macro CartoucheFC: This GUI macro to fill simply all fields of the cartridge of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
  • Macro CartoucheFC Full: This GUI macro to fill simply all fields of the cartridge templates_Full of the plan implementation worksheet FreeCAD, the format of the date and the symbol of the projection mode adapt to the EU region or US selected.
  • Macro CartoucheFC 2: This GUI macro to fill simply all fields of the cartridge model 2 of the plan implementation worksheet FreeCAD.
  • Macro Normal Vector: Get the normal vector of a preselected face for creating a drawing view normal to that face

Dxf 2D Draft

Fem

  • Macro GMSH: Create FEM Meshes by GMSH Mesh Generator
  • Macro export transient FEM results: This macro exports multiple FEM result objects from a transient analysis to the VTK format and generates a PVU file which can be used to load the results directly into ParaView for post-processing.

Info and measures

  • Macro FCInfo: Gives a series of information about the selected shape and can display a conversion of length, inclination (degrees, radian, grade) shape, surface, volume and the weight of the form in the density selected in various international and Anglo-Saxon units
  • Macro FCInfo Alternate Linux: same as above, but for Linux
  • Macro FCInfoGlass: Gives a series of information about the selected shape and displayed in screen 3D
  • Macro FCInfoToMouse: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
  • Macro Delta xyz: Gives the Delta values and the distance between 2 points
  • Macro ObjectInfo: User-friendly "Info" module created by a FreeCAD user
  • Macro Dump Objects: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.
  • Macro MeasureCircle: Compute the radius of a circle by 3 points or a circular edge.
  • Macro CenterOfMass: Gives the total mass and the center of mass of multiple objects selected with the density chosen.
  • Macro SimpleProperties: Display in a concise way basic physical properties of an object (volume, bound box dimensions, ...)

Libraries

Mathematical functions

equations.

Multifunctional

  • Macro WorkFeatures: Tool utility to create plans of the axes, planes from 3 points, axes on a form, information on the coordinates of the shape and many other useful features to facilitate the creation of your project. This utility is up next in the combo view.

Object creation

  • Macro Make Cube: creates a rectangular cuboid from 4 points
  • Macro Solid Sweep: creates a solid by sweeping a 2D profile along a trajectory previously selected in the 3D view. The 2D elements can be created through the regular tools in FreeCAD's GUI.
  • Macro Geodesic Dome: This macro creates a geodesic dome shell
  • Macro Line Length: Create a line giving coordinate XYZ length and angle to plane X Y
  • Macro Cut Line: Cut a line and create x points, giving the number of points, create line or not, create points or not, create bicolor or not on choice.
  • Macro CirclePlus: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same below but with GUI) plus create sector and face.
  • Macro Circle: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same above without GUI).
  • Macro Cut Circle: Cut a circle or arc and create x arcs, giving the number of cut.
  • Macro Triangle AH: This macro create one triangle creates a triangle by giving the head angle and the height of the triangle (the triangle of the head is positioned to the xyz coordinates 0.0)
  • Macro Texture: Create a project from a bmp image to create a texture easily
  • Macro Loft: Create a loft with a list of wire (specially created for Macro Texture see above)
  • Macro Circular Text: This macro create a text around a cylinder
  • Macro WireXYZ: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.
  • Macro Repro Wire: This macro reproduce all element selected subobject wire or face.
  • Macro Apothem Based Prism GUI: A GUI dialog that creates an Apothem, (inradius) Based Prism from user input.
  • Macro FCSpring Helix Variable: This macro create one spring truncate, the troncature is adjustable on the all coil to choice.
  • Macro Guitar fretboard: Guitar Fretboard Maker
  • Macro FCCamGroover: Creates grooved cylinder for cam.
  • Macro Site From Contours: creates an Arch Site from a series of contour lines
  • Macro FCHoneycombMaker: Creates parametric honeycomb grid.

Object transformation

  • Macro ArrayCopy: copies the selected object several times, on an array grid
  • Macro FlattenWire: flattens draft wires that are not planar to their median Z coordinate
  • Macro FlattenWire3Points: flattens draft wires that are not planar to a plane defined by 3 points
  • Macro JointWire: allows to find and joint all non connected edge to the closest non connected one using a line
  • Macro Remove parametric history: removes all parametric associativity from an object, leaving it as a "dumb" shape
  • Macro SuperWire: Forces the creation of a Wire from lines and arcs that don't necessarily touch each other. Use this if normal wire operation fails
  • Macro HealArcs: Sometimes arcs are transformed into BSplines, for example when scale operations have been applied to them. This macro recreates valid arcs from them. Useful before exporting to dxf
  • Macro CloneConvert: Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base)
  • Macro Image Scaling: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.
  • Macro MatrixTransform: apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.
  • Macro Connect And Sweep: This macro easily creates a connection between two objects, an object and a point or between two points or the selected line, wire, edge (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle
  • Macro Section: (parametric): alternative implementation of Part Section tool, more suitable for making sweep paths.
  • Macro Overlap: (parametric): Boolean operation. Similar to Part Common, but with custom overlap count threshold.

Printer 3D

Raytracing

Spreadsheet Workbench

  • Macro Alias Manager: helps managing aliases inside FreeCAD Spreadsheet workbench. It is able to create, delete, move aliases and create a 'part family' group of files.
  • Macro Spreadsheet Tools: This macro helps managing cells inside FreeCAD Spreadsheet workbench.
  • Macro FCTreeView: Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label .... without case sensitive or with case sensitive and select all objects displayed in the macro window.
  • Macro FCSpreadSheet Extract: This macro save the data in a csv file with the formula or in a xml file.

Utility

Wizards

  • Macro Sheet Metal Unfolder: Creates an unfolded part from a sheet-metal-part.
  • Macro Unroll Ruled Surface: allows to unroll ruled surfaces and to draw them on a page.
  • Macro Unfold Box: allows to unfold the surfaces of a box of any shape and to draw them on a page.
  • Macro Airfoil Import & Scale: Imports and scales a .dat airfoil to desired chord length.
  • Macro Geneva Wheel: Allows the user to create a Geneva wheel mechanism from scratch. Must edit values within the Macro to alter the size of the object.
  • Macro Geneva Wheel GUI: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.
  • Macro Cabinets32: creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.
  • Macro Half turn stairs: Creates a half turn (left/right) stair from a Data-file.
  • Macro Half-Hull Model: This macro generates both three dimensional half-hull and full-hull models from a series of 2D line drawings.
  • Macro Stairs: Create stair helix, create your stair nosing select and run the macro.
  • Macro FCGear: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.
  • Macro Corner shapes wizard: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
  • Macro Corner shapes wizard/update: pops up a dialog asking for the dimensions of your corner piece, then creates the object in the document and creates a page view with top, front and lateral views of the piece
  • Macro PropertyMemo: This little macro create one Property additional (memo or other text) for you object (only Draft)
  • Macro Fonts Win10 PYMP: This little macro is dedicate to users of Windows 10. The explorer fonts for use the ShapeString is empty and this little macro can help you see aesily the font to use.
  • Macro Rubik Cube: Display a Rubik Cube and interactively do slice rotations.
  • Macro Megaminx: Display a Megaminx and interactively do slice rotations.

Other interesting macros created by FreeCAD users

  • By microelly2 : freeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, and more.
  • By hamish2014: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, and more.
  • By triplus: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, and more.
  • By rockn: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, and more.
  • By oddtopus: flamingo (workbench for metal structures).
  • By dprojects: getDimensions FreeCAD macro to get chipboards dimensions to cut (woodworking).
  • By Siardeni: workbench for create metal profiles, square tubing, z profile, palette, rotation, drawing, and more.
  • By realthunder: Assembly3 workbench, and more.


How to use

See how to install macros for a full description, and customize toolbars to add the macros to a toolbar for easy access.

Installing many macros is equivalent to installing a new workbench; see how to install additional workbenches for this information.

Automatic installation

Starting with FreeCAD 0.17, use the Addon Manager in Tools → Addon manager to install a macro that has been included in the FreeCAD-macros repository.

Manual installation

If the Addon Manager is not used, the macro can be installed manually.

  • Copy the Python code from the corresponding macro page.
  • Open the macros menu Macro → Macros, press Create, and give it a name.
  • Paste the Python code that you copied.
  • Press the Save button, and restart FreeCAD.
  • To use it, open again the macros menu, select your new macro, and press Execute.

Add a macro to a custom toolbar

  • Go to Tools → Customize.
  • In the Macros tab, add a new macro name, and optionally define an icon and a keyboard shortcut.
  • In the Toolbars tab, create a new toolbar, and add your macro, taking it from the Macros category.