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!
keithsloan52
Posts: 1230
Joined: Mon Feb 27, 2012 5:31 pm

OpenSCAD & minkowski import to FreeCAD

Postby keithsloan52 » Mon Feb 24, 2020 6:09 pm

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 6 times
tokrules.py
(3.69 KiB) Downloaded 8 times
( Fix to tokrules )

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