OpenSCAD & minkowski import to FreeCAD

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
keithsloan52
Veteran
Posts: 2764
Joined: Mon Feb 27, 2012 5:31 pm

OpenSCAD & minkowski import to FreeCAD

Post by keithsloan52 »

The way the OpenSCAD workbench handles minkowski requests is to call OpenSCAD to make the request having converted the objects to meshes. This often is a slow process.

The attached version takes a different approach, if the minkowski request involves two objects, the two objects have their colours changed to
green (first) and red (second). Then the user can take appropriate actions in FreeCAD. i.e. Apply fillets, delete other object etc.
The process should be a lot quicker at the conversion stage but leaves more for the user to do in FreeCAD.

I would like feedback about this before adding as an option to the standard implementation.
importCSG.py
(46.12 KiB) Downloaded 52 times
tokrules.py
(3.69 KiB) Downloaded 53 times
( Fix to tokrules )

To try save existing versions and replace versions in ...Mod/OpenSCAD/
Post Reply