Skip to main content
Glama
eng-toolkit

eng-toolkit

by Lin830326

Drawing Make Views

drawing_make_views

Generate orthographic engineering drawings from STEP, IGES, or BREP models, with ISO 5457 sheets, dimensions, and hole callouts, exporting DXF, PDF, SVG, or PNG.

Instructions

Make an engineering drawing of a 3D model (.step .stp .iges .igs .brep): orthographic views with hidden lines removed exactly, on an ISO 5457 sheet with frame and title block, one overall dimension per model axis (true size at any scale), hole callouts (Ø10 THRU, 4× Ø6.6 THRU, Ø5 DEEP 8, found from the geometry, one per group of equal holes) with ordinates for their positions, and your notes. Writes drawing.dxf (R2018, millimetres, the source) and drawing.pdf (vector, true scale); formats adds drawing.svg (vector, own writer) and drawing.png (the PDF rasterised, greyscale, 150 dpi or less). PDF, SVG and PNG have no text layer: the DXF holds the text. views: comma list of front, back, top, bottom, right, left, iso (at most 7, no repeats). projection: third_angle (default) or first_angle. sheet: auto or A4, A3, A2, A1, A0 (landscape). scale: auto or 1:1, 1:2, 1:5, 1:10, 1:20, 1:50, 1:100, 2:1, 5:1, 10:1; auto takes the largest standard scale and then the smallest sheet at which the views, their dimension rows and the title block fit, and enlarges small parts. dimensions: auto (overall size plus hole callouts and ordinates), overall (X, Y and Z once each) or none. features_path: the features.json of geometry_make_part; its fit (H7) and thread appear in the callout only when its step_sha256 equals the sha256 of this model file, otherwise a warning and nothing is printed. The title block always says UNREVIEWED. Not a complete manufacturing drawing: no tolerances, centre lines, counterbores or countersinks. Needs the optional drawing engine (uv sync --extra drawing); png also needs uv sync --extra png.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model_path": "<model_path>"
    },
    "name": "drawing_make_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoNotes separated by ';', at most 6 of at most 100 characters; printed above the title block
scaleNoauto or an ISO 5455 scale: 1:1, 1:2, 1:5, 1:10, 1:20, 1:50, 1:100, 2:1, 5:1, 10:1auto
sheetNoauto or one of A4, A3, A2, A1, A0 (ISO 5457, landscape)auto
titleNoTitle block title, at most 80 characters; any language
viewsNoComma list of views, from front, back, top, bottom, right, left, iso; at most 7, no repeatsfront,top,right
formatsNoComma list of dxf, pdf, svg, png. The DXF is always written; png needs the png extradxf,pdf
materialNoTitle block material, at most 40 characters
revisionNoTitle block revision, at most 8 charactersA
dimensionsNoauto (overall size plus hole callouts and ordinates), overall (each axis once) or noneauto
model_pathYesPath to the model: .step .stp .iges .igs or .brep
projectionNothird_angle (default) or first_anglethird_angle
part_numberNoTitle block part number, at most 40 characters
hidden_linesNoDraw the hidden edges as dashed lines
features_pathNofeatures.json written by geometry_make_part: adds the fit (H7) and thread of its holes to the callouts when it belongs to this exact model file
general_toleranceNoPrinted as text only, e.g. 'ISO 2768-m'; at most 80 characters

Output Schema

NameRequiredDescriptionDefault
okYes
dataNoNon-quantity payload (reports, listings)
errorNo
valueNoPrimary quantity result
valuesNoAll named quantity results (includes the primary)
warningsNo
artifactsNo
provenanceYesWhat produced the result and from which inputs.
review_statusNounreviewed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and does much of it: it discloses output files, vector/text-layer limitations, auto scale behavior, hash validation for features_path, and the always-UNREVIEWED title block. However, 'hidden lines removed exactly' conflicts with the schema's hidden_lines default true, which says hidden edges are drawn dashed, leaving that behavior ambiguous.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the content is dense with relevant caveats, but the description is a long run-on paragraph that repeats enum lists already present in the schema for views, projection, sheet, scale, and dimensions. It is informative but not efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the description still covers file outputs, prerequisites, and major limitations. Completeness is slightly reduced by the hidden-lines ambiguity and by not explicitly relating this tool to sibling drawing tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents parameters well; the description adds meaningful semantics for scale auto, dimensions modes, formats output behavior, and the features_path hash check. It does not explain every title-block or hidden_lines parameter, but the schema covers those fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: making an engineering drawing from a 3D CAD model, with exact supported formats, view types, output files, and drawing conventions. It clearly distinguishes this generator from sibling drawing tools such as drawing_convert and drawing_read.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides useful context and exclusions, e.g. that the output is not a complete manufacturing drawing and requires optional extras for drawing and PNG engines. It does not explicitly name alternatives or state when to prefer drawing_convert or drawing_read, so guidance is strong but not fully comparative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools