Jump to content
Tronotrond

Procedurally reverse objects

Recommended Posts

Hi all,

wondering if anyone can think of a good, hopefully procedural solution for this.

I'm importing a CAD model. 12 000 objects and 20 million polygons. About 50% of the parts comes in inverted. See attachment below. Not very ideal, and a pita to fix manually.
Logically speaking, it should be "easy" to see if a closed object has the faces facing inwards or outwards, right? If any of you have any good advice here, I'd appreciate any feedback to get things moving in the right direction.

flippedNormals.JPG

Share this post


Link to post
Share on other sites

if each of your pieces is mostly enclosed then you can measure volume per piece, if it's negative, it's inverted

ts_reverse_inverted_pieces.hip

Edited by anim
attached example file
  • Like 5

Share this post


Link to post
Share on other sites

Ahh! Perfect, thanks for both suggestions! I'll give it a shot when I'm back in the office! The measure trick sounds really easy and perfect.

Simplicity! And I was trying to convert the pieces to volumes, move the points along the normal and do volume samples, but didn't work out very well due to the massive size differences. As usual, I over-complicate things :rolleyes:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×