BHoM / Rhinoceros_Toolkit

Set of functionalities for communication with Rhinoceros
GNU Lesser General Public License v3.0
6 stars 2 forks source link

invalid check on ToRhino for extrusion #223

Open IsakNaslundBh opened 2 years ago

IsakNaslundBh commented 2 years ago

Description:

Method as a error in the check for if a extrusion can be returned (curve planar with a normal aligned with the direction vector of the extrusion). The check for parallel vectors should check if the angle is < than tolerance or if the angle -PI (180 degrees) is within tolerance. Currently instead checks against 2*PI (360degrees)

Steps to reproduce:

Make a BHoM extrusion object with a planar curve with a normal vector that is antiparallel with the direction vector.

Expected behaviour:

Test file(s):