mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
The encoder now adds 8 lock stitches at the very beginning of every pattern, matching the behavior of the original C# PesxToPen.cs code (Nuihajime_TomeDataPlus is called when counter <= 2). Key changes: - Find first non-MOVE stitch for lock stitch placement - Add 8 starting lock stitches before main encoding loop - Calculate forward-looking direction for optimal knot hiding - Update all 30 tests to account for starting lock stitches Also added tests to verify: - DATA_END flag is automatically added to last stitch - Starting lock stitches are correctly placed at pattern start 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| import | ||
| pen | ||