CreativeInquiry / PEmbroider

Embroidery Library for Processing
Other
443 stars 28 forks source link

Request toggle to enable/disable generation of connecting lines #103

Closed golanlevin closed 3 years ago

golanlevin commented 3 years ago

For people working with plotters (such as the AxiDraw), it would be good to have an explicit toggle to include or disclude the generation and export of "connecting lines" (lines between graphical objects). We already have the toggleResample() function, which helpfully eliminates intermediate stitches; this is the other piece of that puzzle. Also, please add to documentation :)

golanlevin commented 3 years ago

Looking at this image, the toggle would need to remove both the red lines, as well as the spurious black ones...is that possible?

PEmbroider_optimize_per_char

LingDong- commented 3 years ago

Yup, I'm going do it by littering every place with a conditional

if (! dont_connect){ /* do things that might produce connecting lines*/ }
LingDong- commented 3 years ago

Feature added: d4ac5bf14835460f72ab112e29372c7d6effa7c2

E.toggleConnectingLines(false);