Open pederlh opened 1 year ago
Updated the MRE with a much simpler cross section polygon (previously Polygon crossSection = new Circle(radius: 0.25).ToPolygon(20);
) and a sweep curve with fewer points.
There is a bug related to setbacks. They are distance based, so with setbacks of 1 and 1 resulting polyline for sweep would end up with only two points: X: 20.0, Y: 15.0, Z:1.0 and X: 20, Y = 14.85, Z = 1.146. First segment is skipped since it's length is exactly 1, last segment is also skipped but because its length is only 0.5, part of middle segment, starting from end will be skipped as well. Is this expected behavior for you?
Yes, that is exactly what I would expect. Thank you for working on the fix!
Describe the bug From version 1.6.0 to 2.0.0, an exception is thrown when initializing some Sweep objects, in cases where possible earlier. A reproducible example is included below.
To Reproduce
Desktop (please complete the following information):