matplace
ToolsModel from G-code

Convert G-code back to STL

Upload a .gcode from Orca, Anycubic Slicer, Bambu Studio, PrusaSlicer or Cura and we rebuild a watertight model from the wall paths, layer by layer: supports, brim and the prime tower left out. A multi-colour print gets a part per colour, or filament changes by height.

File

Settings

Nothing to set: the model comes from the outer wall paths as the slicer wrote them. What the header said shows with the result.

Free. The model is made right after the upload; the printer, the profile, the time and the filament come from the header.

Result

Sizes and parts appear with the preview.

Material and quantity

Sizes and parts appear with the preview.

The calculation shows the exact price and print time, and you can download the model or a project for your printer. No sign-up.

The model is a cast of the print, not the original design: it has the steps of the layers, and details thinner than a line are gone. For printing again, pricing and ordering it is enough.

What comes out of the G-code, how exact it is and what is lost

You only have the G-code and the original model is lost, or you got a print file without its source? The tool reads the toolhead paths and rebuilds a solid, closed model from the outer walls of every layer. The surface lies where the outer wall of the print was; holes and islands stay, while inner walls, infill, supports, brim and the prime tower do not shape the model. It understands G-code from OrcaSlicer, Bambu Studio, Anycubic Slicer, PrusaSlicer and Cura, arcs and tool changes included, up to 150 MB and 1.5 million lines. From the header it reads the slicer, the printer, the layer height, the print time and the filament used. Colours are kept: several tools in one layer give one part per colour and a 3MF project with the colours, colour changes by height stay as filament changes.

An example from 27 October 2026 (run on our computer, files from our own printer): a G-code from Anycubic Slicer Next for a Kobra S1, 5.6 MB and 191 thousand lines, 165 layers of 0.2 mm, a 36 minute print of 3.6 g, gave in 12 seconds a model of 91 × 57 × 16.5 mm with 522 thousand triangles. A two-colour G-code of 14 MB and 545 thousand lines (39 layers of 0.12 mm, 5 h 16 min, 81 g) gave in 9 seconds two parts by colour, black 49 g and yellow Silk 33 g, with the colours from the header. On a known solid the volume came out 0.8 % larger than the original model. The new model opens like any other file: you price it, change its size or colours and have it printed by us, or download the STL, the parts by colour or the 3MF project.

Before you order

Can you not just print my G-code?

No. G-code is written for one printer and its settings; our farm prints from a model it slices for its own machine and material. The conversion to a model makes that possible, and you can change the size or the colours on top.

Why is the surface of the model stepped?

The model carries the layers of the print it came from, 0.2 mm say. In printing the steps are covered by new layers and do not show; after scaling the model up, sand them or print with a finer layer.

I have a .gcode.3mf from Bambu Studio or a .bgcode from Prusa. What now?

A .gcode.3mf file is a zip: unpack it and upload the .gcode from its Metadata folder. The tool does not read binary .bgcode; in PrusaSlicer switch binary G-code off in the printer settings and export again, or convert the file with Prusa’s bgcode tool.

Is the conversion free, and do I need an account?

The conversion and the download are free and need no account; the G-code serves only the conversion and the calculation and is passed to nobody. You need an account only when you have the model printed by us.

Who it is for

A lost source model

The print came out well but the STL is gone. From the G-code on the SD card comes a model you print again, scale or recolour.

A file from someone else

You only got a G-code for a different printer. As a model you slice it for yours, or have it printed by us.

An archive on the SD card

Old G-codes from the printer as models in a catalogue: you see the shape, the size and the price of another piece.

How it works

  1. Upload the G-code. Drop the .gcode file into the field or click and choose it. Up to 150 MB and 1.5 million lines; there is nothing to set.
  2. Wait a few seconds. The tool finds the outer wall loops of every layer, nests them and pulls them up into a solid. An ordinary print takes three to twelve seconds.
  3. Look at the result. The preview shows the model; the report under it the slicer, the printer, the layer height, the time, the grams and the colours. Parts by colour are coloured in the preview.
  4. Order the print or download. Price the model and have it printed by us, or download the STL, the parts by colour or the 3MF project for your slicer.

Common questions

How exact is a model from G-code?

The surface is where the centre of the outer wall was plus half a line width, that is where the surface of the print was. On a known solid the volume came out 0.8 % larger, the footprint within hundredths of a millimetre, the height rounded to layers. Corners are rounded by half a line and the layer steps stay, as on the real print.

Which G-codes does the tool read?

G-code for FDM printers with path type marks: OrcaSlicer, Bambu Studio, Anycubic Slicer Next, PrusaSlicer, Cura. It does not read binary .bgcode, G-code without type marks (old Cura, Simplify3D) or files for resin or CNC; for those it says it found no walls. A .gcode.3mf package from Bambu Studio is a zip: unpack it and upload the .gcode file from its Metadata folder.

What happens to the colours?

Several tools in one layer (a letter inlaid in a plate, say) give one part per colour with the filament colour from the header, plus a 3MF project with the colours. Colour changes by height stay as filament changes at those heights. One filament gives one part.

Why are small details and text missing from the model?

The model is made from the outer walls only: whatever is narrower than one line (0.4 mm) the slicer never printed, so it is not in the G-code. Infill, top and bottom layers do not shape anything. Raised text or a fine pattern of the original model therefore comes back only as coarse as the printer really printed it.

Can I scale the model or edit it further?

Yes, the result is an ordinary STL: scale it in the calculator, hollow it, split it into parts or make a mold of it. Scaling up also enlarges the layer steps that stayed in the model; for twice the size and more, sanding the surface is better.

What about a G-code printed in vase mode?

A spiral has no closed loops, so the tool closes every layer where the spiral passes its height. The model comes out solid; to print it as a vase again, switch vase mode on in your slicer once more.

Where next

Looking for something else? See all Tools