Skip to content

feat: add Full Sweep scan mode for faster raster engraving#264

Merged
knipknap merged 1 commit into
mainfrom
faster-engraving-scan-mode
Jun 8, 2026
Merged

feat: add Full Sweep scan mode for faster raster engraving#264
knipknap merged 1 commit into
mainfrom
faster-engraving-scan-mode

Conversation

@knipknap

Copy link
Copy Markdown
Contributor

Summary

  • Adds a new Scan Mode option to the raster engraver with two choices: Segmented (default, existing behavior) and Full Sweep (new)
  • Full Sweep scans the entire width of each scan line with laser power toggling on/off, instead of splitting into separate segments per content region. This dramatically reduces acceleration/deceleration moves for high-contrast images with many separate black regions.
  • Works across all depth modes: Power Modulation, Constant Power, Dither, and Multi-Pass
  • Includes UI toggle in the Engraving Pattern settings group, serialization with backward compatibility, and comprehensive tests

Closes #253

Context

When engraving images with high contrast (many separate black regions per line), the segmented approach causes the laser to accel/decel for each region, resulting in 4x+ longer engraving times. Full Sweep trades slightly reduced sharpness (laser passes over white regions at zero power) for significantly faster engraving.

@knipknap
knipknap force-pushed the faster-engraving-scan-mode branch from d8bb8e2 to 8a6b4fa Compare June 8, 2026 21:46
@knipknap
knipknap merged commit 260a451 into main Jun 8, 2026
25 of 27 checks passed
@knipknap
knipknap deleted the faster-engraving-scan-mode branch June 12, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Faster engraving pattern

1 participant