Hi everyone,
How to orient automatically a beam to z to be tangent to mesh’s curves ? I have tried several options using vector and normals but have not been able to get the beam to orient to the curve instead of being straight to reference level.
test.dyn (59.0 KB)
Can you post the mesh as well? Hard to see what’s wrong with what we have been given.
Here is the mesh : test
My complete script currently 
And my problem in image (beams are not oriented from origin but from level)
Thx for your help
Hello
Take a solid centroid
get a vectors between centerlines and centroid
get angle between Zaxis and Vectors
set

1 Like
Perfect that’s works correctly with some correction. I’ve used curve.NormalAtParameter node particularly.
Thanks a lot !
1 Like