MariwanJ / Design456

An attempt to create Direct Modeling workbench for FreeCAD
GNU General Public License v3.0
49 stars 6 forks source link
freecad-workbench

Design456 FreeCAD Workbench

Announcement:

Important Note: WIP!!!

Please feel free to suggest, contribute, join, help, debug etc... I hope you find this workbench useful. Keep in mind that I am still learning FreeCAD API and I might do some solution in a way that is not perfect or optimized. FreeCAD contains many libraries that are complex. Developers needs sometime to understand fully how to use them.

As I am working on a way to make direct modeling more possible using my workbench, and my reserach to find a way is not yet finished, I cannot develop this workbench yet!! .. Please don't think that the project is dead. I need to find a way to improve the possibilites of direct modeling inside FreeCAD. And that takes time. I read some notes at the FreeCAD forum that the workbench is not developed. This is the reason. Design456App is the answer for the slowness of FreeCAD. It will be based on MESH than CAD engine. Design456App should at the end be injected to FreeCAD (My Workbench).

Aim

FreeCAD primarily utilizes a parametric modeling paradigm. This workbench will work to develop 'direct modeling' approach. Currently, this approach will be accomplished interactively using the viewerport widgets. For example, clicking on a face and being able to extrude or push/pull by moving the mouse, instead of specifying a the distance by entering a number in to a text field.

Background

Direct modeling approach has lately become more common in popular CAD solutions. This involves directly modifying the geometry without relying on the parameter based feature tree. While not completely replacing the parametric based approach, this approach is good for interoperability, making complex designs with rapid iterations, and using with minimal prior training.

Install

  1. cd ~/.local/share/FreeCAD/Mod/
  2. git clone https://github.com/MariwanJ/Design456
  3. Restart FreeCAD

Result: The Design456 workbench should now be available in the workbench drop-down menu

Note: Please keep this workbench up-to-date by pulling changes from this repository via git. This can be done before each time Design456 will be used.

  1. cd ~/.local/share/FreeCAD/Mod/Design456
  2. git pull
  3. Restart FreeCAD

Usage

Inspiration

Initial inspiration came from exploring the a template workbench named D3D-Printer-Workbench. Thanks to the author. Other workbenches will be inspected to see what other code can be re-used.

FreeCAD is broken and unreliable

- Some of WB tools might fail due to the internal failure of OCC or FreeCAD as a whole. 
- I wonder if Direct modeling will be possible while the union, cut, ..etc basic operations fails totally in some cases. 

Notes

Feedback

Please leave comments, bugs, fixes in the issue queue of this repository.

Relevant Links

Mariwan Jalal 2024-02-09