Scripting and macros/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{Docnav
{{Docnav
|[[Start_up_and_Configuration|Start up and Configuration]]
|[[Dialog_creation]]
|[[Licence]]
|[[Macros|Macros]]
}}
}}


==Overview of Python scripting pages==
* [[Introduction_to_Python|Introduction to Python]]: Introduction to Python for beginners.

* [[Python_scripting_tutorial|Python scripting tutorial]]: Introduction to python scripting in FreeCAD.
* Python related pages in the Manual:
* [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]: Introduction to python scripting in FreeCAD.
** [[Manual:A_gentle_introduction|A gentle introduction]]
* [[Topological_data_scripting|Topological data scripting]]: Basic shape manipulation examples.
** [[Manual:Creating_and_manipulating_geometry|Creating and manipulating geometry]]
* [[Mesh_Scripting|Mesh Scripting]]: Introduction to Mesh scripting.
** [[Manual:Creating_parametric_objects|Creating parametric objects]]
* [[Mesh_to_Part|Mesh to Part]]: Some basic Mesh- to-Part and Part-to-Mesh examples.
** [[Manual:Creating_interface_tools|Creating interface tools]]
* [[Pivy]]: Introduction to Pivy.

* [[FeaturePython_Objects|FeaturePython Objects]]: Create a FeaturePython object part I.
* Basics:
* [[Creating_a_FeaturePython_Box,_Part_II|Creating a FeaturePython Box, Part II]]: Create a FeaturePython object part II.
** [[Macros|Working with macros]]
* [[Scripted_objects|Scripted objects]]: How to make 100% python-scripted objects in FreeCAD.
** [[Scripts|Script tutorial]]
* [[Embedding_FreeCAD|Embedding FreeCAD]]: How to import FreeCAD as a python module in other applications.
** [[Introduction_to_Python|Introduction to Python]]
* [[Code_snippets|Code snippets]]: Pieces of code to serve as ingredients in your scripts.
** [[Python_scripting_tutorial|Python scripting tutorial]]
* [[Line_drawing_function|Line drawing function]]: How to build a simple tool to draw lines.
** [[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
* [[Dialog_creation|Dialog creation]]: How to construct dialogs with Qt designer, and use them in FreeCAD.

* [[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}})
** [[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}})
** [[Sketcher_scripting|Sketcher scripting]]

* FeaturePython objects (also called 'scripted objects'):
** [[Create_a_FeaturePython_object_part_I|Create a FeaturePython object part I]]
** [[Create_a_FeaturePython_object_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]]
** [[PropertyLink:_InList_and_OutList|PropertyLink: InList and OutList]]
** [[FeaturePython_methods|Methods]]

* [[3D_view|3D view]]:
** [[Scenegraph|The Coin scenegraph]]
** [[Pivy|Pivy]]

* 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]]
** [[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]]

* Snippets and examples:
** [[Command|Define a command]]
** [[Workbench_creation|Workbench creation]]
** [[Code_snippets|Code snippets]]
** [[Macros_recipes|Macros recipes]]
** [[Line_drawing_function|Line drawing function]]

* 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]]



{{Docnav
{{Docnav
|[[Start_up_and_Configuration|Start up and Configuration]]
|[[Dialog_creation]]
|[[Licence]]
|[[Macros|Macros]]
}}
}}


Line 31: Line 97:
[[Category:Developer Documentation{{#translation:}}]]
[[Category:Developer Documentation{{#translation:}}]]
[[Category:Python Code{{#translation:}}]]
[[Category:Python Code{{#translation:}}]]
{{clear}}

Latest revision as of 20:03, 20 November 2021

Overview of Python scripting pages