2
0
Fork 0

refactor: make the gamma case one-piece with a rounded USB entry #17

Merged
aleksei merged 14 commits from feat/gamma-magnet-block into main 2026-10-30 09:40:41 +00:00
Owner

Summary

Gamma is a fully one-piece case, and the USB entry is now rounded instead of
chamfered.

One-piece body

  • Removed the rear split, the separate rear cap and the rear assembly gap.
  • Removed all magnets, magnet pads/pockets/slots and the magnet coupon.
  • Removed the mortise/tenon/dovetail rear-cap seat.
  • The rear wall, rear top frame, USB opening and rear floor are part of the
    same case_body() mesh.
  • generate.sh now produces only:
    • case_body.stl
    • plate.stl
    • case_assembly.stl (body + plate + PCB preview)
  • Assembly/exploded previews contain body + plate + PCB only.
  • README rewritten for the one-piece case.

USB entry

  • Replaced the straight USB lead-in chamfer with a quarter-circle fillet.
  • Fillet radius is R2.0, the same as the outer case edges.
  • The flare is built from 16 hulled slices, matching the case fillet facet
    count.
  • The through opening remains 14 × 8.5 mm; the outer envelope is
    18 × 12.5 mm over a 2.0 mm depth.

Verification

  • case_body.stl: 1 shell, 0 non-manifold edges, 181.82 cm³;
    bbox 298.6 × 113.2 × 29.709 mm.
  • plate.stl: 1 shell, 0 non-manifold edges, 21.41 cm³.
  • case_assembly.stl: 3 shells (body, plate, PCB), 0 non-manifold edges,
    246.37 cm³.
  • main_body intersections with the PCB and plate are empty.
  • ./generate.sh, dprint check and git diff --check pass.

Notes

  • The case is one continuous print; there is no rear lid to fit or remove.
  • The rear wall is the PCB rear stop.
  • The body can still be printed bottom-down or rear-end-down; the rear-end-down
    orientation keeps the standoff support benefit.
  • A 270 × 270 bed still needs a side split because the body is 298.6 mm wide.
  • The USB fillet is visible as a smooth rounded flare around the port, not a
    conical countersink.
## Summary Gamma is a **fully one-piece case**, and the USB entry is now rounded instead of chamfered. ### One-piece body - Removed the rear split, the separate rear cap and the rear assembly gap. - Removed all magnets, magnet pads/pockets/slots and the magnet coupon. - Removed the mortise/tenon/dovetail rear-cap seat. - The rear wall, rear top frame, USB opening and rear floor are part of the same `case_body()` mesh. - `generate.sh` now produces only: - `case_body.stl` - `plate.stl` - `case_assembly.stl` (body + plate + PCB preview) - Assembly/exploded previews contain body + plate + PCB only. - README rewritten for the one-piece case. ### USB entry - Replaced the straight USB lead-in chamfer with a **quarter-circle fillet**. - Fillet radius is **R2.0**, the same as the outer case edges. - The flare is built from **16 hulled slices**, matching the case fillet facet count. - The through opening remains **14 × 8.5 mm**; the outer envelope is **18 × 12.5 mm** over a 2.0 mm depth. ## Verification - `case_body.stl`: 1 shell, 0 non-manifold edges, **181.82 cm³**; bbox **298.6 × 113.2 × 29.709 mm**. - `plate.stl`: 1 shell, 0 non-manifold edges, 21.41 cm³. - `case_assembly.stl`: 3 shells (body, plate, PCB), 0 non-manifold edges, 246.37 cm³. - `main_body` intersections with the PCB and plate are empty. - `./generate.sh`, `dprint check` and `git diff --check` pass. ## Notes - The case is one continuous print; there is no rear lid to fit or remove. - The rear wall is the PCB rear stop. - The body can still be printed bottom-down or rear-end-down; the rear-end-down orientation keeps the standoff support benefit. - A 270 × 270 bed still needs a side split because the body is 298.6 mm wide. - The USB fillet is visible as a smooth rounded flare around the port, not a conical countersink.
- replace the four cylindrical magnet bosses with two rectangular pads, one per side
- each pad carries two pockets at Z=6.2 and Z=11.8 and blends into the side wall and pan floor
- use a 3.8 x 12 mm rounded pad section with R1.6 tangent outer corners
- cut the side slots from the pad inner face and keep the split-face skin
- update the README magnet section and parameters
- increase the pad height to 13.2 mm and space the seats at Z=6.0 and Z=12.8 mm
- thicken the divider between the two seats
- reduce the pad corner radius to R1.0 so the top/bottom faces are wider
- stop the side slots 1.4 mm inside the pocket so they do not cut the pad top or outer wall
- round the side slot opening with R0.5 corners
- update the README dimensions and slot notes
aleksei changed title from feat: put the gamma magnets in per-side wall pads to feat: space the gamma magnet seats in per-side wall pads 2026-10-29 14:01:22 +00:00
- run the rectangular magnet pad from the pan floor into the top rim
- keep the pad inner face at X=142.7, outboard of the PCB/plate edge at 142.5
- move the seats to Z=8.0 and Z=24.0, 16 mm apart
- keep the upper seat in the top rim and the lower one below the PCB
- clip the pad to the outer case and top plane; round the lower corners
- update the README magnet dimensions and the PCB insertion note
aleksei changed title from feat: space the gamma magnet seats in per-side wall pads to feat: run the gamma magnet pads into the top rim 2026-10-29 15:02:41 +00:00
- factor the un-cut top outer solid out of top_shell
- add case_outer_solid including the top and bottom fillets
- clip both magnet pads to case_outer_solid so they cannot break through the rounded outer surface
- keep the pads' tops clipped by the top plane and merged into the rim
- update the README clipping note
- move the upper magnet seat from Z=24.0 to Z=23.0, 1 mm under the top rim
- keep the seats 15 mm apart
- bury the pad bottom rounding below the pan floor so the visible bottom contact is square
- keep the upper rounding and the full-outer-shell clipping
- update the README dimensions and rounding note
- derive MAGNET_Z_TOP so the upper slot top is 1 mm below the front edge of the top-rim underside (the tilted plate-step plane)
- upper seat moves from Z=23.0 to Z=20.687; the magnet is now fully under the rim
- keep the lower seat at Z=8.0; the pair is 12.7 mm apart
- update the README magnet heights and spacing
- lower the upper slot another 1 mm; its top is now 2 mm below the top-rim underside
- upper seat moves from Z=20.687 to Z=19.687; the pair is 11.7 mm apart
- taper the pad inner face from just above the upper slot into the rim
- reach the key-opening edge at the rim underside and bury the top face 2.6 mm inside the rim
- remove the step/protrusion at the rim and end the pad smoothly instead of abruptly
- update the README dimensions and taper note
- inset the pad outer face 0.4 mm behind the case skin (block width 6.2 mm)
- keep the outer wall continuous so the pad is no longer visible or proud on the outside
- replace the inner rim taper with a hull from the full pad into the side wall
- end the top section flush with the wall inner face, below the rim
- remove the step/protrusion at the rim and blend the pad like the standoffs
- lower the upper seat another 2 mm to Z=17.687; the pair is 9.7 mm apart
- update the README dimensions, pocket heights and transition note
- keep only the lower magnet pair, one seat per side
- remove the tall upper pad and the upper pockets/slots
- shorten the pad to Z=2..12 with the 4 mm split-frame length
- add blind mortises in the body side walls and matching tenons on the cap
- add 0.2 mm clearance around the tenon and 0.25 mm at the tip
- use the mortise-and-tenon seat to locate the top of the cap
- update the magnet coupon, README and parameter table
aleksei changed title from feat: run the gamma magnet pads into the top rim to feat: seat the gamma rear cap with lower magnets and side tenons 2026-10-29 16:35:33 +00:00
- open the magnet side slot through the pad inner face after the pad inset
- align the body mortise top with the middle of the top rim
- add a wider snap chamber at the blind end of each mortise
- fork the cap tenons and add 0.4 mm barbs that expand into the chamber
- catch the barb shoulders on the chamber step so the cap snaps in
- keep 0.2 mm prong clearance and 0.1 mm expanded-barb clearance
- update the README and parameter table
aleksei changed title from feat: seat the gamma rear cap with lower magnets and side tenons to feat: snap the gamma rear cap into side mortises 2026-10-29 18:06:12 +00:00
- remove the forked tenon, barbs and snap chamber
- use a simple dovetail mortise in each body side wall
- use a matching dovetail tenon on the cap, wider at the bottom
- 0.2 mm clearance all round; the cap weight seats the wedge
- keep the mortise top at the middle of the top rim
- lower magnets hold the cap; no flexible snap to release
- update the README and parameter table
aleksei changed title from feat: snap the gamma rear cap into side mortises to refactor: hold the gamma rear cap with a dovetail wedge 2026-10-29 18:29:46 +00:00
- replace the sharp dovetail prism with a rounded-corner profile
- use R0.6 on all four tenon corners
- cut the body mortise with the same profile offset by the 0.2 mm clearance
- keep the nominal widths, heights and the mid-rim top edge
- update the README and parameter table
- make the full case_body the only body mesh
- remove the rear split, rear cap, magnets, seats and tenons
- keep the rear wall, rear top frame, USB and rear floor in the one-piece body
- remove the rear/magnet/coupon outputs from generate.sh
- simplify assembly/exploded previews to body + plate + PCB
- rewrite the README for the fully one-piece case
aleksei changed title from refactor: hold the gamma rear cap with a dovetail wedge to refactor: merge the gamma rear cover into the body 2026-10-29 19:12:22 +00:00
- replace the straight USB lead-in chamfer with a quarter-circle fillet
- use the same 2.0 mm radius as the case edges
- build the flare from 16 hulled slices for a smooth faceted entry
- keep the 14 x 8.5 mm through opening and 18 x 12.5 mm outer envelope
- update the README USB note and parameter table
aleksei changed title from refactor: merge the gamma rear cover into the body to refactor: make the gamma case one-piece with a rounded USB entry 2026-10-29 19:36:26 +00:00
aleksei deleted branch feat/gamma-magnet-block 2026-10-30 09:40:41 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoo/keyboard!17
No description provided.