Subzero Labs

2026-11-26

Teaching AI to Design and Print: My First 3D Printer Setup

A local AI can design 3D parts as code using build123d, then send them to a printer via command line. Here's how the iteration process works and why real-world measurement still matters.

In short

  • A local AI can design 3D parts as code using tools like build123d, then send them to a printer via command line, but it can't measure the real world accurately without your help.
  • The Bambu Lab P2S Combo came with clear setup steps, a helpful manual, and a free phone app that solved connection issues when cloud login failed.
  • The design-and-print cycle requires iteration: guesses fail, real measurements fix them, and each version reveals new constraints that the AI's automatic checks can't catch.

The Problem: Cases Take Forever

For years, every small computer project ends up as a bare board on a desk. The typical cycle is measure, model, slice, print, doesn't fit, start over. One evening of work, easily. The real bottleneck isn't the printing. It's the design and iteration loop. The question is: what if a local AI could handle that work 24-7 without hitting cloud limits or paying per request?

Setting Up the Bambu Lab P2S Combo

The P2S Combo comes with the printer, the AMS 2 Pro filament box, an accessory box, and a tool box. [2] The AMS 2 Pro sits on top and holds four spools of filament so the printer can switch between them automatically. [2] Unboxing follows a clear sequence: remove the tape from the bottom of the side panels, take out the shipping screws (marked bright red), pull out the foam, and insert the AMS tubes into the printer. [2]

One common issue during setup is cloud connection failure. The Bambu Handy app on a phone offers a workaround—it's free and lets you bind the printer without needing cloud access. After binding, you can send prints from a phone or computer without walking over with a USB stick.

Calibration takes about thirty minutes. The printer tests motors, vibration, the bed, and the nozzle. It shakes itself on purpose to learn its own wobble so it can cancel that out later and print cleaner. The process requires keeping hands away from the printer while it moves.

First Print: Testing the Setup

A good first print is something the printer needs anyway. A poop chute—where the printer throws out bits of melted plastic it purges when changing color or cleaning the nozzle—keeps that mess in one place instead of scattered on the desk. A quick-release design makes it easy to pop off and empty.

The app estimates print time and material use before starting. For a poop chute, typical estimates are around an hour and a half and 54 grams of plastic. The printer has an internal camera, so it records the print as a timelapse. A successful first print tells you the printer is set up correctly and ready for more complex work.

Giving AI the Tools to Design

An AI can't hold a mouse or click buttons in a design program, so it needs text-based tools. The first tool is build123d, a free Python library for 3D design. [5] Python is a programming language, and a library is a set of ready-made building blocks. With it, an AI writes a case as code—like a recipe that says make a box this big, cut a hole here, round this corner. When the code runs, it becomes a 3D model.

The second tool is the Bambu Studio slicer, run from the command line. A slicer takes a 3D model and cuts it into hundreds of thin layers, then works out the exact path the printer's nozzle has to follow for each layer. Running it from the command line means an AI can start it by typing a command instead of clicking, and it outputs how long the print will take and how many grams of plastic it needs.

The workflow splits the work: the AI designs and slices, a person measures, loads the file, and presses print. The AI has the logic, the person has the hands and the ability to measure the real world.

Four Tries: Iteration and Real Measurement

The project is a home remote: a Raspberry Pi Zero 2W with a Whisplay screen board on top and a PiSugar 3 battery underneath. The AI receives the sizes from spec sheets and requirements: a window for the screen, a hole for the talk button, and openings for the ports and the SD card.

Version one is a one-piece sleeve. It prints without errors, but the design has a flaw: a sleeve means the whole stack has to slide in from one end, and the screws and SD card catch on the edges. The AI is asked to split it into two halves that close around the boards instead.

Version two comes in two halves. The AI's code passes every automatic check on the first try. When the board is placed inside, the SD card slot, the ports, and the button are all too low. The AI had guessed how high each board sits, and its checks only verified its own guess, not the real remote. This reveals the gap: an AI can verify logic, but it can't measure physical reality. Calipers—a measuring tool much more exact than a ruler, down to a fraction of a millimetre—are used to measure how high each port, the button, and the SD card sit from the table, and how far the screen is from each end of the board.

The AI redesigns the case with the real numbers. Version three prints in thirty-seven minutes. The ports, the SD card, and the talk button all line up. Testing the assembled remote reveals two problems: the battery's buttons are unreachable, and the charger won't plug in. The battery board has its own buttons and charging port that weren't accounted for.

Version four adds flex buttons for the battery, a charging hole sized for the cable's plastic head (not just the metal tip), and snaps instead of glue. A flex button is a little flap cut into the wall, so pressing the flap bends it and presses the real button inside. Snaps are small bumps on one half that click into dips on the other half. PLA Tough Plus is chosen for this version because the snaps and flaps bend with every use, and a tougher plastic is less likely to crack. The snaps hold, the charger plugs in, and the hole is about a millimetre off, so the AI widens it. The final version works.

What Worked and What Didn't

The successful workflow: describe what you need, the AI designs it, checks it, and slices it, then you press print. Each iteration takes about forty minutes and twenty-two grams of filament. The time savings come from skipping the design and slicing steps, which are the tedious parts.

The limitation: an AI can't see or measure the real thing. When it guesses, it guesses with confidence. Its automatic checks verify the logic of its own assumptions, not the fit of the real world. That's why starting a new project with a test print is essential. The measuring is still a person's job—for now.

Alternatives exist if local AI isn't available. MakerWorld and Printables are websites where people share 3D models, many for free. Always check the licence first, because some designers only allow personal use and don't allow changes. Online print services let you upload a file and have it printed and mailed, but if measurements are off, you pay again. AI image-to-3D tools turn a picture or sentence into a 3D model, but they're suited for toys, not parts that have to fit to the millimetre. Free CAD programs like Tinkercad or FreeCAD let you design it yourself, but that's the evening work the automation was meant to skip.

What Comes Next

The remote now has a case. The AI now has a printer. The video above goes deeper into each step and shows the prints coming off the bed. The next challenge is giving the AI harder jobs—maybe limbs for a robot—and more autonomy, which in turn gives more free time.

The P2S Combo was about $649 to $749 in Bambu Lab's US store in November 2026. [3] The real opportunity isn't just saving an evening. If an AI can take a description, turn it into a working 3D model, and send it to print without a person sitting at a computer for hours, then the economics of small-batch manufacturing shift. People already sell 3D printed products online and the design files for others to print at home. Some run print farms—rooms full of printers that print orders all day. If the design part can be handed to an AI that works for free around the clock, then selling prints, designs, or running a small print farm starts to look like something one person could actually do.

Watch "I Gave My AI a 3D Printer (Bambu Lab P2S). Here's What It Made." on YouTube

Sources

  1. Bambu Lab P2S FAQ / specs (wiki)
  2. P2S unboxing guide (wiki)
  3. P2S Combo price, Nov 2026 (Digital Citizen)
  4. LiPo safety: why crushing or puncturing is dangerous (iFixit)
  5. build123d (Apache-2.0)
  6. MakerWorld
  7. Printables
  8. Tinkercad
  9. FreeCAD
  10. Stock clips + photos from Pexels by kaboompics, RDNE Stock project, KoolShooters, Ilya Klimenko, cottonbro studio, Atahan Demir, Kindel Media, Taryn Elliott, Jakub Zerdzicki, Mizuno K, Mikael Blomkvist, Ricky Esquivel, Tima Miroshnichenko, Ron Lach, Coverr, Airam Dato-on, Kampus Production, MART PRODUCTION, Zlatin Georgiev, ed br, Matias Luge, Shutter Break, Pavel Danilyuk, utopia 36, Tom Shutkin, Monstera Production, Towfiqu barbhuiya
  11. PiSugar Whisplay HAT for Raspberry Pi
  12. PiSugar 3 battery for Pi Zero
  13. NIMO Mini PC, AMD Ryzen AI Max+ 395 128GB LPDDR5X
  14. Raspberry Pi Zero 2W Kit

More videos