General
AI and scripts in the BadBit programs
Everything you can do in the BadBit programs you can do with AI and scripts: talking to an AI through MCP, with Python scripts and, in BadBit CAD, with LISP routines. You can do the whole project in plain language, or with scripts only.
The same scripts for the whole suite
The same API, through MCP and Python, works for BadBit CAD and for the next programs: BadBit Topo, BIM, Structural, Plumbing, Electrical and the others. What you learn in one works in the others.
Two ways to work with AI
- With the program open: you watch the drawing happen while the AI works, and you can undo or disconnect at any time.
- Without opening the window: the AI uses the program like a console, creates and edits drawings, saves and checks the result with images of the view.
Scripts always; AI with one switch
- Scripts (Python, LISP, your own Python with the badbit package, the VS Code extension and batch without a window) are always available, with nothing to turn on: they are your own code.
- AI (MCP) is the only switch, in Options, and it starts off. When you turn it on, the program shows what the AI will be able to do and the risks, and only enables it after you check "I understand the risks and authorize". Once on, the AI can do everything you do in the program, including running code and printing.
- You decide each step, through your AI assistant, which already asks for your approval.
- Before saving over a file, the program keeps a backup copy on its own, and each AI request is one undo step.
- Everything runs only on your computer.
Python with nothing to install
The program comes with a simple editor, BadBit Scripts, to write and run Python scripts (and, in BadBit CAD, LISP too). Python is downloaded only by those who use it. If you already have Python installed, use the same badbit package in your own Python, with NumPy, pandas and whatever else you use.
VS Code, batch and printing
- VS Code: the BadBit extension runs and debugs Python and LISP scripts inside the open program, with autocomplete. Now in the VS Code Marketplace.
- Batch without a window: a Python script opens, edits and saves drawings (.bbd, DXF and DWG) without opening the program, and processes a whole folder at once.
- From drawing to printing: the AI and scripts can also send the drawing to the printer.
- Almost everything controllable: of the 321 BadBit CAD commands, 293 have their own operation for AI, Python and LISP, dynamic blocks included. The ones left out are only interface or protection features, such as the clipboard, the drawing password and help.
Reference generated from the program itself
The reference of operations and commands is generated from the program itself with each version, so it always matches what it does.