plgarcia wrote: ↑
Mon Oct 29, 2018 10:49 am
I also know SolidCAD, Fusion360 and many other software are proprietary,
Again with SolidCAD, could you please post a link, I'm curious. I searched again, and the only reference to SolidCAD I can find is not software, it's an Autodesk vendor.
plgarcia wrote: ↑
Mon Oct 29, 2018 4:15 pm
Here is the OpenSCAD script.
I made duplicates, the manifold is not valid.
Could you please edit your post and place the script inside code brackets? It would make your reply easier to read, and the code easier to copy.
You are probably having the same issue as in FreeCAD: tangent/co-planar faces. Please have a look at this old article about OpenSCAD which gives the same exact advice we give here for FreeCAD.
I Heart Robotics: OpenSCAD Tip: Manifold Space and Time
I saved your script, opened it in OpenSCAD and compiled it (damn it is slow), exported it to .scad then imported it in FreeCAD. Unfortunately, I've had issues with import, by default cylinders are imported as prisms (this is OpenSCAD's fault, cylinders are not really cylinders but prisms
). This can be changed in the OpenSCAD workbench's preferences (in FreeCAD) so that a prism with more than n
number of faces is converted to a cylinder, but then the import is flaky, FreeCAD crashed on me twice.
I started replacing prisms with cylinders, but I have only one done for now. I may abandon this idea, what I really want to do is see if I can model this from scratch in FreeCAD, and maybe document the issues I encounter. But I can't read your OpenSCAD script, it's just gibberish to me. I'm a CAD operator, not a programmer.
The OpenSCAD script converted to a FreeCAD file, on Google Drive because it's too big to attach here: plgarcia_part2.fcstd (2.4MB)