Add a mode to running stitch that uses randomized phase and stitch length instead of even spacing. This greatly reduces moire effects when stitching closely-spaced curves in running-stitch-based fills.
Add option for randomized running stitch to:
ripple stitch
circular fill
contour fill
guided fill
auto-fill
When is randomization is not selected, ripple stitch will use even running stitch when staggers are set to 0 (default) and the stagger algorithm from guided fill (which does not look nice with a stagger period of 0) when staggers is nonzero.
Also includes fix for satin contour underlays (missing tolerance default) mentioned in #2814. This sets the default tolerance to 0.2mm, which is the largest tolerance guaranteed to be backwards-compatible with existing designs using the default inset of 0.4mm.
Original commits:
* fix satin underlay tolerance default
* Add randomized running stitch, make available in ripple stitch, circular, and contour
* add randomized guided fill
* make ripple stitch use even stitching when not staggering or randomizing.
* add random auto-fill and switch jitter parameter to a percentage (matches satin)
* fix comments
* fix slide and control panel rendering bugs
* clear marker lists when clearing stitch plan
* switch simulator back to wx
* remove unused function
* fix off-by-one error in color bar
* avoid overlapping command symbols of different types
* don't maximize simulator
* adjust alignment
* remove unused API server
* bugfix
* focus entire simulator panel
* rename simulator/realistic preview -> simulator
* experimental: background color picker
* set pagecolor to background color by default
* satisfy macos
* toggle jumps on drawing canvas
* clear frog family
---------
Co-authored-by: Kaalleen
Setting the cache size to 0 bypasses the cache completely.
This is necessary during development to ensure newly-changed code actually gets run.
Also fixes the error pane in the params gui.
* make params warning pane large enough to see contents
* rename sizers in preferences dialog descriptive names
* add shapely version bound
* add option to disable stitch plan cache
* remove out-of-date wxg file
* make a cache size of 0 disable the cache
* dont fail on satin with fill
* fill stitch error message
* convert to satin mac issue
* auto_satin: add rung for two node old style satins
* avoid divide by zero in intersect_region_with_grating
* fix for incorrect stagger in guided fill
* better rail sectioning algorithm
* fix#1780
* fix#1816
Co-authored-by: Lex Neva
* guide line position
* use direction from line to shape
* optimize intersection detection
* fix flapack elf
* handle weird guide lines better
* update starting point for self crossing (multiple) fills
* ripple: fixes and non circular join style
* avoid jumps in ripple stitch
* fallback only necessary if shape does not intersect grating
* make valid may return a polygon
* add profiling
* Stitch.__init__ didn't work right and was super slow
* shrink or grow to multipolygon
Co-authored-by: Lex Neva