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

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

×