Erlich Bachman Posted September 5, 2016 Share Posted September 5, 2016 Hi, everyone! I'm trying to convert blender's grease pencil strokes into actual polygonal geometry. So first i convert it to polylines in blender itself. Then, in Houdini i fuse it several times to get 'okeish' result. But what I need before next fuse is: -to dissolve vertices with only 2 edges connected. (maybe 3 valency as well) -to delete edges of length less then specified Any ideas on how to achieve this? Thanks ) GreasePencil_cleanup01.hipnc Quote Link to comment Share on other sites More sharing options...
tamagochy Posted September 6, 2016 Share Posted September 6, 2016 Use neighbours function to get arrays and then delete points with arraylength<3. Its for vertices. Quote Link to comment Share on other sites More sharing options...
acey195 Posted September 6, 2016 Share Posted September 6, 2016 (edited) 1 hour ago, tamagochy said: Use neighbours function to get arrays and then delete points with arraylength<3. Its for vertices. in an attribute wrangle (running in point mode) you can simply put: // if(neighbourcount(0,@ptnum) != 2) removepoint(0,@ptnum); Edited September 6, 2016 by acey195 Quote Link to comment Share on other sites More sharing options...
mestela Posted September 7, 2016 Share Posted September 7, 2016 Was playing around with this, the polyexpand2d sop is remarkably resilient, and meshed it happily. GreasePencil_cleanup01_meshed.hipnc 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.