Skip to content
BadBit Documentation
Sign in Download the beta

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

  1. Specify axis endpoint of ellipse or [Arc/Center]:
  2. Specify other endpoint of axis:
  3. Specify distance to other axis or [Rotation]:

Options

LetterOption
AArc
CCenter
RRotation

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):

  1. 0,0
  2. 20,0
  3. 5

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"
  }
}

In the user guide

Search the documentation