Shamanek 2 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. Share this post Link to post Share on other sites
AntoineSfx 42 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. Share this post Link to post Share on other sites
Librarian 842 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 Share this post Link to post Share on other sites
Aizatulin 164 Posted August 7, 2020 Hi, there is also a straight skeleton 2D beta version in SideFX Labs. Share this post Link to post Share on other sites
Shamanek 2 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 Share this post Link to post Share on other sites