Hello,
I try using BreakAtAngles on a Rhino.Geometry.Polyline object made of segments aligned on X and then Y direction and the method BreakAtAngles is not returning the two sub-polylines that I would be expecting (returns the original polyline instead).
Here is what I tried:
points = [Rhino.Geometry.Point3d(0,0,0),
Rhino.Geometry.Point3d(1,0,0),
Rhino.Geometry.Point3d(2,0,0),
Rhino.Geometry.Point3d(2,1,0),
Rhino.Geometry.Point3d(2,2,0)]
testPolyline = Rhino.Geometry.Polyline( points )
testSubPolylines = testPolyline.BreakAtAngles( math.radians(1) ) # 1 degree
# Here, testPolyline == testSubPolylines!!!
P.S.:Here is the Rhino version I use: Version 5 SR11 32-bit (5.11.50226.17195, 2015-02-26)