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
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.