3 ms·
OpenSCAD uses CGAL which allows for exact definitions for the rendered-out objects (as opposed to floating-point-inaccurate results; often observed as e.g. flic
by nh2 7y ago
OpenSCAD uses CGAL which allows for exact definitions for the rendered-out objects (as opposed to floating-point-inaccurate results; often observed as e.g. flickering coincident planes in OpenSCAD's non-CGAL OpenGL preview).
What does OpenJSCAD used as internal geometric representation?
Is it also exact?
- neutronicus 7y agoIt uses csg.js Unfortunately its GitHub is not ... expansive about its innards. It says "this library implements CSG operations on meshes..." which I assume means it is NOT operating on a parametrized boundary representation like the industrial-strength CAD kernels (Parasolid, OpenCASCADE, CGAL). I would be very careful about using models generated in OpenJSCAD to manufacture anything (this is one area where proper handling of topology and degeneracy is critical).
- lvh 7y agoWait: whenever I've used OpenSCAD I get polyhedral approximations, not actual spheres/cylinders/etc. You can pump up the resolution but that quickly kills performance and obviously doesn't solve the underlying issue. How can I get OpenSCAD to do e.g. actual BRep? (Ideally in a way I can export to other CAD/CAM software?)
- neutronicus 7y agoFreeCAD (which uses OpenCASCADE under the hood) can open OpenSCAD CSG files. This should get you a BRep