Skip to the content.

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:

  1. Extract groove surfaces from source bowl
  2. Solidify grooves (5 mm extrusion)
  3. Generate 29 notepad meshes (no screw holes)
  4. Build pan body (groove faces kept in body)
  5. Extend outer-ring pad-hole boundaries
  6. Thicken body to 5 mm solid
  7. Generate per-pad groove-replacement ellipsoids
  8. Merge body with central+inner ellipsoids
  9. Voxel-remesh + pads + outer grooves + debris strip → pan_printable.stl
  10. Split body into 7 printable pieces (truncate at Z=−122, solidify drum wall, build strut wedges with joinery)
  11. Generate plug.stl (4 × 18 mm alignment peg)
  12. Generate full bottom plate + split into 6 P1S-printable sectors
  13. Generate Bambu P1S .3mf build plates (14 files)
  14. 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):

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

Tenor Pan Note 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:

# 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:

  1. Note Pad — Thickened to 1.5mm with a threaded mounting cylinder and 4 corner bosses
  2. Mount Base — Screws onto the note pad, includes PCB mounting bosses (M2 holes) for electronics
  3. 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

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