FreeCAD Workbench Programming 101: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Abstract=
=Abstract=
CAD models are very important in OSE Development. Dedicated FreeCAD workbenches make the creation of CAD models easier, faster and more reliable.  
CAD models are very important in OSE Development. Dedicated FreeCAD workbenches make the creation of CAD models easier, faster and more reliable.  
In this video we will show essential steps to create a FreeCAD workbench and provide some tips and tricks. We will set FreeCAD up for development. Then we will 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.
In this video we will show essential steps to create a FreeCAD workbench. The process starts with downloading OSE Linux distribution that includes development and continuous integration capacity in Python, so that new workbenches can be created readily. We go through examples of programmability in FreeCAD:
Finally, we will briefly talk about source code licensing.
#Using [[Spreadsheet Workbench]] to generate CAD
#Using the [[OpenSCAD Workbench]] to generate geometry
#Using [[FreeCAD Macros]]
#Adding bottons and menus to a toolbar
#Creating new workbenches
#Creating appimages for quick installation of new workbenches
 
Rapid learning is achieved by this lesson being prepared in its entirety as a downloadable appimage that anyone can execute
==Resources==
*How to create macros - See [https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/How_to_install_macros.md]
*Adding buttons and menus - [https://wiki.freecad.org/Add_Button_to_FEM_Toolbar_Tutorial]
*Creating custom appimages [https://wiki.freecad.org/AppImage#Personalized_AppImages]


=Video=
=Video=

Latest revision as of 20:29, 2 January 2024

Abstract

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

In this video we will show essential steps to create a FreeCAD workbench. The process starts with downloading OSE Linux distribution that includes development and continuous integration capacity in Python, so that new workbenches can be created readily. We go through examples of programmability in FreeCAD:

  1. Using Spreadsheet Workbench to generate CAD
  2. Using the OpenSCAD Workbench to generate geometry
  3. Using FreeCAD Macros
  4. Adding bottons and menus to a toolbar
  5. Creating new workbenches
  6. Creating appimages for quick installation of new workbenches

Rapid learning is achieved by this lesson being prepared in its entirety as a downloadable appimage that anyone can execute

Resources

  • How to create macros - See [1]
  • Adding buttons and menus - [2]
  • Creating custom appimages [3]

Video

edit

Links