[Domanda] Visual Scripting: Get length of a 3D line [Risolto]


Hello everyone,

I developed a VS that needs a 3Dline as input (Node: <Line3DInput>). In order to change the inclination of the 3Dline (e.g. with a double input of the inclination), I want to get the horizontal, vertical, and diagonal length (like the three sides of a triangle). Is there a node that gives me these length values back or do I have to calculate them manually (coordinate differences)?

Regards,

Marco

Allegati (1)

Type: image/jpeg
30 scaricato
Size: 24,40 KiB

Show solution Hide solution

Hello Marco,

you can create a Vector3D, from which you get the needed length.

Best regards
Horst

Allegati (1)

Type: image/png
96 scaricato
Size: 18,05 KiB

Hello Marco,

you can create a Vector3D, from which you get the needed length.

Best regards
Horst

Allegati (1)

Type: image/png
96 scaricato
Size: 18,05 KiB

Hi Horst,

thank you for your answer - it helped me a lot.

Best regards

Marco


https://campus.allplan.com/ utilizza cookies  -  Maggiori informazioni

Accetta