Skip to content

Allow decimal bin heights#10

Merged
jaak0b merged 1 commit into
masterfrom
worktree-unified-bin-edits
Jul 22, 2026
Merged

Allow decimal bin heights#10
jaak0b merged 1 commit into
masterfrom
worktree-unified-bin-edits

Conversation

@jaak0b

@jaak0b jaak0b commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Bin height in grid units now accepts fractional values (for example 5.5 units for a 38.5 mm bin to fit non-multiple-of-7 drawers). The geometry engine was already continuous in height; this relaxes the four explicit integer guards (generator validation, plan file validation twice, screw form) and changes the height inputs to step 0.5 with free decimal typing. Each height field shows the resulting overall height in mm, derived from the engine HEIGHT_UNIT constant. Grid footprint stays integer; cutout auto-fit still rounds up to whole units.

Build green, 1181 tests pass (3 new).

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@jaak0b
jaak0b merged commit 30c8abc into master Jul 22, 2026
1 check passed
@jaak0b
jaak0b deleted the worktree-unified-bin-edits branch July 22, 2026 19:44
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.

1 participant