a3d-text
它能做什么
这项技能引导智能体设计可打印的 3D 模型,并编辑其源文件。适合想要一个可以打印、且日后还能修改的模型的创客和设计师。
适用场景
- ✓当你想设计一个具有精确尺寸的可打印 3D 零件时。
- ✓当你想修改现有的 3D 模型,并保留其可编辑源文件时。
- ✓当你想要一个可以通过简单控件调整的外壳或盒子时。
技能链接
https://github.com/amagine-ai/Amagine3D/blob/main/skills/a3d-text/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请设计一个可打印的开口盒子,宽度、深度和高度都可以调整,并保留可编辑的源文件,方便我以后修改。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能使用 Amagine3D 工具,根据控件和尺寸起草设计。它会按照参考文件中的规则检查设计,并把可编辑源文件和打印用的主文件保存在你的工作区中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
a3d-text
Read exactly $AMAGINE3D_SKILL_DIR/SKILL.md once; never substitute a cwd or global namesake.
Examples live in $AMAGINE3D_SKILL_DIR/examples/; references in $AMAGINE3D_RUNTIME_DIR/references/.
On continuation/compaction use a3d agent context and its nextInspect/nextDesignRead; reuse known contracts until capabilityVersion changes.
Keep editable designs or build123d BRep source and STEP masters in the workspace. Intent owns requirements; source owns controls.
Unless tolerances/fits override them, exterior dimensions use nominal ±0.1 mm and checks 0.01 mm precision. Never relax QA targets.
Draft and review
Prefer DSL, including for enclosures; name unsupported geometry/binding before Python fallback.
Batch only needed contracts: a3d agent capabilities '{"designOps":["open_box","hole"]}' (Python: symbols).
Results page by output size. Follow page.nextRequest with a3d agent inspect; do not preload contracts or references.
Starter: configurable cube; full: $AMAGINE3D_SKILL_DIR/examples/open_box.a3d.json; edit: $AMAGINE3D_RUNTIME_DIR/references/parametric-design.md:
Use useful independent controls with bilingual labels/ranges, shared IDs for related geometry, and expressions for derived dimensions. Preserve frozen intent/QA; a range is not a manufacturing guarantee.
{"action":"apply","design":"model.a3d.json","baseRevision":null,"changes":[{"kind":"add","target":"params.size","value":{"type":"length","value":80,"range":[50,100],"label":{"en":"Overall size","zh":"整体尺寸"}}},{"kind":"add","target":"params.wall","value":{"type":"length","value":2,"range":[1,4],"label":{"en":"Wall thickness","zh":"壁厚"}}},{"kind":"add","target":"parts.body","value":{"result":"@body.shell"}},{"kind":"add","target":"body.shell","value":{"op":"open_box","size":["=size","=size","=size"],"wall":"=wall","floor":"=wall"}}]}
Save requests in the workspace and run a3d agent design --args-file edits.json. Keep stable IDs; batch related edits and use the returned revision.
Updates use {"kind":"update","target":"params.wall","set":{"value":2.4}}; later apply requests require baseRevision. Do not replace the whole design for local repairs.
Expressions require matching units (=height - mm(2)); references use @body.shell. Frame local v = normal × u; u and normal are orthogonal.
For Python, read only $AMAGINE3D_SKILL_DIR/examples/simple_brep_build.py or, when assembly changes topology, $AMAGINE3D_SKILL_DIR/examples/installed_module_draft.py.
Use BuildSession with part_names before intent and owned constructionFeatures. Skip Python authoring/intent-writer examples in DSL mode.
Reserve cavity, openings, support, retention, fastener and insertion/service paths before finishing; keep unknown dimensions reversible.
For construction decisions needing detail, read $AMAGINE3D_RUNTIME_DIR/references/construction-feedback.md.
a3d agent build '{"phase":"draft","design":"model.a3d.json","revision":"REVISION"}'
a3d agent build '{"phase":"draft","source":"model_build.py"}'
Use returned images; query context/inspect only if recovering or missing. Call view_image when visuals affect a decision; label historical/diagnostic scope.
If artifactStages reports display failure after passed cadExport, keep the bound STEP and use a3d agent display '{"report":"RUN.json","sha256":"SHA"}'; localize the issue before changing manufacturing geometry.
At awaiting-preview, use context's nextDisplay: it reuses passed manufacturing proof without rerunning source or checks. A pass still needs visual review.
Checkpoint up to six consequential notes only when useful. Notes aren't acceptance or proof of review; complete required validation.
Use bound a3d agent preview for concrete scoped camera/BRep gaps; use returned image/scope, inspecting details only as needed. Local images never prove unobserved scope.
A draft does not establish installation, final dimensions or printability. Repeat builds after changed inputs, new evidence or incomplete/failed attempts.
Contract and compile
After the functional skeleton is stable, declare independent intent, validate and run the first compile before more cosmetic edits. Check LCD support/stop/passage and screw clearance/pilot/engagement now.
DSL uses $AMAGINE3D_SKILL_DIR/examples/intent.example.json for a solid or `$AMAGINE3D_SKILL_DIR/examples/installed_module_intent.jso
常见问题
它会生成哪些文件类型?
描述中提到可编辑的设计源文件,以及用于打印的 STEP 主文件。
它使用固定的公差吗?
会。除非你另有说明,它会对外部尺寸使用设定的公差。
它需要单独的工具吗?
需要。它配合 Amagine3D 工具使用,该工具从技能自己的文件夹中读取。
详情
热度
- GitHub 星标
- 6.3k
- 排名
- #14367
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/22
评论
- …