Automatic print remover for the Bambu Lab A1
A small tower in front of your A1 swings a soft-edged arm across the plate after every print and pushes the prints off. It starts by itself when the plate has cooled, from a button on your phone, or from the button on the tower. Free STL and 3MF files, the firmware, and three ways to control it.
The arm halfway through a sweep. The printer is drawn simplified; the sweeper parts are the real files from the download.
How it works
- The print ends. Three lines at the end of the A1's end G-code lift the toolhead to Z250 and move the bed fully forward (Y256). There it presses a roller switch on the tower.
- The plate cools. A textured or smooth PEI plate lets go of most prints below about 30 °C. With Home Assistant the sweeper reads the bed temperature from the printer and waits for it.
- The arm sweeps. A 35 kg·cm servo turns the 312 mm arm from its parking spot left of the bed, over the back, to the right in four seconds. A TPU lip under the arm rides on the plate, so flat prints go too. The prints drop off the front edge.
- The arm parks again beside the bed, out of the way of the next print.
Nothing on the printer is changed: the tower stands on the table, clamps around the front feet or hangs on the side of the base, and only the end G-code in Bambu Studio gets three lines. The sweeper refuses to move when the bed is not against the switch or when the printer is busy, and if the bed moves during a sweep, the arm goes straight back.




Loose on the table, or fixed to the front feet
The tower can stand on its own in front of the A1, or you can lock it to the printer. For the fixed version, two flat brackets run from the tower base to the A1's two front feet and end in a ring that drops around each foot. The rings have no floor, so the printer still stands on its own feet at the same height. No drilling and nothing stuck to the printer: lift the front of the A1, slide the rings under the feet and set it down.
The tower and the printer then move as one. A bed slinger shakes itself and the table, and a loose tower can slowly creep away from the bed and its switch. Fixed, the gap stays the same. Slots in the brackets let you shift the tower 12 mm in every direction to centre it.


The fixed version needs three more printed parts (two brackets and two copies of the foot ring, PETG, no supports), eight M4×16 bolts with nuts, and at least 7 mm of space under the printer. Measure your feet first: the README in the download lists the five numbers and the script makes new STLs from them. In CAD the brackets and rings stay clear of the feet, the printer base, the screen and the arm's swing, also at the ends of every slot.
Hanging on the printer, nothing on the table
If your A1 stands over the edge of a table, there is no table in front of it to put a tower on. For that there is a third version that hangs on the printer itself. A clamp grips the left side of the printer base: a lip over the top edge, a jaw under the bottom edge, and two bolts from above pull them together. From the clamp a beam runs forward along the base to in front of the bed, where the cross beam hangs.
The cross beam is the servo housing and the electronics box in one. The ESP32 and the power converters sit inside, the button, LED and power socket are in its front, and the bottom is a screw-on lid. No separate box, nothing on the table, no cables across it. The lowest point of the sweeper is above the bottom of the printer's feet, so it never touches the table.




The base sizes come from Bambu's own scaled top view of the A1: the base is 304 mm wide and the Z columns stand 269 to 316 mm behind its front. That also showed the columns are further back than first estimated, so this version has a 325 mm arm that reaches the whole plate. In CAD nothing touches the base, the moving bed, the columns, the screen or the toolhead, and the clamp holds about fifty times what the servo can pull. The two heights of the base are estimates: measure them before you print (the README lists them), and the jaw and the slotted cross beam take up 6 and 10 mm of difference.
Arm, hub, lips, switch bracket, height gauge and firmware are shared with the other two versions. The arm parks on the left and then sticks out 173 mm beside the printer, so keep that spot free or let it park on the right.
Three ways to control it
Option A step by step
- Install Home Assistant (a Home Assistant Green, or a Raspberry Pi 4 or 5) and add the Bambu Lab integration through HACS.
- Add the ESPHome Builder add-on, make a new device, paste
print-sweeper.yamlfrom the download, fill in your Wi-Fi and flash the ESP32 over USB once. After that it updates over Wi-Fi. - Paste
home-assistant-automation.yamlas a new automation and set the names of your printer and phone. - In Bambu Studio, paste
a1-end-gcode.txtat the end of the A1's Machine end G-code. - For control from outside your home, switch on Home Assistant Cloud, or install Tailscale on Home Assistant and on your phone.
The automation in short: when the print status becomes finish, wait until the bed is below 30 °C, check that the bed is still against the switch and no new print has started, press the sweep button, and send a message to your phone with the result.
Measure your A1 first
The parts are drawn for the A1's outside size (385 × 410 × 430 mm) and a few estimated inside sizes. The design is a Python script, so you set your own numbers and make new STLs.
| What | Drawn for | How to measure |
|---|---|---|
| Height of the plate above the table | 90 mm | Bed at Y256, table to the top of the plate. The head slides 25 mm up or down in the column on top of this. |
| Servo axis to the front of the plate | 35 mm | Bed at Y256. Set the tower at this distance. |
| Z columns | inside 152 mm from the middle, front 282 mm from the axis | The arm stays 8 mm away from them. Closer columns make the arm shorter. |
| Room left of the printer | 312 mm from the axis | The arm parks there. |
Checked in CAD
Every part was checked against the others and the arm's swing against a model of the A1 with the toolhead at Z250. The script check.py in the download does the same with your numbers.
| Check | Result |
|---|---|
| Parts and bolts overlapping | None. The bolt, screw and switch holes in the servo head stay clear of each other. |
| Arm hitting the Z columns, toolhead or bed switch | None over the full swing. |
| Plate within reach of the lip | 99.8%. Only a 7 mm sliver in the two back corners is out of reach, and a print partly in it is still pushed off. |
| Pushing force (servo at 6 V) | About 30 N near the hub, 15 N halfway, 10 N at the tip. |
| Arm bending at 9 N on the tip | 2.6 mm, stress far below what PETG takes. |
| Drag of the TPU lip | About 3 N at 0.3 mm press, set with the printed height gauge. |
Parts list
| Part | About |
|---|---|
| ESP32 DevKitC (ESP32-WROOM-32). Option C: an Arduino Uno WiFi Rev2 | €8 |
| Servo DS3235, 35 kg·cm, 270° version, with a 25T aluminium disc horn | €22 |
| 12 V 3 A adapter with a 5.5 × 2.1 mm panel socket | €10 |
| Step-down XL4015 set to 6.0 V (servo) and MP1584 or Mini560 set to 5.0 V (ESP32) | €6 |
| KW11-3Z micro switch with a long roller lever, 12 mm push button, 5 mm LED + 330 Ω, 1000 µF capacitor | €4 |
| M4 and M3 bolts, 2 M4 heat-set inserts, rubber feet (full list in the README) | €5 |
| Filament: about 250 g PETG, 15 g TPU 95A | €6 |
For option A you also need something that runs Home Assistant, such as a Home Assistant Green (about €99) or a Raspberry Pi.
Wiring. The servo gets its own 6 V supply; never power it from the ESP32.
Good to know
- Prints that are still stuck to a cold plate stay on. Let the plate cool further or set the sweeper to sweep twice.
- Put a box in front of the printer, right of the tower: that is where the prints fall.
- A bed slinger shakes the table. Weigh the loose tower down or screw it to the table, or use the fixed version so it moves with the printer.
- Try it with a few test cubes before you leave it alone.
- Not made by or connected to Bambu Lab. Changing the end G-code and adding parts around your printer is at your own risk.
Everything in one ZIP: the parts for all three versions, the 3MF plates for a 256 mm bed, the firmware for all three options, the wiring and a README.
Download the files