Before executing the specific method, read Craft scenario commands and parameters, and execute according to the object selection, session, input replacement, and result checking therein.
Task Starting Point
First read the materials and confirm the delivery purpose, target size or duration, modification scope, and required formats. Directly adopt reasonable defaults for details that can be determined from the task and materials; only ask about missing conditions that would change the result.
When a visible editor is needed, hand off to the cadcraft-editor skill. Standalone installation:npx skills add full-aigc-skills/cadcraft-skills --skill cadcraft-editor. The currently added skill is a local candidate; use the local companion plugin before release, and do not treat this installation command as proof of publication.
Execution Steps
- Confirm paper specification, orientation, output range, and print scale.
- Place viewport content within the printable boundary, and place the drawing name, version, and units.
- Adjust annotation font size and line width so the paper is clearly readable.
- After output, check the entire page rather than only a partial preview.
Tool Implementation
Use open/new_drawing to open or create, query_entities to verify geometry; execute to run commands, save to save, render to preview.
First read the actual tool schema, then fill in the parameters; use the return values for object or document IDs. Queried commands must be available in the current backend. Before saving, choose a new output path and preserve the input. If the required algorithm, format, or command does not exist, state the gap; do not pass off a similar name as a substitute.
Result Checking
- Verify the scale and dimension numbers.
- Check for text clipping, lines that are too thin, and missing page margins.
- Save the native file and the corresponding PDF or image; formats are subject to current export capabilities.
Check the actual content against the user's goal, not just the process exit code. For local edits, inspect local details; for layout tasks, inspect the entire page; for time-based media, inspect the start, end, and key segments. For abnormal results, check the current project first to avoid repeating irreversible operations.
Delivery
Return the editable project, the actual derived files, and a brief explanation: what modifications were made, which steps were not executed due to current capabilities, and what requires the user's judgment. List only files that actually exist and have been checked. If the user subsequently requests rework, read this session's source project and make local modifications, preserving the accepted content.