Start a design from someone else's 3MF or STL (MakerWorld, Printables, Thingiverse): read the mesh out of the file, turn it into exact feature coordinates, rebuild it parametrically, prove the copy matches the source solid for solid, then change it, within the model's license. Use when someone says 'remix this', 'modify this model', 'make this bigger or closed', 'add a lid to this', hands over a .3mf or .stl, or links a MakerWorld or Printables page.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Remix A Model?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alexnodeland-remix-a-model)
---
name: remix-a-model
description: "Start a design from someone else's 3MF or STL (MakerWorld, Printables, Thingiverse): read the mesh out of the file, turn it into exact feature coordinates, rebuild it parametrically, prove the copy matches the source solid for solid, then change it, within the model's license. Use when someone says 'remix this', 'modify this model', 'make this bigger or closed', 'add a lid to this', hands over a .3mf or .stl, or links a MakerWorld or Printables page."
---
# Remix a model: read it, rebuild it, prove it, change it
Don't edit someone's mesh. Read its exact numbers, rebuild it as a parametric `build.py` (`freecad-build`), prove the
rebuild is the same solid, and only then change it. Every change is then a named parameter, and the proof shows the
parts you meant to keep are still the original.
## 1. The license, before anything
Read the license on the model's page and write it into the README.
- **MakerWorld Standard Digital File License:** personal use only, no redistribution. Print at home; never publish
the files, the rebuild, or its STLs, renders or 3MFs. (pcie-box: "This folder is for printing at home.")
- **CC BY-NC-SA** (xiangqi's source): remixes allowed, with attribution, non-commercial, under the same license.
Publishing still waits for the person's go.
- **CC BY** or **CC0:** remix and share, crediting as asked.
- Keep the source file in `ref/`. If the license forbids redistribution, gitignore it and link the page instead
(xiangqi never commits the original author's files).
- No license stated means no permission beyond printing your own copy. Ask before publishing anything derived.
## 2. Read the mesh
A 3MF is a zip. `3D/3dmodel.model` lists build items (each placed on the plate by a transform) and objects; an object
is a mesh or a list of components, which Bambu Studio and Orca keep in `3D/Objects/object_N.model`. Part and object
names live in `Metadata/model_settings.config`.
```sh
python3 -I probe_3mf.py ref/model.3mf # name, size, volume, closed or not, per object and part
python3 -I probe_3mf.py ref/model.3mf --values # + every distinct X, Y and Z vertex value
python3 -I probe_3mf.py ref/model.3mf --stl ref/stl # + one STL per object
```
`templates/probe_3mf.py` follows components and their transforms, leaves out the plate placement, and shifts each
object so its bounding-box minimum is 0,0,0. The pcie-box tray read as 492 triangles, closed, 193,466 mm³,
141.0 × 163.0 × 25.498 mm. An STL is already a bare mesh: load it with `Mesh.Mesh(path)` in FreeCAD.
## 3. Turn it into feature coordinates
- **Flat-faced models sit on a few planes.** The distinct values are the walls, slot edges and floor heights; the
count beside each says how many vertices share it, so a feature plane has many and a stray vertex one or two.
- **Widths and centres come from pairs:** two slot edges 1.621 apart give the remix's slot width; their mean is the
slot's centre.
- **Near-duplicates are the author's slivers.** The tray has floors at 17.498 and 17.5 and edges at 36.03 and 36.038.
Pick the design intent; the proof will show the sliver as a few mm³.
- **Copy irregularities exactly** while proving the copy (one of the tray's slots sits 0.2 mm off its pitch). Decide
afterwards whether to keep them.
- **Curved features:** take sections (`mesh.crossSections`) at chosen heights and read radii off the polylines
(xiangqi probed a chess piece's profile at 20 heights this way). Code in `references/rebuild-and-prove.md`.
- Put the frame in a comment: where the origin is and which way each axis runs.
## 4. Rebuild it
Write `build.py` with every feature from those numbers, named (`freecad-build`). Build the source's own version as a
function (`remix_tray()` in pcie-box), separate from the version you'll change, so the proof keeps running.
## 5. Prove the copy, solid for solid
Turn the source mesh into a solid and compare: what the rebuild has that the source doesn't, and the reverse.
```python
extra, missing = rebuilt.cut(ref), ref.cut(rebuilt)
check("rebuilt = source (symmetric difference < 0.1 % of its volume)",
extra.Volume + missing.Volume < 0.001 * ref.Volume)
```
Also compare the bounding boxes to the micron. pcie-box: 193,473 vs 193,466 mm³, a symmetric difference of 6.8 mm³
(the source's own 0.008 mm slivers), the same bounding box. Keep this check in the build forever.
## 6. Then change it, and prove what stayed
- Change the copy through parameters: pcie-box webbed the rails (`RAIL_WEB` 3.2), shortened them (`RAIL_END` 140),
dropped the end wall and cut the slots through it.
- **Prove the part that matters is untouched, by region:** cut both versions to a box around it and compare. The
pcie-box grip zone matched with 0 mm³ of difference over 41,808 mm³.
- Make every change answer to a check: the shorter rails still grip a full-length x16 finger tab wherever it starts,
up to 30 mm past the bracket.
- Re-check sizes against the real contents, not the source's: `boxes-and-enclosures`.
## Traps
- **The plate placement isn't the model.** A Bambu object's mesh is centred in its own frame (the tray's minimum was
−70.5, −81.5, −12.749) and the build item moves it onto the plate. Work in the object frame.
- **Multi-part objects** (a body plus colour inlays) are several closed meshes; the probe lists them per part. Taken
together they read "NOT closed": compare part by part.
- **Dense meshes** (text, fillets, tens of thousands of triangles) are slow to turn into solids. Compare a cut-out
region, or sections.
- **Open models are someone's measurements.** A remix fits the author's object; check against your own
(`measure-from-photos`), then print the coupon (`fits-and-tolerances`).
Code for the source solid, the proof, sections and region checks: `references/rebuild-and-prove.md`.