Hi, I'm trying to identify a proper way to detect the resulted part of a slice plane
a GIF is probably more understandable.
How can identify the split parts trough max script?
Solved! Go to Solution.
Solved by klvnk. Go to Solution.
The answer looks obvious - it's the faces above and below the slice plane.
Check all triangle centers in the slice plane coordinate system. If z of the center's position is positive, the face is above; if it is negative, then the face is below.
if using editable poly IIRC polygons below have bit 17 set in face flags
polyop.setFaceSelection $ (polyop.getFacesByFlag $ 65536)
should select all faces below a slice
Can't find what you're looking for? Ask the community or share your knowledge.