Stage 3: the 3D-printed tenor pan
Part of deepPan. This folder holds the original deepPan build: a printable tenor steel pan made from a 3D-scanned model, split into printable sections with individually mounted note pads. Each pad has a sensor mount, ready for the hit sensors developed in stage 2 and the active sticks from stage 1.
Run everything from this folder (cd stage3_printed_pan): the scripts use paths relative to it (data/, pipeline_output/).
Quick build (recreate the DEFINITIVE model from scratch)
The committed model in pipeline_output/ is the definitive build. The
build pipeline below regenerates it byte-for-byte from data/Tenor Pan only.obj.
./build_from_scratch.sh # full regenerate (~90 min)
python3 test_pipeline.py # quick checksum check against committed manifest
python3 test_pipeline.py --full # full byte-for-byte regenerate-and-compare
The pipeline runs 14 stages:
- Extract groove surfaces from source bowl
- Solidify grooves (5 mm extrusion)
- Generate 29 notepad meshes (no screw holes)
- Build pan body (groove faces kept in body)
- Extend outer-ring pad-hole boundaries
- Thicken body to 5 mm solid
- Generate per-pad groove-replacement ellipsoids
- Merge body with central+inner ellipsoids
- Voxel-remesh + pads + outer grooves + debris strip →
pan_printable.stl - Split body into 7 printable pieces (truncate at Z=−122, solidify drum wall, build strut wedges with joinery)
- Generate plug.stl (4 × 18 mm alignment peg)
- Generate full bottom plate + split into 6 P1S-printable sectors
- Generate Bambu P1S
.3mfbuild plates (14 files) - Generate multi-object assembly view (no outer sleeves, per-pad mounts)
pipeline_output/MANIFEST.sha256 records the SHA-256 of every committed
output; test_pipeline.py compares regenerated files against it (and removes
the redundant regenerated copies on a clean match).
Printable parts and 3MF files
The full printable assembly is 14 files ready to print on a Bambu P1S (256 × 256 × 256 build volume):
| File | Qty | Notes |
|---|---|---|
pipeline_output/3mf/pan_central_half_0.3mf and _half_1.3mf |
2 | Central bowl sliced in half at X=0. Each printed FLAT-CUT-FACE DOWN. 3 dowel-pin holes in tabs hanging from the bowl underside at the cut face — mated with 3 plugs from small_parts_plugs.3mf. Each half retains 3 of the 6 underside pegs that slot into the wedge tops. |
pipeline_output/3mf/pan_outer_0.3mf … pan_outer_5.3mf |
6 | 60° outer sectors. Each has 2 half-wedges on its tangential edges (with horizontal-peg channels + central-peg receiver + base-screw tap holes) |
pipeline_output/3mf/bottom_plate_sector_0.3mf … _5.3mf |
6 | Pie sectors of the bottom plate. Each has perimeter screws into the drum skirt + 2 wedge-screw clearance holes |
pipeline_output/3mf/small_parts_plugs.3mf |
1 (= 12 plugs) | 12 horizontal alignment pegs — print all on one plate |
Joinery (no visible screw holes on the outside):
- Adjacent outer pieces → 2 horizontal pegs at each strut plane (R=130 + R=200), tangential axis, pushed in from the cavity side
- Central piece → 6 pegs baked onto its underside drop into receiver holes carved in the wedge tab tops
- Bottom plate → wedges → 12 M4 screws from below the plate, countersunk on the plate’s underside
- Bottom plate → drum skirt → 8 M4 perimeter screws
Inspecting the assembly
Open pipeline_output/assembly_view_with_plugs.obj in Blender — 49 separately
labelled objects (7 pan pieces + bottom plate + 12 horizontal pegs + 12 outer
mount bases + 17 central/inner push-caps). Each can be toggled on/off
independently to inspect any sub-system.
Tenor Pan Layout

The tenor pan has 29 note pads in three concentric rings:
| Ring | Notes | Interval | Octave |
|---|---|---|---|
| Outer | 12 | 4ths | 4 |
| Central | 12 | 5ths | 5 |
| Inner | 5 | 6ths | 6 |
Section Generator
The pan’s outer ring is split into 6 printable sections of 60° each, designed to fit a Bambu Lab P1S printer (256 x 256 x 256 mm). Each section contains 2 outer-ring notes and assembles together to reconstruct the full pan shell.
| Section | Angle | Notes |
|---|---|---|
| S0 | 15° – 75° | O2, O1 |
| S1 | 75° – 135° | O0, O11 |
| S2 | 135° – 195° | O10, O9 |
| S3 | 195° – 255° | O8, O7 |
| S4 | 255° – 315° | O6, O5 |
| S5 | 315° – 15° | O4, O3 |
Each section includes:
- Notepad pockets — Sunken recesses (1.5mm deep) matching each note’s shape, with M4 boss through-holes for mounting
- Profile-following support walls — Radial walls along each cut edge whose top profile follows the drum surface, with M4 bolt holes and finger joints for alignment
- Inner arc support — Curved wall at R=145mm with studs and cable routing hole
- Drum wall — Original scanned drum geometry preserved without subdivision
# Generate all 6 sections
python generate_quarter.py --all
# Generate a single section
python generate_quarter.py S0
# View in Blender
blender --python view_all_sections.py
Note Pads
Each of the 29 note pads is extracted from the 3D scan and converted into a printable solid with integrated mounting hardware:
- Note Pad — Thickened to 1.5mm with a threaded mounting cylinder and 4 corner bosses
- Mount Base — Screws onto the note pad, includes PCB mounting bosses (M2 holes) for electronics
- Outer Sleeve — Protective housing with 12 grip ridges and cable routing
All threads use a push-fit ring groove design (2mm pitch, 1mm depth, 0.3mm clearance) optimized for FDM printing.
# Generate all 29 note pads
python generate_notepad.py --all
# Generate a specific note pad
python generate_notepad.py O5
# Generate mount hardware
python generate_mount_base.py
python generate_outer_sleeve.py
3D Printing Notes
- All meshes are watertight and manifold
- Recommended layer height: 0.2mm
- Recommended infill: 20–30%
- Support may be needed for note pad overhangs
- Thread clearance designed for FDM printers (0.3mm)
Pipeline Summary
| Step | Script | Output |
|---|---|---|
| Extract pan surface | extract_pan_surface.py |
Centered bowl mesh |
| Generate note pads | generate_notepad.py --all |
29 note pad OBJ/STL + properties |
| Generate sections | generate_quarter.py --all |
6 section OBJ/STL + properties |
| Generate mount hardware | generate_mount_base.py |
Mount base STL/OBJ |
Folder contents
stage3_printed_pan/
├── data/ # notepad_properties.json, section_properties.json, centroid offset
│ # (meshes are regenerated; source OBJ: data/Tenor Pan only.obj)
├── pipeline_output/ # MANIFEST.sha256 + 14 Bambu P1S .3mf build plates
├── old/ # superseded scripts
├── build_from_scratch.sh # full 14-stage build
├── test_pipeline.py # checksum test against the manifest
├── generate_*.py, split_*.py, make_*.py, merge_*.py, solidify_*.py, ... # pipeline stages
└── view_all_sections.py # Blender viewer
Requirements
- Python 3.x
- numpy
- scipy (for audio)