FreeCAD Workbench Python Programming: Difference between revisions
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
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://marketplace.visualstudio.com/items?itemName=ms-python.python VS Code Python Extension] | |||
* [https://forum.freecadweb.org/viewtopic.php?t=16267 FreeCAD Forum - Using Visual Studio as Python editor] | * [https://forum.freecadweb.org/viewtopic.php?t=16267 FreeCAD Forum - Using Visual Studio as Python editor] | ||
* [https://wiki.freecadweb.org/Debugging#Visual_Studio_Code_.28VS_Code.29 FreeCAD Wiki - Debugging (VSCode)] | * [https://wiki.freecadweb.org/Debugging#Visual_Studio_Code_.28VS_Code.29 FreeCAD Wiki - Debugging (VSCode)] | ||
* [https://forum.freecadweb.org/viewtopic.php?f=8&t=40673 FreeCAD Forum - Please demonstrate using a remote text editor to substitute the Python editor in FreeCAD] | |||
* [https://forum.freecadweb.org/viewtopic.php?t=26474 FreeCAD Forum - VSCode / Pylint question] | |||
* [https://forum.freecadweb.org/viewtopic.php?f=22&t=39032 FreeCAD Forum - FreeCAD python type definitions, code documentation] | |||
* [https://forum.freecadweb.org/viewtopic.php?f=22&t=41174 FreeCAD Forum - How to set up a scripting environment in Visual Studio Code] | |||
=Where to Learn= | =Where to Learn= |
Revision as of 00:27, 24 April 2020
Introduction
This page is meant as a comprehensive collection of resources for how to create a FreeCAD workbench using Python programming.
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
TODO: Begin grouping links into related sub-sections.
- FreeCAD Wiki - Python scripting tutorial
- FreeCAD Wiki - FreeCAD Scripting Basics
- FreeCAD Wiki - Scripted objects
- FreeCAD Wiki - Topological data scripting
- FreeCAD Wiki - Placement
- FreeCAD Wiki - FeaturePython objects
- FreeCAD Wiki - App FeaturePython
- FreeCAD Wiki - Creating a FeaturePython Box, Part II
- FreeCAD Wiki - Dialog Creation
- FreeCAD Wiki - PySide