![]() This system also uses the Python console, by simply recording everything that is done in it. ![]() By leaving the Python console open, you can literally see the Python code unfold as you work, and in no time, almost without knowing it, you will be learning some Python language.įreeCAD also has a macros system, which allows you to record actions to be replayed later. It is often useful to perform operations for which there is no toolbar button yet, or to check shapes for problems, or to perform repetitive tasks:īut the Python console also has another very important use: Every time you press a toolbar button, or perform other operations in FreeCAD, some Python code is printed in the console and executed. FreeCAD has an advanced Python console, available from menu View->Panels->Python console. Some workbenches of FreeCAD and most of the addon workbenches are fully programmed in Python. You can, for example, create new objects, modify their geometry, analyze their contents, or even create new interface controls, tools and panels. With it, you can access and control almost any feature of FreeCAD. ![]() You will be able to use it in many other applications, such as Blender, Inkscape or GRASS.įreeCAD makes extensive use of Python. It is embedded in many other applications, which makes it a very valuable tool to learn. It also has a series of features that makes it specially interesting for us FreeCAD users: It is very easy to learn, specially for people who have never programmed before. Python is a widely popular, open-source programming language, very often used as a scripting language, embedded in applications, as is the case with FreeCAD.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |