jscut icon indicating copy to clipboard operation
jscut copied to clipboard

Engrave mode closes paths

Open prostolyubo opened this issue 2 years ago • 2 comments

When I select a curve that is not a closed path, jscut will close a path by connecting its two ends with a straight line and engrave this line (it should not be there). This should either be fixed or turned into a feature by adding a toggle: auto-close paths.

prostolyubo avatar May 12 '23 14:05 prostolyubo

jscut's core algorithms are polygon manipulation algorithms; they can't handle open paths.

tbfleming avatar May 12 '23 19:05 tbfleming

If you have enough time you can code anything. Right now I had small enough project that I could manually edit the generated GCode and get rid of the additional lines. If I'll ever have big enough project that it will be worth making this change then I'll fork and try. Maybe it will just come with certain limitations - like single path per svg object.

prostolyubo avatar May 13 '23 00:05 prostolyubo