FreeCAD Workbench Programming 101

From Open Source Ecology
Revision as of 00:46, 24 April 2018 by Marcin (talk | contribs)
Jump to navigation Jump to search

Abstract

Abstract for Video *FreeCAD Programming 101* https://www.youtube.com/watch?v=35bdRHswD1o

Ruslan Krenzler 23 April 2018

Remark: I use mathematical writing style.

Step one - make notes

Where to find documentation. How to setup/adjust view FreeCAD for programming. Pythonconsole Autocompletion Automatic python modules documentation freecad homepage freecadweb.org Code itself FreeCAD Mod Dev Guide Working Addons

install D3D Printer Workbench Module Soft link trick Anatomy of a workbench, which calls are called when workbench is first loaded and a button is clicked. Context menu, right mouse click. Recompute trick. LGPL License


Step tree - writing

Automation of the CAD-processes can improve OSE-Development process. One of the important tools to achieve this goal is creating of FreeCAD workbenches.

In this video we will show essential steps and tricks required to create a workbench. We will setup FreeCAD for developing. We we will talk about important documentation sources: Autocompletion, Automatic python modules documentation, freecadweb.org homepages, FreeCAD source code, Addons source code.

We will a simple D3D printer Workbench module and explain, the internal calls of FreeCAD when a workbench is loaded, when the user click toolbar button and when she use the context menu. We mentioned some tricks.

Finally a brief but important note on a FreeCAD license.

Make text easier to read (rewrite, simplify, cut short, rewrite again, ...), keep the essence

CAD models are very important in OSE-Development. Dedicated FreeCAD workbenches make their creation easier, faster and more reliable.

In this video we will show essential steps to create a FreeCAD workbench and provide with some tips and tricks. We will setup FreeCAD for developing. Then we go through different important documentation sources: auto-completion, automatic python modules documentation, FreeCAD homepage, FreeCAD source code, Module developer's guide, and source code of FreeCAD add-ons. Then we will install the OSE D3D printer workbench module and explain how it works. Finally, we will briefly talk about source code licensing.

Video

edit

Links