cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAXScript functions to remove unnecessary topology

MAXScript functions to remove unnecessary topology

I would like to see some new maxscript functions to clean up geometry.

 

meshop.removeVerts <Mesh mesh> <vertlist> - similar to polyop.remove() but for trimesh and explicit to verts.

 

meshop.removeEdges <Mesh mesh> <edgelist> - similar to polyop.remove() but for trimesh and explicit to  edges.

 

meshop.cleanPlanarVerts <Mesh mesh> <facelist> <float threshold> - Remove any vertices that lie on the same plane as each other that add unnecessary geometry within the given face list.

 

meshop.cleanLinearEdges <Mesh mesh> <edgelist> <float threshold> - remove inner vertices on a chain of edges that are not necessary (leaving only outer two verts). 

 

meshop.autoedge - Add new parameters to auto clean the results similar to cleanPlanarVerts and cleanLinearEdges above --so using auto edge can remove unnecessary vertices. For example, if you convert a Box with six segments per dimension to a mesh and use autoedge on it , you are left with 6 polygons with 218 vertices. Using the cleanPlanarVerts and cleanLinearEdges threshold the resulting mesh should be 6 polygons and 8 vertices.

 

These new/updated methods would help greatly with scripted modifiers.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea