Shamanek Posted August 7, 2020 Share Posted August 7, 2020 Hi guys, does anyone know if in Houdini is an option to fuse points in poly extrude to generate center line as I show in the gif below? Or how could we generate a center line in such a geometry? I need to do it to generate neon light in the center of the letter. Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted August 7, 2020 Share Posted August 7, 2020 No. The problem is called Straight Skeleton. It is a well studied comptl geo problem. There is a robust implementation in CGAL, but it's most likely not an acceptable answer. It's a hard problem that you can't just solve with a few chained SOPs sadly. The closest you will have in Houdini is this: do a polyexpand SOP with those parameters: Output: Offset Surfaces Offset: some large number greater that the dimensions of your object. After that, finding the actual straight skeleton is not trivial either, because it is not a curve, but a tree. It does not exist as an object in Houdini. You can have a look at the vertex attribute EdgeDist, in some cases it may help to delete some points to help you build the skeleton. Quote Link to comment Share on other sites More sharing options...
Librarian Posted August 7, 2020 Share Posted August 7, 2020 (edited) @Shamanek xyz distanc find gradient and use this you have endless posybility..Just Fine adjust plus this Edited August 7, 2020 by Librarian Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted August 7, 2020 Share Posted August 7, 2020 Hi, there is also a straight skeleton 2D beta version in SideFX Labs. Quote Link to comment Share on other sites More sharing options...
Shamanek Posted August 12, 2020 Author Share Posted August 12, 2020 Great guys, thanks a lot for the awesome tips. I used the combination of them and it works fine for now. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.