Jump to content
Split_polygon

Sweep orientation issues

Recommended Posts

Hello!

 

My goal is to make a floor trim tool that takes an entire floor of a building as an input and does all the floor trim. It takes wall pieces as the input and deletes everything except the bottom most points then creates a curve out of them. Then a profile is swept along the curve to create the trim. I got it all working except that since the curve is not continuous that in some separate rooms the trim is pointing the wrong direction. Is there a smart way for the curve to know which way to orient? I am using poly frame right now.

Input Mesh

image.thumb.png.28aa42899c40fa4f852661670cb3fd7c.png

Result

 

image.thumb.png.d16eab8beb801c5f2551cccfdf510d1a.png

 

Appreciate any help!

 

Share this post


Link to post
Share on other sites

Hi,

from the picture it appears as it's just the natural way Houdini presumes what is in and what is out, if you really wanted you could selectively make a group of the faces you wish to reverse and use a reverse sop.

Alternatively, you could just slightly polyextrude internaly  with the "output back" option enabled, this should remove any visible backface. 

 

Best Regards

Frankie

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

×