mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 02:13:41 +00:00
Controller Software for the Brother PP-1 SKiTCH embroidery machine.
This commit addresses multiple critical issues in pattern rendering and coordinate handling: 1. Fixed Y-axis offset accumulation in penParser.ts - Corrected sign extension logic for 16-bit signed coordinates - Changed to interpret full 16-bit value as signed before shifting - Prevents coordinate drift and offset accumulation 2. Fixed color assignment for tack stitches in patternConverter.worker.ts - Added detection for small finishing stitches after COLOR_CHANGE commands - Assigns tack stitches to correct (previous) color instead of new color - Uses conservative pattern matching (< 1.0 unit, followed by JUMP) 3. Made jump stitches visible in pattern preview (KonvaComponents.tsx) - Render jump stitches in thread color instead of gray - Use dashed pattern [8, 4] to distinguish from regular stitches - Set appropriate opacity (0.8 completed, 0.5 not completed) - Fixed critical bug: include previous position in jump groups to create proper line segments 4. Updated konvaRenderers.ts for consistency - Applied same jump stitch rendering logic - Ensures consistent behavior across rendering methods 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .github | ||
| build | ||
| docs | ||
| electron | ||
| public | ||
| src | ||
| .gitignore | ||
| .node-version | ||
| CLAUDE.md | ||
| eslint.config.mjs | ||
| forge.config.js | ||
| index.html | ||
| LICENSE.md | ||
| package-lock.json | ||
| package.json | ||
| tailwind.config.js | ||
| tsconfig.app.json | ||
| tsconfig.electron.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.electron.mts | ||
| vite.config.mts | ||