miniSageCAD by mechadense 3d model
3dmdb logo
Thingiverse
miniSageCAD by mechadense

miniSageCAD by mechadense

by Thingiverse
Last crawled date: 3 years, 1 month ago
A tool for Constructive Solid Geometry like OpenSCAD but written in Sage http://www.sagemath.org/
There is already quite some functionality in very little code.
You can (via the Jmole 3D viewer in sage) preview & turn the 3d output before saving to *.stl file. With Sage you have a fully blown computer algebra system CAS at hand. Transfinite unbounded objects can be used for construction.
Sages implicit_plot3d is not made for this purpouse so I think this is more useful for experimentation with system design than useful construction work. But I might be wrong.
In this context I like to mention
ImplicitCAD (written by Christopher Olah)http://www.implicitcad.org/https://github.com/colah/ImplicitCAD/blob/master/Graphics/Implicit/Primitives.hs
which Is ment to deliver good performance.
I started to code miniSageCAD because while trying sage it became patently obvious to me how easy It'd be to get a minimal useful CSG system.
I wanted to preserve symbolic derivability for all csg expressions (to have symbolic access to the surface normals). I found that only lambdas are symbolically derivable but those lambda expressions can not have line breaks. This makes it necessary to break more complex objects down into subfunctions. A good thing for documentation (names) but bad in that it clutteres the global namespace. Also obstucted by this is the idea to e.g. transport the positions of the edges of a cube up the csg graph accessible in e linearly-transformed way.
edit:
new in v0.04:
corrected translate
arbitrary arity union and intersection
prism rod, prism
inshell, onshell, outshell
zfunction
pieslicer
difference2
gyroid (left & right)

Tags