Jump to content
Sign in to follow this  
NoaX

Circle from edges -> Rounded Corner Circle from edges

Recommended Posts

Hi everyone,

Today I have a bit of a challenge that I think can be solved with some clever vex.

One of my favorite modeling nodes for Houdini is 'circle from edges,' because you can pretty much select any curved geometry and get a perfect circle. As you may know from C4D creating circles on curved geometry is quite painful. 

 

Here is what the basic node does:

circle_from_edges.thumb.PNG.111a12cf60bf24fe95f8695b8b2630fa.PNG

 

Now what if instead we wanted a rectangle with rounded edges:

Such as this one which I've modeled many times before, and it always requires taking two circles, expanding edges etc.

rounded_corners.PNG.f3ccda680d5d2f33ba9d03d29239c141.PNG

 

It would be fantastic if the circle from edges could also support this shape and work just as well on curved geometry such as a sphere.

 

I'm not sure where to start with this one, since I've only been working with vex for some short weeks now. However, any hints/tips or ideas are welcomed. Even a way to expose the code used in circle from edges would give me some ideas. My goal is to use VEX to build  a bunch of tools that help model industrial models very quickly in Houdini - usually these sorts of details are very common in industrial modeling. 

 

Thank you.

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
Sign in to follow this  

×