Scripting and macros: Difference between revisions

From FreeCAD Documentation
No edit summary
(Removed Piffpoof_Macro_Half-Hull_Model link. Obsolete version of macro.)
 
(20 intermediate revisions by 4 users not shown)
Line 4: Line 4:
<!--T:6-->
<!--T:6-->
{{Docnav
{{Docnav
|[[Start_up_and_Configuration|Start up and Configuration]]
|[[Dialog_creation|Dialog creation]]
|[[Licence|Licence]]
|[[Macros|Macros]]
}}
}}


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


<!--T:8-->
* Python related pages in the Manual:
* Python related pages in the Manual:
** [[Manual:A_gentle_introduction|A gentle introduction]]
** [[Manual:A_gentle_introduction|A gentle introduction]]
Line 16: Line 17:
** [[Manual:Creating_interface_tools|Creating interface tools]]
** [[Manual:Creating_interface_tools|Creating interface tools]]


<!--T:9-->
* Basics:
* Basics:
** [[Macros|Working with macros]]
** [[Macros|Working with macros]]
Line 23: Line 25:
** [[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
** [[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]


<!--T:10-->
* Built-in workbenches related:
* Built-in workbench related:
** [[Drawing_API_example|Drawing scripting]] ({{Emphasis|the Drawing workbench is obsolete}})
** [[Drawing_API_example|Drawing scripting]] ({{Emphasis|the Drawing workbench is obsolete}})
** [[FEM_Tutorial_Python|FEM scripting]]
** [[FEM_Tutorial_Python|FEM scripting]]
Line 30: Line 33:
** [[Part_scripting|Part scripting]]
** [[Part_scripting|Part scripting]]
** [[Topological_data_scripting|Part: Basic shape manipulation]]
** [[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]]
** [[Path_scripting|Path scripting]]
** [[Raytracing_API_example|Raytracing scripting]] ({{Emphasis|the Raytracing workbench is obsolete}})
** [[Raytracing_API_example|Raytracing scripting]] ({{Emphasis|the Raytracing workbench is obsolete}})
** [[Sketcher_scripting|Sketcher scripting]]


<!--T:11-->
* FeaturePython objects (also called 'scripted objects'):
* FeaturePython objects (also called 'scripted objects'):
** [[FeaturePython_Objects|Create a FeaturePython object part I]]
** [[Create_a_FeaturePython_object_part_I|Create a FeaturePython object part I]]
** [[Creating_a_FeaturePython_Box,_Part_II|Create a FeaturePython object part II]]
** [[Create_a_FeaturePython_object_part_II|Create a FeaturePython object part II]]
** [[Scripted_objects|Scripted objects]]
** [[Scripted_objects|Scripted objects]]
** [[Scripted_objects_saving_attributes|Scripted objects saving attributes]]
** [[Scripted_objects_saving_attributes|Scripted objects saving attributes]]
Line 43: Line 50:
** [[Custom_icon_in_tree_view|Custom icon in tree view]]
** [[Custom_icon_in_tree_view|Custom icon in tree view]]
** [[Property|Properties]]
** [[Property|Properties]]
** [[PropertyLink:_InList_and_OutList|PropertyLink: InList and OutList]]
** [[FeaturePython_methods|Methods]]
** [[FeaturePython_methods|Methods]]


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


<!--T:13-->
* User interface:
* User interface:
** [[PySide|Working with PySide]]
** [[PySide|PySide]]
** [[PySide_Beginner_Examples|PySide beginner examples]]
** [[PySide_Beginner_Examples|PySide beginner examples]]
** [[PySide_Intermediate_Examples|PySide intermediate examples]]
** [[PySide_Intermediate_Examples|PySide intermediate examples]]
Line 56: Line 66:
** [[PySide_usage_snippets|PySide usage snippets]]
** [[PySide_usage_snippets|PySide usage snippets]]
** [[Interface_creation|Interface creation]]
** [[Interface_creation|Interface creation]]
** [[Interface_creation_with_UI_files|Interface creation with UI files]]
** [[Dialog_creation|Dialog creation]]
** [[Dialog_creation|Dialog creation]]
** [[Dialog_creation_with_various_widgets|Dialog creation with various widgets]]
** [[Dialog_creation_with_various_widgets|Dialog creation with various widgets]]
Line 64: Line 73:
** [[Qt_Example|Qt Example]]
** [[Qt_Example|Qt Example]]


<!--T:14-->
* Snippets and examples:
* Snippets and examples:
** [[Command|Define a command]]
** [[Command|Define a command]]
Line 70: Line 80:
** [[Macros_recipes|Macros recipes]]
** [[Macros_recipes|Macros recipes]]
** [[Line_drawing_function|Line drawing function]]
** [[Line_drawing_function|Line drawing function]]
** [[Piffpoof_Macro_Half-Hull_Model|Macro Half-Hull Model]]


<!--T:15-->
* Miscellaneous:
* Miscellaneous:
** [[Debugging]]
** [[Debugging]]
Line 87: Line 97:
** [[Quantity]]
** [[Quantity]]
** [[Svg_Namespace|Svg namespace]]
** [[Svg_Namespace|Svg namespace]]



<!--T:3-->
<!--T:3-->
{{Docnav
{{Docnav
|[[Start_up_and_Configuration|Start up and Configuration]]
|[[Dialog_creation|Dialog creation]]
|[[Licence|Licence]]
|[[Macros|Macros]]
}}
}}


Line 98: Line 109:
[[Category:Developer Documentation{{#translation:}}]]
[[Category:Developer Documentation{{#translation:}}]]
[[Category:Python Code{{#translation:}}]]
[[Category:Python Code{{#translation:}}]]
{{clear}}

Latest revision as of 20:02, 20 November 2021

Overview of Python scripting pages