GD&T: Feature Control Frame (ISO 1101)
gd_frameCreate ISO 1101 feature control frames from line and text primitives. Records referenced datums to flag missing datum features in GD&T critique.
Instructions
Draw an ISO 1101 feature control frame from LINE + TEXT primitives.
Renders identically on COM and ezdxf. Referenced datums are recorded so the
gdt critique focus flags any datum with no matching datum feature.
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": {
"symbol": "<symbol>",
"tolerance": "<tolerance>",
"x": "<x>",
"y": "<y>"
},
"name": "gd_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Frame bottom-left corner X. | |
| y | Yes | Frame bottom-left corner Y. | |
| layer | No | Layer (defaults to the active DIM layer). | |
| datums | No | Ordered datum references, e.g. ['A','B']. Required for orientation/location/runout characteristics. | |
| height | No | Frame height (mm); text scales with it. | |
| symbol | Yes | Geometric characteristic: straightness, flatness, circularity, cylindricity, profile_line, profile_surface, angularity, perpendicularity, parallelism, position, concentricity, symmetry, circular_runout, total_runout. | |
| diameter | No | Prefix ⌀ for a cylindrical (diametral) tolerance zone. | |
| modifier | No | Material-condition modifier: M (MMC), L (LMC), S (RFS). | |
| tolerance | Yes | Tolerance zone value (mm). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||