Square Nurb with rounded corners?

   1457   3   1
User Avatar
Member
14 posts
Joined: 3月 2019
Offline
Hello,

Newbie of note. Trying to find a way to make a square / rectangle nurb with adjustable rounded corners that I can use to extrude.

I have searched around and can't seem to find anything.

My best solution is to import a adobe illustrator path... but I can't get the corners to be adjusted that way...

Any advice greatly appreciated!

Thank you!
User Avatar
Member
122 posts
Joined: 8月 2017
Offline
Maybe it Helps.
vector dirprev = point(0, "P", (@ptnum + @numpt -1) % @numpt)  - @P;
vector dirnext = point(0, "P", (@ptnum +1) % @numpt) - @P;
@dot = dot(normalize(dirprev),normalize(dirnext));
@rad = degrees(acos(@dot));

Attachments:
LibOdforce.hiplc (112.6 KB)
ssss.jpg (61.8 KB)

Conservation of Momentum
User Avatar
Member
143 posts
Joined: 10月 2015
Offline
Hello
You can also use fillet node in sop to build round corner with nurbs
check the file

But also Nurbs isn't really developed in Houdini
the best would be to use the polygon approach with a square and polybevel the point
Edited by Benjamin Lemoine - 2021年9月5日 05:59:21

Attachments:
fillet.hiplc (139.9 KB)

User Avatar
Member
14 posts
Joined: 3月 2019
Offline
Thank you so much Benjamin Lemoine and cncverkstad I really appreciate the help!

Have an awesome week!
  • Quick Links