FreeCAD Programming: Difference between revisions
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
*User selects an objects. Ex. .length.object gets you length | *User selects an objects. Ex. .length.object gets you length | ||
*Navigating the code base - going through many files. | *Navigating the code base - going through many files. | ||
*Using Docker to run unit tests. Docker creates an application environment, without installing FreeCAD or python modules | |||
*One Docker instance does the test runs. How long did it take to set up Docker. |
Revision as of 23:29, 2 May 2020
Overview
Programming New Workbenches in FreeCAD
One Paragraph Introduction by Ruslan Krenzler
FreeCAD Kernel
Links
Notes from G
- Keeping 3D programming in mind - understanding what you are working with in 3D space
- Label code and functions according to orientation
- Adding toolbars is easy
- To start a FreeCAD workbench...
Starting a Bench
- Start by knowing what you need to do.
- Understand a Command concept in FreeCAD
- Understand geometry
- Command is a thing that gets executed withing FreeCAD
- Hard part was figuring out how to program the geometry
- The more details in geometry
- User selects an objects. Ex. .length.object gets you length
- Navigating the code base - going through many files.
- Using Docker to run unit tests. Docker creates an application environment, without installing FreeCAD or python modules
- One Docker instance does the test runs. How long did it take to set up Docker.