Angle between two Vector3d, Vector Direction of a Line3d

Hi !

I have given two Lines ( Rhino Geometry ) to be Input Parameters to PythonScript in Grasshopper. I have to determine the Angle between the two Lines by their Vector3d.

How does the Python Code has to be generated ?

Many regards
Vanessa

You can use the Rhino.Geometry.Vector3d.VectorAngle method:

2 Likes

Thank you ! I find it difficult to translate the given instruction into code but I managed it somehow !

Many regards
Vanessa

It always help to provide a code snippet, file, or even a screenshot. Also, welcome to the forum :slight_smile:

Thank you! :slight_smile: Here is Task 2 : The error message defines List does not have direction …

this might work
Task_2_maybe.gh (12.3 KB)

[edit: forgot reversed vectors…]