Scripting and macros: Difference between revisions

From FreeCAD Documentation
(Added Part_scripting to the list.)
(Marked this version for translation)
(12 intermediate revisions by one other user not shown)
Line 4: Line 4:
<!--T:6-->
<!--T:6-->
{{Docnav
{{Docnav
|[[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
|[[Dialog_creation|Dialog creation]]
|[[Licence|Licence]]
|[[Licence|Licence]]
}}
}}


==Overview of Python scripting pages== <!--T:7-->
<!--T:1-->

* [[Macros|Macros]]: Introduction to macros.
<!--T:8-->
* [[Introduction_to_Python|Introduction to Python]]: Introduction to Python for beginners.
* Python related pages in the Manual:
* [[Python_scripting_tutorial|Python scripting tutorial]]: Introduction to python scripting in FreeCAD.
** [[Manual:A_gentle_introduction|A gentle introduction]]
* [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]: Introduction to python scripting in FreeCAD.
** [[Manual:Creating_and_manipulating_geometry|Creating and manipulating geometry]]
* [[Part_scripting|Part scripting]]: Introduction to Part scripting.
** [[Manual:Creating_parametric_objects|Creating parametric objects]]
* [[Topological_data_scripting|Topological data scripting]]: Basic shape manipulation examples.
** [[Manual:Creating_interface_tools|Creating interface tools]]
* [[Mesh_Scripting|Mesh Scripting]]: Introduction to Mesh scripting.

* [[Mesh_to_Part|Mesh to Part]]: Some basic Mesh- to-Part and Part-to-Mesh examples.
<!--T:9-->
* [[Pivy]]: Introduction to Pivy.
* Basics:
* [[FeaturePython_Objects|FeaturePython Objects]]: Create a FeaturePython object part I.
** [[Macros|Working with macros]]
* [[Creating_a_FeaturePython_Box,_Part_II|Creating a FeaturePython Box, Part II]]: Create a FeaturePython object part II.
** [[Scripts|Script tutorial]]
* [[Scripted_objects|Scripted objects]]: How to make 100% python-scripted objects in FreeCAD.
** [[Introduction_to_Python|Introduction to Python]]
* [[Embedding_FreeCAD|Embedding FreeCAD]]: How to import FreeCAD as a python module in other applications.
** [[Python_scripting_tutorial|Python scripting tutorial]]
* [[Code_snippets|Code snippets]]: Pieces of code to serve as ingredients in your scripts.
** [[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
* [[Line_drawing_function|Line drawing function]]: How to build a simple tool to draw lines.

* [[Dialog_creation|Dialog creation]]: How to construct dialogs with Qt designer, and use them in FreeCAD.
<!--T:10-->
* [[Macros_recipes|Macros recipes]]: Examples of macro scripts.
* Built-in workbench related:
* [[Python_Development_Environment|Python Development Environment]]: A simple Development Environment for Python within FreeCAD.
** [[Drawing_API_example|Drawing scripting]] ({{Emphasis|the Drawing workbench is obsolete}})
* [[Debugging|Debugging]]: Information about debugging.
** [[FEM_Tutorial_Python|FEM scripting]]
** [[Mesh_Scripting|Mesh scripting]]
** [[Mesh_to_Part|Mesh: Converting between Meshes and Parts]]
** [[Part_scripting|Part scripting]]
** [[Topological_data_scripting|Part: Basic shape manipulation]]
** [[Scripted_Parts:_Ball_Bearing_-_Part_1|Part: Create a ball bearing part I]]
** [[Scripted_Parts:_Ball_Bearing_-_Part_2|Part: Create a ball bearing part II]]
** [[Path_scripting|Path scripting]]
** [[Raytracing_API_example|Raytracing scripting]] ({{Emphasis|the Raytracing workbench is obsolete}})

<!--T:11-->
* FeaturePython objects (also called 'scripted objects'):
** [[FeaturePython_Objects|Create a FeaturePython object part I]]
** [[Creating_a_FeaturePython_Box,_Part_II|Create a FeaturePython object part II]]
** [[Scripted_objects|Scripted objects]]
** [[Scripted_objects_saving_attributes|Scripted objects saving attributes]]
** [[Scripted_objects_migration|Scripted objects migration]]
** [[Scripted_objects_with_attachment|Scripted objects with attachment]]
** [[Viewprovider|Viewprovider]]
** [[Custom_icon_in_tree_view|Custom icon in tree view]]
** [[Property|Properties]]
** [[FeaturePython_methods|Methods]]

<!--T:12-->
* [[3D_view|3D view]]:
** [[Scenegraph|The Coin scenegraph]]
** [[Pivy|Pivy]]

<!--T:13-->
* User interface:
** [[PySide|PySide]]
** [[PySide_Beginner_Examples|PySide beginner examples]]
** [[PySide_Intermediate_Examples|PySide intermediate examples]]
** [[PySide_Advanced_Examples|PySide advanced examples]]
** [[PySide_usage_snippets|PySide usage snippets]]
** [[Interface_creation|Interface creation]]
** [[Interface_creation_with_UI_files|Interface creation with UI files]]
** [[Dialog_creation|Dialog creation]]
** [[Dialog_creation_with_various_widgets|Dialog creation with various widgets]]
** [[Dialog_creation_reading_and_writing_files|Dialog creation reading and writing files]]
** [[Dialog_creation_setting_colors|Dialog creation setting colors]]
** [[Dialog_creation_image_and_animated_GIF|Dialog creation image and animated GIF]]
** [[Qt_Example|Qt Example]]

<!--T:14-->
* Snippets and examples:
** [[Command|Define a command]]
** [[Workbench_creation|Workbench creation]]
** [[Module_Creation|Module (=workbench) creation]]
** [[Code_snippets|Code snippets]]
** [[Macros_recipes|Macros recipes]]
** [[Line_drawing_function|Line drawing function]]
** [[Piffpoof_Macro_Half-Hull_Model|Macro Half-Hull Model]]

<!--T:15-->
* Miscellaneous:
** [[Debugging]]
** [[Embedding_FreeCAD|Embedding FreeCAD]]
** [[Embedding_FreeCADGui|Embedding FreeCADGui]]
** [[Extra_python_modules|Extra python modules]]
** [[FreeCAD_vector_math_library|FreeCAD vector math library]]
** [[How_to_install_macros|How to install macros]]
** [[IPython_notebook_integration|IPython notebook integration]]
** [[Macro_at_Startup|Macro at startup]]
** [[Profiling]]
** [[Python]]
** [[PythonOCC]]
** [[Python_Development_Environment|Python development environment]]
** [[Quantity]]
** [[Svg_Namespace|Svg namespace]]



<!--T:3-->
<!--T:3-->
{{Docnav
{{Docnav
|[[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
|[[Dialog_creation|Dialog creation]]
|[[Licence|Licence]]
|[[Licence|Licence]]
}}
}}

Revision as of 12:00, 24 August 2020

Overview of Python scripting pages