Macro dialog, listing the macros available in the system You can now access the macro dialog with the edit button. When you are done, click the stop recording button, and your actions will be saved. It is very simple to use: Press the record button, you will be asked to give a name to your macro, then perform some actions. On it you have 4 buttons: Record, stop recording, edit and play the current macro. The main tool for making macros is the macros toolbar. ![]() Those commands are what can be recorded in a macro. You will see that in FreeCAD, every action you do, such as pressing a button, outputs a Python command. In particular, you should start with these pages:Įnable the console output in the menu Edit → Preferences → Python → Macro → Show scripts commands in python console. See the Power users hub to learn more about the Python programming language, and about writing macros. A collection of macros written by experienced users is found in the macros recipes page. py extension, FreeCAD macros should have the. Since macros are in reality a list of Python commands, you can also edit them, and create very complex scripts. You simply record actions as you do them, then save those actions under a name, and replay them whenever you want. Macros are a convenient way to reproduce complex actions in FreeCAD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |