I'm looking for a way to programmatically delete certain piece of geometry based on another object or selection. It's hard for me to explain, so please, consider having a following situation.
Consider having complex object, let's say 'Object001' -> a Teapot.
Then cloning the object to -> 'Object002' and attaching the object to back to the 'Object001', so basically, the original 'Object001' will have each face doubled.
Now selecting some faces and detaching them to 'Object003' will result, that there is still one layer of faces present in the area of selection and I want to delete it on detach or explicitly using 'Object003' geometry.
How can I do so using maxscript?
The only solution I think of is to iterate all vertices of 'Object003' and 'Object001' but that's not a good solution for complex geometries. Boolean does not work as excepted.
Please, see the figures in attachments.
miauu · 2019-07-23