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.
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):