Globe-Box Approach (Printable Earth)

This document captures how model-render-print-box turns the GDEM data on the shared /datasets volume into STL models that load into a slicer and print on a 3D printer. It is a decision log; mark each option decided with a date and reason.

Goal

A small desk globe, 100 mm in diameter at sea level, that prints as two halves divided at the equator plus a third piece — a hollow twist-lock cylinder that joins the halves. The Earth’s surface comes from the ETOPO 2022 dataset (/datasets/dataset-etopo-2022/, 15-arcsecond GeoTIFF tiles, read-only). The set is three STL files that: - load into OrcaSlicer / PrusaSlicer (binary STL, millimeters, watertight), - print on a common FDM printer (each half’s rim is a flat annulus that sits on the bed, dome up), - assemble into a sphere whose hemispheres meet at the equator with an aligned relief seam, locked by twisting the two hemispheres in opposite directions (the ring is entirely inside).

Source data

Candidate approaches

  1. Two hemisphere halves + twist-lock cylinder — CHOSEN (decided 2026-08-27)
    • The globe is split at the equator into a northern half (lat 0..90) and a southern half (lat -90..0). Each half is a hollow shell: the outer surface is the sphere at radius radius_mm + relief, the inner surface is a sphere at radius_mm - wall_mm with a cylindrical socket (bore) at the rim of radius socket_radius_mm for socket_depth_mm. The rim is a flat annulus at z = 0 that sits on the print bed.
    • The third piece is a hollow cylinder whose outer surface mates with the halves’ sockets. It is entirely INTERNAL: a plain tube spanning the two sockets, with no protruding band, so the hemispheres’ rims meet at the equator (decided 2026-08-31). Locking is done by twisting the two hemispheres, so the ring needs no grip.
    • Bayonet lock: 3 pins on the cylinder near each end, at 0/120/240 degrees, engage L-shaped grooves cut into the socket bores. Insert the cylinder into one half (pins aligned to the groove entrances), slide the other half over the far end, then twist the two hemispheres in OPPOSITE directions by twist_degrees (30) — both pin sets ride into both halves’ grooves at once, and the ring stays put (held by its friction fit). Two hands, one on each hemisphere, lock and unlock the globe (the natural two-hand motion).
    • The two halves’ grooves are generated with the SAME handedness in their own STL frames (both -twist); the south half’s assembly flip (180 deg about x) reverses its azimuth, so in the assembled globe the north grooves turn -twist and the south +twist — OPPOSITE handedness, which is what an opposite-direction two-hand twist needs.
    • The north half’s groove pattern (axial channels AND circumferential grooves) is rotated +2 x twist_degrees (60) in its STL frame, so at insertion the north relief starts 2 x twist degrees WEST of the south half’s. Twisting north +30 and south -30 (opposite directions) brings both halves to the same rotation, so the relief seam is aligned when locked (decided 2026-08-31).
    • History: without the offset, an opposite-direction twist locked the halves 2 x twist_degrees (60 deg) apart and offset the relief seam (measured ~50 deg); a same-direction twist aligned them but felt unnatural. The offset gives the natural two-hand motion AND an aligned seam.
  2. Threaded halves — rejected (decided 2026-08-27)
    • The two halves screw together directly on a thread at the rim. Simple to print, but the halves rotate many turns relative to each other during assembly, so the relief seam ends up at an arbitrary longitude unless the thread pitch is engineered for exact alignment; the bayonet avoids that with a fixed 30-degree stop.
  3. Full solid globe / stacked rings — deferred (decided 2026-08-27)
    • Prints a solid sphere or concentric rings; heavier, larger than the bed at useful sizes, and the task asks for two halves plus a twist-lock.

Geometry (per piece)

South half mirroring