FreeCAD Workbench Python Programming: Difference between revisions
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
The above resources cover how to enable auto-completion and debugging features. | The above resources cover how to enable auto-completion and debugging features. | ||
* [https://code.visualstudio.com/ Visual Studio Code] | |||
* [https://marketplace.visualstudio.com/items?itemName=ms-python.python VS Code Python Extension] | * [https://marketplace.visualstudio.com/items?itemName=ms-python.python VS Code Python Extension] |
Revision as of 01:48, 3 May 2020
Introduction
This page is meant as a comprehensive collection of resources for how to create a FreeCAD workbench using Python programming.
Target Audience
This page is meant for people who are comfortable with Python Programming already.
Please refer to other resources for Programming or Python, and do not include them here.
Environment Setup
1. Install FreeCAD
See FreeCAD for instructions.
2. Setting up a Modern Code Editor - VS Code
Related Blog Article: FreeCAD External Editor With Code – OSS
The above resources cover how to enable auto-completion and debugging features.
Where to Learn
Introduction to Scripting in FreeCAD
Getting Started with Workbench Programming
- FreeCAD Wiki - Workbench Creation
- FreeCAD Wiki - Module Creation: Setting up a new module manually
- GitHub - Tutorials on how to create your own Python workbench in FreeCAD
- FreeCAD Workbench-Starterkit (NOT COMPATIBLE WITH FREECAD 16)
FeaturePython, Scripted, or Custom Objects
- FreeCAD Wiki - FeaturePython objects
- FreeCAD Wiki - Creating a FeaturePython Box, Part II
- FreeCAD Wiki - App FeaturePython
- FreeCAD Wiki - Scripted objects`
Reference
- FreeCAD Wiki - Topological data scripting
- FreeCAD Wiki - Placement
- FreeCAD Wiki - Dialog Creation
- FreeCAD Wiki - PySide
- FreeCAD Wiki - Part API
- FreeCAD Wiki - Command