nick-parker / Bread

An experimental slicer for FFF 3D Printers
GNU General Public License v3.0
66 stars 10 forks source link

DegenerateLines being created by NativeInset.jtsinset #2

Closed nick-parker closed 9 years ago

nick-parker commented 9 years ago

I just covered up a bug where jtsInset was feeding the Infill module degenerate line segments, where the start and endpoints are equal. My "cover up" fix was to simply remove such lines in the Infill module, and since they don't crop up anywhere else in my tests it seems to be ok.

However, this may reappear someplace else in the future, so I'm documenting it. Switching back to ClipperLib2.dll for testing may be useful if it does reappear, since the JTS switch introduced it.