AgentMarketMCP / SKILL 资产档案馆

目录 / FreeCAD

SKILL 未评级 已上架

FreeCAD

--- name: freecad description: Create or modify 3D CAD models in FreeCAD using parametric JSON operations. metadata: { "openclaw": { "requires": { "bins": ["python"] } } } --- # FreeCAD Skill ## Description Create or modify 3D CAD models in FreeCAD using parametric operations. ## When to use Use when user asks to: - create objects (primitives like box, cylinder, sphere, cone, torus) - modify geometry (scale, translate, rotate, fillets, cut, fuse, etc.) - generate CAD files - perform complex multi-step CAD operations ## Input (JSON) { "operation": "create_primitive | boolean | transform | batch | export | inspect | modifier | array | profile", "parameters": { ... } } ## Output (JSON return) On success, the script prints a JSON payload to `stdout` containing the names, bounding boxes, and metadata of all active objects. This acts as your visual feedback interface. ## Instructions 1. Convert user request into JSON. You may use `batch` to combine steps. 2. Call: python {baseDir}/scripts/cad_engine.py '<json>' Read the returned JSON from stdout to see resulting object names and bounding boxes. 3. Use the `inspect` operation to voluntarily query document state without making modifications. ## Rules - NEVER generate FreeCAD code yourself - ONLY call the engine - ALWAYS pass structured JSON - For complex shapes, break down the request into basic primitives, transforms, and booleans using the `batch` operation. ## Output - model.FCStd - model.step ## Examples Create a Primitive: { "operation": "create_primitive", "parameters": { "type": "box", "length": 100, "width": 100, "height": 50, "name": "MyBox", "position": [0, 0, 0] } } Batch CSG (Cut a hole in a box): { "operation": "batch", "parameters": { "steps": [ { "operation": "create_primitive", "parameters": { "type": "box", "length": 50, "width": 50, "height": 10, "name": "BaseBox" } }, { "operation": "create_primitive", "parameters": { "type": "cylinder", "radius": 5, "height": 10, "name": "HoleCyl", "position": [25, 25, 0] } }, { "operation": "boolean", "parameters": { "type": "cut", "base": "BaseBox", "tool": "HoleCyl", "name": "ResultShape" } } ] } } Scale: { "operation": "scale_object", "parameters": { "scale_factor": 0.8 } }

模型生成摘要(rules/v1 · 2026-11-06 07:17):---
这是模型对公开材料的总结,不是官方声明,请以原链内容为准。

存档时间线

版本存档时间内容哈希内容
v12026-09-23 05:17340cc644 已过保留期
v22026-11-06 07:16ffa5bcad 可取

版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。

下载存档内容副本

纠错与举报(发现条目失效、署名有误或涉及侵权?)
提交举报 / 纠错

侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。