[Frage] Visual Scripting: Get length of a 3D line [Gelöst]

Schlagworte:

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

Anhänge (1)

img
2020-11-17_Line Length.JPG
Typ: image/jpeg
11-mal heruntergeladen
Größe: 24,40 KiB

Lösung anzeigen Lösung verbergen

Hello Marco,

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

Best regards
Horst

Anhänge (1)

img
LineLength.png
Typ: image/png
29-mal heruntergeladen
Größe: 18,05 KiB
1 - 3 (3)
  • 1

Hello Marco,

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

Best regards
Horst

Anhänge (1)

img
LineLength.png
Typ: image/png
29-mal heruntergeladen
Größe: 18,05 KiB

Hi Horst,

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

Best regards

Marco

1 - 3 (3)
  • 1

https://campus.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren