aboutsummaryrefslogtreecommitdiff
path: root/knowledge/tooling/threemf-group.md
diff options
context:
space:
mode:
authorLouis <louis@dnge.de>2026-11-11 10:08:41 +0100
committerLouis <louis@dnge.de>2026-11-11 10:08:41 +0100
commit2e433fcd0d1afadd8ab786dd30d7d4546bdee43d (patch)
treef2a5603703d56b08c1eaa672eaf529ec4b2cc3fa /knowledge/tooling/threemf-group.md
downloadhw-toolchain-2e433fcd0d1afadd8ab786dd30d7d4546bdee43d.tar.gz
hw-toolchain: placer, routers and KiCad helpers for agent-driven hardware work
Rust placer (simulated annealing) and negotiated-congestion router for 2-layer KiCad boards, pnr.sh to place, route, DRC-check and install candidates, Python KiCad helpers, repo conventions (AGENTS.md) and the tool documentation under knowledge/. Konnect (KiCad MCP, AGPL) as a submodule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'knowledge/tooling/threemf-group.md')
-rw-r--r--knowledge/tooling/threemf-group.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/knowledge/tooling/threemf-group.md b/knowledge/tooling/threemf-group.md
new file mode 100644
index 0000000..565048c
--- /dev/null
+++ b/knowledge/tooling/threemf-group.md
@@ -0,0 +1,11 @@
+# 3MF group
+
+`tools/threemf_group.py` turns a 3MF with several objects into one object with parts, for multi-colour prints such as label inlays in a housing.
+
+``` sh
+python3 tools/threemf_group.py in.3mf out.3mf [name]
+```
+
+- **Why:** many CAD 3MF exports write one object per body, and a slicer loads separate objects as separate objects. A shell and its label glyphs must be one object, so that each part can get its own filament.
+- **What it does:** it adds a parent object (named from the argument, else the first object's name) whose `<components>` reference every build item. Build transforms move onto the components, and only the parent is built. It writes core 3MF only, with no slicer-specific metadata; Orca, Bambu and Prusa load the result as one object with parts.
+- **In place:** using the same path for in and out is fine; the whole file is read first.