CinnamonMetal Posted July 23, 2018 Share Posted July 23, 2018 How do you calculate the length of the connect adjacent pieces sop Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted July 23, 2018 Share Posted July 23, 2018 9 hours ago, CinnamonMetal said: How do you calculate the length of the connect adjacent pieces sop maybe something like: 1/ in connect adjacent pieces, enable restlength 2/ add an attribute promote from primitives to detail, set sum as promotion detail and restlength as original name You know have a detail attribute with the sum of the lengths of the polygons Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted July 23, 2018 Author Share Posted July 23, 2018 Sorry, I should have mentioned I'm aware of the restlength attribute within the connect adjacent pieces sop; I want to know how to calculate it as if that attribute didn't exist within the connect adjacent pieces sop ? Quote Link to comment Share on other sites More sharing options...
animatrix Posted July 23, 2018 Share Posted July 23, 2018 Measure SOP -> Perimeter 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted July 23, 2018 Author Share Posted July 23, 2018 Any other methods Otherwise I'm good ? Quote Link to comment Share on other sites More sharing options...
animatrix Posted July 23, 2018 Share Posted July 23, 2018 You can directly read and store the "measuredperimeter" prim intrinsic attribute inside an AttribWrangle, or compute it yourself inside a AttribWrangle by looping over primitives. 1 Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted July 23, 2018 Author Share Posted July 23, 2018 Within a forLoop apply the primNum to a vector attribute ? 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.