Difference between revisions of "Scripting examples"

From FreeCAD Documentation
Jump to navigation Jump to search
(Marked this version for translation)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<languages/>
 
<languages/>
 
<translate>
 
<translate>
<!--T:1-->
 
{{docnav|[[Creating a FeaturePython Box, Part II|Creating a FeaturePython Box, Part II]]|}}
 
  
* [[Scripted objects]]: How to make 100% python-scripted objects in FreeCAD
+
<!--T:6-->
* [[Drawing Module]]: Automating the 3D-to-2D process
+
{{Docnav
* [[Line drawing function]]: How to build a simple tool to draw lines
+
|[[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
* [[PySide]]: Introduction to PySide and using it in FreeCAD
+
|[[Licence|Licence]]
* [[Dialog creation]]: How to construct dialogs with Qt designer, and use them in FreeCAD
+
}}
* [[Embedding FreeCAD]]: How to import FreeCAD as a python module in other applications
 
* [[Macros recipes]]: Examples of macro scripts
 
* [[Code snippets]]: Pieces of code to serve as ingredients in your scripts
 
* [[Topological data scripting]]: Basic shape manipulation examples
 
* [[Python Development Environment]]: A simplistic Development Environment for Python within FreeCAD
 
  
<!--T:3-->
+
==Overview of Python scripting pages== <!--T:7-->
{{docnav|[[Creating a FeaturePython Box, Part II|Creating a FeaturePython Box, Part II]]|}}
+
 
 +
<!--T:8-->
 +
* Python related pages in the Manual:
 +
** [[Manual:A_gentle_introduction|A gentle introduction]]
 +
** [[Manual:Creating_and_manipulating_geometry|Creating and manipulating geometry]]
 +
** [[Manual:Creating_parametric_objects|Creating parametric objects]]
 +
** [[Manual:Creating_interface_tools|Creating interface tools]]
 +
 
 +
<!--T:9-->
 +
* Basics:
 +
** [[Macros|Working with macros]]
 +
** [[Scripts|Script tutorial]]
 +
** [[Introduction_to_Python|Introduction to Python]]
 +
** [[Python_scripting_tutorial|Python scripting tutorial]]
 +
** [[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
 +
 
 +
<!--T:10-->
 +
* Built-in workbench related:
 +
** [[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}})
 +
 
 +
<!--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:4-->
+
<!--T:14-->
{{Userdocnavi}}
+
* 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:2-->
+
<!--T:15-->
[[Category:Poweruser Documentation]]
+
* 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:5-->
 
[[Category:Python Code]]
 
  
 +
<!--T:3-->
 +
{{Docnav
 +
|[[FreeCAD_Scripting_Basics|FreeCAD scripting basics]]
 +
|[[Licence|Licence]]
 +
}}
  
 
</translate>
 
</translate>
 +
{{Powerdocnavi{{#translation:}}}}
 +
[[Category:Developer Documentation{{#translation:}}]]
 +
[[Category:Python Code{{#translation:}}]]
 +
{{clear}}

Latest revision as of 12:00, 24 August 2020

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎română • ‎čeština • ‎русский • ‎한국어

Overview of Python scripting pages