Maxscript's function to remove degenerative faces in 3DS MAX
-
06-07-2021 - |
Question
How can I call removeDegenerateFaces on particular model? I'm unable to understand what's on autodesk documentation, since it is basically only line below
meshop.removeDegenerateFaces <Mesh mesh>
let's assume I have object called body, how could I call that function on it?
I tried
body.removeDegenerateFaces <Mesh mesh>
, but there was: error '<factor> expected'
..
Thanks a lot
Solution
To directly answer your question, supposing the object named body is Editable mesh, you can do so by calling
meshop.removeDegenerateFaces $body
It will return true
in case there were some and it removed them, false
otherwise. I suspect, though, that it might not be what you are actually after – providing a detailed description would definitely help.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow