native_constrain_sketch
Applies sketch constraints such as coincident, parallel, perpendicular, or tangent to curves at a specified Z height, using one point per curve to target each curve.
Instructions
Add a Shapr3D sketch constraint to curves of a sketch at height z. points: [[x,y], ...], one on each curve; tap a line's END to constrain the endpoint (coincident). Sketches come from native_import_profile. constraint: coincident, concentric, equal, horizontal_vertical, lock, midpoint, parallel, perpendicular, tangent.
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": {
"constraint": "<constraint>",
"points": "<points>"
},
"name": "native_constrain_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z_mm | No | ||
| points | Yes | ||
| constraint | Yes |