3d Print logo

3d Print

Community
EdwinjJ1
3d-print

Search-first 3D printing workflow — finds real specs before modeling, generates manifold-safe models for Bambu Studio / PrusaSlicer / Cura / Fusion 360

Overview

PublisherEdwinjJ1
Repository3d-print-skill
Skill name3d-print
Stars
29
Forks
1
Bundled files
8
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 8 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by EdwinjJ1 on GitHub. Read the source before you install it.

Installation

Install the 3d Print AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/EdwinjJ1/3d-print-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EdwinjJ1/3d-print-skill.git \
  .claude/skills/3d-print
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 3d Print in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 3d Print on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 3d Print is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

3D Print Skill

Purpose

Generate physically accurate, print-ready 3D models without fabricating dimensions. Always search for real specs first. Never guess measurements.


Workflow

Step 1 — Search for real specs

First, try the local search script:

bash
python3 scripts/search_specs.py "Canon EF 40mm f2.8 lens outer diameter"

If the script returns no concrete millimeter values (status: no_instant_answer or vague text), do NOT stop. Use your own search_web tool to query the product's official datasheet, spec page, or Wikipedia. Extract the three key numbers: outer dimension, inner dimension, height. Only proceed to Step 2 once you have real numbers with a source you can cite.

All results are cached to specs_cache.json. On a cache hit, read the cached result and extract dimensions directly — no re-search needed.

Step 2 — Decide: preset or custom script

Check if the request matches a preset:

bash
python3 scripts/generate_model.py --preset cube     # 20mm calibration cube
python3 scripts/generate_model.py --preset tube     # hollow cylinder
python3 scripts/generate_model.py --preset bracket  # box with through-hole

If the request does NOT match a preset (e.g. "lens cap with snap-fit tabs", "hook with chamfer", "enclosure with lip", "multi-part assembly"), write a custom Python script on the fly. Use the pattern:

python
import sys
sys.path.insert(0, "scripts")
import manifold3d as m3d
from generate_model import export_3mf, export_stl
from pathlib import Path

# --- build geometry using manifold3d primitives ---
# See references/manifold-examples.md for API reference:
# extrusion, revolve, hull, chamfer, loft, snap-fit tabs, threads

body = m3d.Manifold.cylinder(height=8.0, radius_low=34.0, circular_segments=64)
inner = m3d.Manifold.cylinder(height=8.2, radius_low=33.0, circular_segments=64)
result = body - inner.translate([0, 0, -0.1])

# --- export ---
out = Path("output")
export_3mf(result, out / "lens_cap.3mf", name="lens_cap")
export_stl(result, out / "lens_cap.stl")

Save the script as output/<name>_build.py, run it, then proceed to Step 3. The export_3mf and export_stl functions from generate_model.py handle all file-format details — just call them with the final Manifold object.

Step 3 — Validate the mesh

bash
python3 scripts/validate_mesh.py output/lens_cap.stl

If validation fails, do NOT just run --fix and move on. Read the specific failing checks, trace them back to the geometry construction, and fix the root cause in the build script. Common fixes:

  • watertight: FAIL → a boolean operation left an open edge; add a small Z-offset (e.g. translate([0, 0, -0.1])) on the subtracted body so it protrudes past the face
  • positive_volume: FAIL → normals are inverted; the outer shell may be smaller than the inner — check radii
  • no_degenerate_faces: FAIL → a zero-thickness wall from a tight boolean; add at least 0.4mm clearance between faces

After fixing, re-run the build script and re-validate. Repeat until all critical checks pass.

Step 4 — Slice

Import .3mf into Bambu Studio / PrusaSlicer / Cura. Expected: 0 non-manifold errors, 0 open edges.


Spec Extraction from Cache

When specs_cache.json already contains an entry for the target part, load and extract dimensions directly instead of re-running search:

python
import json
cache = json.load(open("specs_cache.json"))
# find the entry whose query matches your part
# read result["answer"] or result["abstract"]
# parse out numeric values (mm) using your own reasoning
# map to: outer_diameter, inner_diameter, height, wall_thickness, etc.

Use your reasoning to map prose descriptions ("67.5mm filter thread") to the correct variable in the build script. Do not ask the user to do this mapping manually.


Reference Files

FileContents
references/formats.mdSTL vs 3MF vs STEP — when to use each
references/tolerances.mdFDM accuracy, shrinkage, fit clearances
references/design-rules.mdManifold rules, wall thickness, overhang limits
references/manifold-examples.mdmanifold3d API: extrusion, revolve, hull, chamfer, snap-fit, threads

Key Constraints

  • No fabricated dimensions — search first, use real numbers with a cited source
  • manifold3d for all geometry — guarantees no non-manifold edges
  • Custom script when no preset fits — generate_model.py is a reference, not a limit
  • 3MF primary output — ISO/IEC 25422:2025, manifold-safe, Bambu/Prusa/Cura compatible
  • Fix root cause on validation failure — do not rely on --fix alone

Common Errors

ErrorCauseFix
"244 non-manifold edges" in Bambunumpy-stl or bad booleanRegenerate with manifold3d
Hole too tightFDM shrinks holesAdd +0.1–0.2mm radius compensation (tolerances.md)
Part snaps during press fitNo interference margin0.1–0.3mm interference (tolerances.md)
Overhangs fail>45° without supportsRedesign or add supports in slicer
watertight: FAILSubtracted body flush with faceAdd Z-offset of 0.1mm on subtracted body
search_specs.py returns emptyDuckDuckGo Instant Answer has no entryUse search_web tool on manufacturer datasheet

Install

bash
ln -sf /path/to/3d-print-skill ~/.claude/skills/3d-print

Dependencies

bash
pip install manifold3d trimesh numpy requests

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 3d Print AI skill do?

Search-first 3D printing workflow — finds real specs before modeling, generates manifold-safe models for Bambu Studio / PrusaSlicer / Cura / Fusion 360

Why use 3d Print on TypingMind?

Because you install it once and use it with any model. 3d Print is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 3d Print in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/EdwinjJ1/3d-print-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 3d Print?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 3d Print?

As many as you like. As long as a model supports skills, you can use 3d Print with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 3d Print AI skill free?

It is published on GitHub by EdwinjJ1. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇