You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#1692
When tweaking cutsize and gap, the whole cut pattern can suddenly shift by half (cutsize+gap), which is really annoying. This change causes the cut pattern to always be centered on X=0.
Possibly controversially, it also makes this the default behaviour, which is backwards-incompatible.
// cutsize = The width of the cut pattern to be used.
444
445
// cutpath = The cutpath to use. Standard named paths are "flat", "sawtooth", "sinewave", "comb", "finger", "dovetail", "hammerhead", and "jigsaw". Alternatively, you can give a cutpath as a 2D path, where X is between 0 and 1, and Y is between -0.5 and 0.5.
445
446
// gap = Empty gaps between cutpath iterations. Default: 0
447
+
// cutpath_centered = Ensures the cutpath is always centered. Default: true
446
448
// inverse = If true, create a cutpath that is meant to mate to a non-inverted cutpath.
447
449
// spin = Rotate this many degrees around the Z axis. See [spin](attachments.scad#subsection-spin). Default: `0`
448
450
// orient = Vector to rotate top towards. See [orient](attachments.scad#subsection-orient). Default: `UP`
449
451
// $slop = The amount to shrink the mask by, to correct for printer-specific fitting.
// cutsize = The width of the cut pattern to be used. Default: 10
499
502
// cutpath = The cutpath to use. Standard named paths are "flat", "sawtooth", "sinewave", "comb", "finger", "dovetail", "hammerhead", and "jigsaw". Alternatively, you can give a cutpath as a 2D path, where X is between 0 and 1, and Y is between -0.5 and 0.5. Default: "jigsaw"
500
503
// gap = Empty gaps between cutpath iterations. Default: 0
504
+
// cutpath_centered = Ensures the cutpath is always centered. Default: true
501
505
// spin = Rotate this many degrees around the Z axis. See [spin](attachments.scad#subsection-spin). Default: `0`
502
506
// orient = Vector to rotate top towards. See [orient](attachments.scad#subsection-orient). Default: `UP`
503
507
// $slop = The width of the cut mask, to correct for printer-specific fitting.
// cutsize = The width of the cut pattern to be used.
543
548
// cutpath = The cutpath to use. Standard named paths are "flat", "sawtooth", "sinewave", "comb", "finger", "dovetail", "hammerhead", and "jigsaw". Alternatively, you can give a cutpath as a 2D path, where X is between 0 and 1, and Y is between -0.5 and 0.5.
544
549
// gap = Empty gaps between cutpath iterations. Default: 0
550
+
// cutpath_centered = Ensures the cutpath is always centered. Default: true
545
551
// spin = Rotate this many degrees around the Z axis. See [spin](attachments.scad#subsection-spin). Default: `0`
546
552
// ---
547
553
// $slop = Extra gap to leave to correct for printer-specific fitting.
0 commit comments