Hi,
Sorry for the silly question but I'm stuck. It's hard to describe what I want to do with words so I'm attaching an annotated screenshot.
Basically, I need to translate procedurally the wire in the picture so that the top point (A) is always at 0,0. The closest I could get is using the expressions you can also see in the picture. Y alignment works but X alignment is offset because if use bbox D_XMIN the “left-most” point (B) is not on top but around the middle of the wire. Hope this makes sense. Thanks!
Translating a bounding box procedurally, aligning top to 0,0
3459 3 1- mzo
- Member
- 20 posts
- Joined: 3月 2015
- Offline
- tamte
- Member
- 8551 posts
- Joined: 7月 2007
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: 9月 2013
- Offline
Sort node: Point sort by Y, reverse point sort.
Transform node:
Translate X: -point(0, 0, ‘P’, 0)
Translate Y: -point(0, 0, ‘P’, 1)
Translate Z: -point(0, 0, ‘P’, 2)
Transform node:
Translate X: -point(0, 0, ‘P’, 0)
Translate Y: -point(0, 0, ‘P’, 1)
Translate Z: -point(0, 0, ‘P’, 2)
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- mzo
- Member
- 20 posts
- Joined: 3月 2015
- Offline
-
- Quick Links