Is there a way to use Carve SOP and provide the first U/Second U in meters rather than a U parameter (0..1) ?
I have real world measurements curves (adaptively sampled, so more points where more curvature) and I need to “shave off” a specific length.
Carve by arclength instead of parametric 0..1 ?
4127 9 2- geometryNerd
- Member
- 11 posts
- Joined: Aug. 2017
- Offline
- dedeks2999
- Member
- 85 posts
- Joined: May 2011
- Offline
- matthias_k
- Member
- 483 posts
- Joined: Dec. 2006
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- Aizatulin
- Member
- 472 posts
- Joined: July 2005
- Offline
Hi,
just in addition, you can also create a carve tool with the attribute wrangle. After you've calculated the length for a curve (arclen not working in wrangle for me ?!), you can use the length to build your own curve by defining a curve function by another wrangle. Resampling is useful before (it is doing the main work), to get an uniform sampled curve.
just in addition, you can also create a carve tool with the attribute wrangle. After you've calculated the length for a curve (arclen not working in wrangle for me ?!), you can use the length to build your own curve by defining a curve function by another wrangle. Resampling is useful before (it is doing the main work), to get an uniform sampled curve.
- dedeks2999
- Member
- 85 posts
- Joined: May 2011
- Offline
hye Aizatulin,
Did you try this function in your code ?
http://www.sidefx.com/docs/houdini/vex/functions/primarclen.html [www.sidefx.com]
Apparently, you can also get it from the arclength primitive intrinsic attribute
Did you try this function in your code ?
http://www.sidefx.com/docs/houdini/vex/functions/primarclen.html [www.sidefx.com]
Apparently, you can also get it from the arclength primitive intrinsic attribute
— dedeks 3000 —
- Aizatulin
- Member
- 472 posts
- Joined: July 2005
- Offline
- dedeks2999
- Member
- 85 posts
- Joined: May 2011
- Offline
- Aizatulin
- Member
- 472 posts
- Joined: July 2005
- Offline
- Octop
- Member
- 13 posts
- Joined: Oct. 2013
- Offline
-
- Quick Links