BadBit CAD · Commands
ELLIPSE
Ellipse
- English name
ELLIPSE- Aliases
EL- 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.draw.ellipse operation.
Prompts
Specify axis endpoint of ellipse or [Arc/Center]:Specify other endpoint of axis:Specify distance to other axis or [Rotation]:
Options
| Letter | Option |
|---|---|
| A | Arc |
| C | Center |
| R | Rotation |
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,020,05
MCP
JSON
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "ELLIPSE",
"inputs": [
"0,0",
"20,0",
"5"
]
},
"name": "badbit_run_command"
}
}Python
Python
import badbit
result = badbit.suite.command.run(command="ELLIPSE", inputs=["0,0", "20,0", "5"])LISP
LISP
(badbit-call "suite.command.run" '(("command" . "ELLIPSE") ("inputs" . ("0,0" "20,0" "5"))))JSON-RPC
JSON
{
"id": 1,
"jsonrpc": "2.0",
"method": "badbit/call",
"params": {
"arguments": {
"command": "ELLIPSE",
"inputs": [
"0,0",
"20,0",
"5"
]
},
"operation": "suite.command.run"
}
}