I’m looking for way to determine if the normals of objects are facing outward or inward.
The tricky thing is that the objects have open edges.
I have attached an example file (3ds max 2018) and a screenshot of the example object.
I came up with the following idea
- Get the normals of 10% of the object’s faces
- Extrapolate (locate) a new point from each face along its normal with a distance of 10% of the object’s smallest boundingbox axis value (x, y or z)
- Compare the 2 distances: a) from face position to center of object and b) from new point to center of object
- If the distance from the new points are overall shorter then the normals are facing inward.
But… this seems to be a crazy approach!
Isn’t there an easier way to do this with Maxscript? In any case, ‘resetting normals’ in the Edit Normals modifier doesn’t help.
Thank you for any thoughts and feedback!
normal_check.max (2.1 MB)