Skip to main content

export-cad-from-partmode

Export a PartMode CAD project in a live-supported format and verify the artifact against its source revision, byte count, checksum, and exact evidence. Use when someone asks for STEP, a PartMode project, STL, AMF, 3MF, drawing or sketch output, PNG, or another PartMode CAD deliverable.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年8月28日 17:31
检测到的 SKILL.md 语言
英语
星标
2
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
export-cad-from-partmode
category
code
description
Export a PartMode CAD project in a live-supported format and verify the artifact against its source revision, byte count, checksum, and exact evidence. Use when someone asks for STEP, a PartMode project, STL, AMF, 3MF, drawing or sketch output, PNG, or another PartMode CAD deliverable.
# export-cad-from-partmode Produce a CAD file whose source, scope, and bytes can be checked. Read https://partmode.com/help#mcp-reference and let the live session capability manifest decide which formats are available. ## Boundaries - Confirm the intended project, revision, entity scope, format, units, and output path before exporting. Do not overwrite an existing file without permission. - Use `cad_artifact` only in a browser-approved session and only for formats it advertises. A headless session currently uses `partmode_headless_export_step` for exact STEP output. - Do not claim that a screenshot, filename, HTTP success, schema declaration, or mesh count proves a valid exact export. - Keep keys and project content out of logs. Share the artifact only with the people and destination the owner approved. ## Procedure 1. Record the delivery contract: source project, required revision or state, whole-document or entity scope, target format, units, destination, and the recipient's acceptance check. 2. Open the least powerful suitable session and call `cad_capabilities`. Inspect the current document and wait for the applied revision to settle before exporting. 3. Select the export tool from live capability data. Use `cad_artifact` for an advertised browser artifact or `partmode_headless_export_step` for headless STEP. Do not substitute a nearby format without the person's agreement. 4. Submit the exact requested scope and format. Capture the source revision, document or geometry identity, MIME type, byte count, and supplied SHA-256. 5. Decode returned bytes when required and write them to the agreed explicit file path. Preserve the original extension and do not add credentials or private metadata to the filename. 6. Compute SHA-256 over the saved bytes and compare it with the supplied digest. Check the byte count and open or parse the artifact with an appropriate independent reader when one is available. 7. Reinspect the source immediately after export and compare its revision and exact CAD evidence with the export metadata. If the project changed during export, repeat from a freshly inspected settled revision rather than relabeling old bytes. 8. Disconnect the session and deliver the artifact with a short manifest naming source project, revision, format, scope, bytes, checksum, verification tool, and any known limitation. ## Done - The saved artifact exists at the approved path in the requested live-supported format - Its byte count and independently computed SHA-256 match the PartMode response - The artifact opens or parses successfully and is tied to the inspected source revision - The delivery manifest records format, scope, units, evidence, and limitations - No existing file, secret, project, or unapproved destination was touched
在 GitHub 查看