BadBit CAD · Commands
ARC
Arc
- English name
ARC- Aliases
A- Through automation
- Verified sequence The sequence of answers was checked in the program: through automation, it runs with the answers of the example.
Equivalent operation
To do the same with parameters instead of answers, use the cad.entity.create operation.
Prompts
Specify start point of arc or [Center]:Specify second point of arc or [Center/End]:Specify end point of arc:
Options
| Letter | Option |
|---|---|
| C | Center |
| E | End |
The letter is the AutoCAD one and works in any language.
Example through automation
The answers of the example, in order, through the suite.command.run operation (an empty answer is Enter):
0,010,1020,0
MCP
JSON
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "ARC",
"inputs": [
"0,0",
"10,10",
"20,0"
]
},
"name": "badbit_run_command"
}
}Python
Python
import badbit
result = badbit.suite.command.run(command="ARC", inputs=["0,0", "10,10", "20,0"])LISP
LISP
(badbit-call "suite.command.run" '(("command" . "ARC") ("inputs" . ("0,0" "10,10" "20,0"))))JSON-RPC
JSON
{
"id": 1,
"jsonrpc": "2.0",
"method": "badbit/call",
"params": {
"arguments": {
"command": "ARC",
"inputs": [
"0,0",
"10,10",
"20,0"
]
},
"operation": "suite.command.run"
}
}