Drawing Gate
drawing_gateVerifies whether placed dimensions on a drawing page fully and non-redundantly reconstruct the part, checking degrees of freedom, datum discipline and ballooning; returns ok or violation codes.
Instructions
Manufacturing-completeness gate for a drawing page: do the placed dimensions fully and non-redundantly reconstruct the part? Reads the real solid + placed dimensions and accounts degrees of freedom, process-aware: 'prismatic' needs each hole located X/Y from a datum and the block sized W×H×T; 'turned' needs only Ø + axial length per step. process='auto' infers it.
Datum discipline (a location not measured from a datum face → no_datum) turns on when faces carry role='datum' (annotate_face), or with datums_declared=True. require_ballooned=True also fails unballooned characteristics (not_ballooned; see balloon_drawing), as a release flow does.
Returns {ok, violations, slots_total, slots_covered, process, features,
dimensions, enumerated_features, datum_faces, section_recommended ({recommended,
reasons, feature_ids}; see add_section_view), ballooned ({ok, total, ballooned,
missing})}. Each violation has a code (under = size/location missing;
redundant = DOF dimensioned twice; conflict = twice with disagreeing values;
extra = pins nothing; no_datum; not_ballooned) and a reason. ok=True means
manufacturing-complete.
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": {
"page": "<page>"
},
"name": "drawing_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| process | No | auto | |
| workspace | No | Run this call in this named workspace | |
| datums_declared | No | ||
| require_ballooned | No |