Place Block along Rail with CANT

Hi, I’m currently attempting to place rail sleepers/ties along a rail alignment with CANT applied using the AlignmentExtensions.GetCantInfoAtStation node. but and struggling with orientating the block to follow the cant rotation. Any ideas please?

1 Like

Hi @aa047 ,

I’m not a rail expert, but could you get coordinate systems along the profile at the desired sleeper locations and then rotate them?

Cant Example.dwg (1.5 MB)
Cant Example.dyn (935.3 KB)

3 Likes

Thank you @mzjensen that works!,

I actually manged to get it to work about 5 mins before you posted via a different node.
I found Vector.Rotate worked a treat too.

Thankyou

1 Like

Multiple ways to get there :slight_smile: glad it works!

1 Like