Five MIT-licensed 3MF test fixtures: where ThreeMFLoader, Blender, Assimp, and trimesh diverge on STL export

While building a browser-local 3MF-to-STL pipeline for 3D Converter (3MF to STL Converter Online — Free, Multi-Plate Support), we kept running into edge cases with real Bambu Studio and OrcaSlicer .3mf files—especially inch units, unknown required extensions, slicer boolean cutters (negative_part), and multi-plate builds.

To test these reproducibly (and compare against standard open-source pipelines), I put together a small MIT-licensed 3MF fixture set + runner scripts covering Three.js 0.185.1 (ThreeMFLoader + STLExporter), Blender 5.2.0 LTS (ThreeMF_io 2.7.3), Assimp 6.0.6, and trimesh 5.2.2:

GitHub repo (fixtures, scripts, raw JSON, zero-dependency STL inspector): GitHub - Jeremyymxiao/3d-format-conversion-benchmarks: Reproducible 3MF fixtures and measured cross-tool STL conversion results. · GitHub
Direct ZIP of all 5 fixtures (v1.0.0): https://github.com/Jeremyymxiao/3d-format-conversion-benchmarks/releases/download/v1.0.0/3mf-benchmark-fixtures-v1.0.0.zip
Full write-up (including a 64-case 3MF Consortium + slicer compatibility table): 3MF to STL Benchmark and Slicer Compatibility | 3D Converter

What showed up with ThreeMFLoader + STLExporter (0.185.1)

Fixture What it tests Three.js 0.185.1 Notes
inch-box.3mf unit=“inch” scaling to mm 1 × 0.5 × 0.25 Keeps raw coordinates without scaling to 25.4 × 12.7 × 6.35 (STL slicers read raw units as mm, so it opens 25.4× too small).
open-box.3mf Missing triangle / open shell 11 tris, 3 boundary edges Exports cleanly without warning.
required-extension.3mf Unknown requiredextensions namespace Exported STL Doesn’t reject unknown required extensions per 3MF Core spec.
through-hole.3mf Bambu/Orca negative_part metadata 24 tris, 10 mm tall (1,020 mm³) Exports both the base block and the cutter as separate solids instead of subtracting the through-hole (expected: 32 tris, 8 mm tall, 912 mm³).
ripple-vase-set.3mf Multi-plate Bambu 3MF + transforms 47,232 tris, 434.52 mm X span Correctly applied all component & build transforms (unlike Blender’s ThreeMF_io 2.7.3, which dropped the single-component transform and overlapped two vases); exports full build without plate filtering.

Reproducing the Three.js run locally

npm install --no-save --no-package-lock three@0.185.1 linkedom@0.18.12
node scripts/run_three.mjs fixtures/through-hole.3mf /tmp/three-out.stl
python3 scripts/inspect_stl.py /tmp/three-out.stl

Hope the fixtures and inspect_stl.py script are useful if you’re building 3MF import/export tooling in Three.js. If you have tricky .3mf files from other CAD/slicer tools—or want to add another loader/exporter to the comparison—PRs and issues are very welcome.