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

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


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

Many regards

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 (12.3 KB)

[edit: forgot reversed vectors…]