Adaptive Three Points Family Perpendicular to Line Direction

Hi Mr. @RMohareb ,

I’m using your Dynamo script together with an Adaptive Three Points family to create a sample element. However, I noticed that the family is not perpendicular to the line direction as expected.

I already updated the parameter names in the script, so I’m wondering if the issue might be related to these nodes/parameters:

  • “Coordinate System … Axis”

  • “Vector.AngleAboutAxis”

Could you help me understand how these work and why the adaptive family orientation is not perpendicular to the line direction?

This is alignment and dynamo script.

Home.dyn (78.9 KB)

Aligment for testing.dwg (979.2 KB)

Thank you so much.

You send the Parameter to xz angel and calculate the angel between x global vector and Y vector. You can calculate it from Cs and vertical coordnasystem. From these cs calculate xz angel

I tried your suggestion, but it doesn’t seem to work.
Could you help me check dynamo script?


I tried with this one but it’s not correct 100%

use this

How can I see or display the coordinate system origin in Dynamo like you?

This is the default display mode for the Coordinate System (CS) in Dynamo; there is nothing special about it.

ah, I see. Thank you. I think can can solve the problem now.