Skip to content

Packs / 3d-blender-animation-public

3d-printing

Prepare a model for 3D printing with headless Blender: apply transforms, report non-manifold edges, set real-world size in mm and export STL.

Install

logicpacks pack use 3d-blender-animation-public/3d-printing
get_pack 3d-blender-animation-public/3d-printing

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: local-blender
  • Checks: 1 in outcome/checks.yaml
  • Code: export_stl.py
  • Tools: blender

Usage, last 8 weeks

1 all time · 1 in 24h · 1 in 7 days

Purpose (from spec/SPEC.md)

Prepare a model for 3D printing with headless Blender: apply transforms, report non-manifold edges, set real-world size in mm and export STL.

Goal

A watertight STL at the right physical size that a slicer accepts without repair.

Steps

  1. Run blender -b --factory-startup --python code/export_stl.py -- --in model.glb --out model.stl --size-mm 80 (--in demo for a test cube).
  2. Read the report: non_manifold_edges must be 0; otherwise fix in Blender (3D Print Toolbox, Remesh voxel) and rerun.
  3. Open the STL in the slicer (PrusaSlicer/Cura/Bambu Studio), check scale and orientation, then slice.

Edge cases

  • glTF units are metres; slicers assume millimetres: --size-mm scales the longest side.
  • Thin walls under the nozzle width disappear; check wall thickness in the slicer preview.

Don'ts

  • Don't print an STL with non-manifold edges without repair.
  • Don't print third-party models you have no licence for.