Hi everyone !
Is there any way to slice a 3d object into layers ?
Exemple : a cube, 100*100*100 mm . I want to slice it in 10 layers of 10 milimeters (with the z axis)
My projet is based on autocad. I 'm currently developping an addon to autocad that can get x,y,z coordinates of every shape in the drawing. I'm working with laser machines, and our lasers can only be use between -8 mm and 8 mm.
For 2d drawing, it's simple, i don't need slicing, but for 3d shapes, i need to slice to mark it with our lasers.
Can somebody help me?
thanks a lot.
Solved! Go to Solution.
Solved! by ivo.zagar. See the answer in context.
Solid3d s; // 3D solid
Plane p; // slicing plane
Solid3d cutOff; // the part that is sliced away
cutOff = s.Slice(p, true);