All projects

printsim

I wanted a camera on the printer. I didn't have permission, so it runs off the file alone.

Status
Live
Built for
Prusa MINI+, Brandeis MakerLab
printsim's built-in sample with no supports. The lamp builds, then the unsupported shade falls into spaghetti.

The printers aren't networked

The Prusa MINI+ printers in the Brandeis MakerLab aren't networked. Once you hit print, the only way to know how far along it is: walk back and look.

You Prusa MINI+ no network

Everything comes from the file

Decode the .bgcode, time every move the way the printer's firmware would, then draw it layer by layer.

How a .bgcode becomes a live print

  1. .bgcodethe same file you sent the printer
  2. Decoderwritten from Prusa's format spec, byte-identical to their reference
  3. Timingcopies the firmware's motion planner
  4. Rendererthree.js, layer by layer
  5. Your phoneprogress, time left, ETA
Overhang check
flags parts that start in mid-air, before you print
Runs in the browserNo account

Load it, start it, walk away

Load the file, tap Start the moment the printer starts, and leave. If a part is going to print in mid-air, you find out before you print.

printsim's home screen: open a .bgcode or try a sample print
Load the file. .bgcode or .gcode, or a sample.
A print building layer by layer on the virtual Prusa MINI+
Watch it build. Layer by layer, on your phone.
Spaghetti alert: a part starts printing in mid-air
Get warned first. When and where it goes wrong.

No camera allowed

The obvious version was a camera on the printer, syncing to the real print. But the printers are school property and I didn't have permission to mount anything. So printsim never sees the printer, and the timing has to be right on its own.

Camera on the printer

Watch the real print and sync to it live.

No permission: school property

Simulate from the file

Decode the .bgcode, copy the firmware's timing, never look at the printer.

What shipped

With no camera it can't see a real failure. It predicts one from the file, and shows you the fall if you print anyway.

Close enough to trust

The timing lands within 0.5% of PrusaSlicer, and the sim finishes within about 2 seconds of the real printer.

0.5%off PrusaSlicer's timing
~2sbetween printsim and the real printer at the finish
0cameras or network connections to the printer
BEES Network