This should be super simple, but I can't do it:
I have a line made with an Add SOP (2 points).
Then I used a Carve SOP to find a point along it.
Next I isolated the point created by the Carve SOP using a Delete SOP.
Then I merged the Add SOP and the Delete SOP.
So I have 3 points and a polyline going into my TransformAxis SOP.
Now I want to use the point generated by the Carve SOP (in the Delete SOP) as the ‘origin’ for the TransformAxis SOP.
How do I do it?
This should be like ABC, what am I missing?!
Any help greatly appreciated.
Image Not Found
You can use these 3 expressions in each component of origin
point(“../delete”,0,“P”,0) point(“../delete”,0,“P”,1) point(“../delete”,0,“P”,2)
where the last argument is 0 for x, 1 for y, 2 for z as is integer index, assuming the node which contains the carved point is “../delete”
Or you can right click on origin, then Reference, Scene Data, and find something that fits your need.
In this case delete / Bounding Box / Centroid fills origin with:
centroid(“../delete10”, D_X) centroid(“../delete10”, D_Y) centroid(“../delete10”, D_Z)
and the centroid for a node with one point happens to be at the location of that point.