Jump to content

Circle from edges -> Rounded Corner Circle from edges


NoaX

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...