Difference between revisions of "Custom macros"

From Wiki.OSArch
(Add a external link to macros page)
m (add a description)
Line 1: Line 1:
  
 
== FreeCAD Custom Macros ==
 
== FreeCAD Custom Macros ==
This is a list with examples of FreeCAD files that includes Page Layouts made with TechDraw Workbench for Architecture projects. You can download these files for studying to replicate or to develop your own workflow.
+
Macros are a convenient way to reproduce complex actions in FreeCAD. You simply record actions as you do them, then save those actions under a name, and replay them whenever you want. Since macros are in reality a list of Python commands, you can also edit them, and create very complex scripts.
[https://wiki.freecadweb.org/TechDraw_Workbench TechDraw WB] is a module of FreeCAD originally for mechanical design drawings. There are some features for Architecture, but TechDraw has little control on them. This is the reason why it is necessary to document workflows that allow to elaborate drawings for a more complex technical documentation, commonly used in areas of AEC industry. In the future, FreeCAD developers will improve and optimize these workflows in new FreeCAD versions.
+
Here you can find a list of FreeCAD Macros useful for AEC projects.
  
 
=== FreeCAD files ===
 
=== FreeCAD files ===

Revision as of 11:03, 5 November 2023

FreeCAD Custom Macros

Macros are a convenient way to reproduce complex actions in FreeCAD. You simply record actions as you do them, then save those actions under a name, and replay them whenever you want. Since macros are in reality a list of Python commands, you can also edit them, and create very complex scripts. Here you can find a list of FreeCAD Macros useful for AEC projects.

FreeCAD files

Project Description
Freecad TechDrawWB.png File:FC Bathroom.fcstd

FreeCAD file with a 3D model of bathroom and 3 possible layouts made with TechDraw WB

2DDrawingFC01.png File:FreeCAD House RenovationBlueprints.fcstd

FreeCAD file with layouts of a house renovation made with TechDraw WB

FC FurnitureCompound.png File:FurnitureCompound.fcstd

FreeCAD file with a 3D object (furniture) linked to a 2D projection. You can turn on/off the 3D model and keep visible the 2D projection in the tridimensional space or in the TechDraw page. This workflow uses App Link objects. See below a description of this workflow.

Freecad dLabel.png File:Dlabel for Shape2d.fcstd

FreeCAD file with a window object 2D projection, linked to a Draft label. If you change the information or model of the window 3D object, the label in the 2D projection will update automatically.

FreecadDlabel.png File:Dlabel on Shape2d V2.fcstd

New version of a FreeCAD file with a window object 2D projection, linked to a Draft label. If you change the information or model of the window 3D object, the label in the 2D projection will update automatically.

External references

Icon FreeCAD.png This page is FreeCAD documentation. Full documentation is available at the FreeCAD documentation wiki. All articles in the OSArch wiki related to FreeCAD can be seen in the FreeCAD Category