[Closed] Face is undefined 0_0
Hi! I’m doing lots of things with my object, like applying morphs, ffd, cutting some polygons. At some point I collape it to Editable_Poly
And then loop through $.numfaces
Object has around 1984 faces
But!
(getFaceCenter $ 661)
for some reason sometimes face like number 661 is undefined! while others are OK.
What might be the reason? Is that even possible? And can I fix this/or should just ignore?
what do mean by ‘face undefined’? does the function return undefined? if max gives an error message can you show the message?
no idea but you could have dead faces so try…
polyop.collapseDeadStructs $
Thanks a lot, will try and see if that helps. I tried different functions, and somehow missed that one in the docs
Unfortunately, did not help. Also doing this:
COnvertTo obj Editable_Mesh
COnvertTo obj Editable_Poly
helps not.
Maybe that is a glitch? A mean, theoretically, what is undefiend face inside numfaces? HMMM
Thank you for the answer. Probably my brains glitched, but after your message I realized that it is functions which gives undefined, not face, which resolves everything.