Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
The following two-lobed blob is the union of two spheres, and it appears (?) that I can Export[] it to STL for 3d printing:
Export[]
blob = Graphics3D[{Sphere[{0,0,0}, 1], Sphere[ {0,0,0.5}, 1]}]
How would I create the intersection instead of the union?
You could try using geometric regions:
DiscretizeRegion[ RegionIntersection[Ball[{0, 0, 0}, 1], Ball[{0, 0, 0.5}, 1]], MaxCellMeasure -> 0.0001 ]; Export["blob.stl", %]; Import["blob.stl"]