Rotate tangent plane at 3D spline

#1

Long story short, how to make the profile follow XYZ plane at point but Y or X component being always parallel to horizontal plane? Taking only XY component of the tangent vector doesn’t help because then the profile is always vertical thus not anymore perpendicular to point on curve and some of the profiles rotates 180 degrees for some reason.

test.dyn (32.3 KB)

#2

I post a technique at the bottom of the thread.

1 Like
#3

is this what you want ?

test.dyn (35.6 KB)

#4

@Thomas_Mahon Thanks! The profiles are horizontal and follow tangent plane at curve but the profiles still getting 180 rotation…

@khuzaimah.ElecEng
Not exactly. The image above shows what i want but without the 180 rotation of course.

#5

Not entirely sure I understand you, but this is a quite robust way to construct coordinatesystems:

5 Likes
#6

@jostein_olsen Thank you! That did the trick.