jlklai 0 Posted November 3, 2015 Hi everyone! First post so if this is not the correct forum, I apologize in advance -- I'm relatively new to Houdini. I have a large set of points imported into Houdini and I want to connect the points sequentially with using point ID. However, I also only want that connection to happen if the distance between two sequential points is smaller than a set distance. The add SOP gives me the sequential connection when I use the Polygon tab By Group but I'm having trouble excluding the sequential points whose distance is greater than the amount I want. I don't know if there's a way to either form groups first with my distance criteria, or delete the long edges after the add SOP? Thanks in advance! Help or general pointing the in right direction will be greatly appreciated! J (I've included a diagram of what I have vs. what I'm trying to do) Share this post Link to post Share on other sites
magneto 150 Posted November 4, 2015 One thing you could do is to delete any segments that are larger than your distance threshold. There are many other ways as well 1 Share this post Link to post Share on other sites
jlklai 0 Posted November 4, 2015 Thanks for the reply! What would the expression be for the delete SOP? is segment length a variable I can query in the expression field? Or are you talking about an approach with different operators? Share this post Link to post Share on other sites
jlklai 0 Posted November 4, 2015 I think I've found the solution that works for me from what you've said and adapting this: http://forums.odforce.net/topic/20782-delete-by-edge-length/ It seems like the delete SOP was automatically bridging some of the end points, whereas the dissolve sop doesn't necessarily do that? Thank you so much for your help! Share this post Link to post Share on other sites
magneto 150 Posted November 4, 2015 Np man, you can use the Facet SOP to unfuse the points and then use AttribWrangle in Prim mode to check for length, or use Measure SOP to record the length for each prim and then remove them in AttribWrangle using removeprim. Not the best way but one of the ways to do it. 1 Share this post Link to post Share on other sites
Atom 1,226 Posted November 4, 2015 Or just connect them all and resample. Share this post Link to post Share on other sites
Shinjipierre 36 Posted November 8, 2015 Connect adjacent pieces? Share this post Link to post Share on other sites