Exit Sketch
exit_sketchCloses the open sketch and exits editing so extrusion, revolve, or cut-extrude features can use it; returns the feature-tree sketch name and warns if the name is taken.
Instructions
Close the open sketch so a feature can use it.
Call it after drawing and before create_extrusion, create_revolve or
create_cut_extrude; those use the sketch closed last. Needs: an open sketch.
Changes: leaves sketch editing; the sketch stays in the feature tree, renamed
to the sketch_name create_sketch was given. Returns: a message, plus, after
a sketch_name, sketch with name (the name in the feature tree, which later
tools take as sketch_name) and a warning when the name couldn't be given
(another feature has it).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "exit_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||