Procedural Geo Bevels...

   6816   7   4
User Avatar
Member
258 posts
Joined:
Offline
I am looking for a way to procedurally bevel geometry from shared co-planer faces to their extruded sides where the angle will always be 90 degrees between the faces. It would have to be not only from extrusions though and I am thinking that there must be a way to say, select only edges with a breaking angle of 90 degrees…Yikes, please help here.
User Avatar
Member
8070 posts
Joined: July 2005
Offline
Here's one way. In this case, I had to write a (simple) Python SOP to generate the list of edges.

Attachments:
polyCuspBevel.hipnc (48.2 KB)

User Avatar
Member
50 posts
Joined: July 2013
Offline
This is an amazing node! Unfortunately, if I try to use it outside of your scene I get the “this node is using an incomplete asset definition…”. Would you share an unlocked version or some code (although I havent used Python much)? It will be super nice to be able to (re)create a procedural bevel tool for my little test projects, thanks!
User Avatar
Member
279 posts
Joined: Dec. 2009
Online
xukca
This is an amazing node! Unfortunately, if I try to use it outside of your scene I get the “this node is using an incomplete asset definition…”. Would you share an unlocked version or some code (although I havent used Python much)? It will be super nice to be able to (re)create a procedural bevel tool for my little test projects, thanks!
You can find Python code with a right click on Python node, ‘Type Properties…’ and go to Code tab.
Then, you must create a new operator type. Go to ‘File>New Operator Type…’.
Choose Python Type, operator name, label, etc…. Change ‘Network Type’ by ‘Geometry Operator’. And don't forget to ‘Save to Library’ with the name you want for you otl.
You could copy/paste the code, accept, and it's done.
User Avatar
Member
258 posts
Joined:
Offline
As well, I think that this file was from before you had the option of edge grouping that is now present in the group node. I believe that grouping edges by normal this way goes a long way.
User Avatar
Member
50 posts
Joined: July 2013
Offline
Thank you fsimerey, this was really helpful information!

@sl0throp I've tried with group sop, grouping by normal, by edge, by number… trying rules like edge angle min/max = 90. It seems I cant select the border edges of a pentagon tube (caps were properly fixed, its working nice with this python bevel sop). If you can teach me how to do this grouping properly will be awesome tho, seems I cant make it to select procedurally border edges :x

Thank you guys in advance!
User Avatar
Member
2 posts
Joined: July 2013
Offline
I've attached a hip file which I believe does what you want with group SOP. Pretty simple really. Just remember to uncheck every other option in the Group node.

Attachments:
GroupEdgesByAngle.hipnc (65.4 KB)

User Avatar
Member
50 posts
Joined: July 2013
Offline
Thank you very much eugenio! It seems I didnt disabled the default “enabled” thick in the number tab… it was messing with the selection, so I was getting all of the edges selected instead of just the borders… I never would been able to resolve this just by myself, lol, thanks again!
  • Quick Links