G-code to 3DM Converter: Toolpath Mesh for Rhino | MiConvert

G-code to 3DM Converter for Rhino

Upload a sliced G-code file and get a Rhino 3DM with one mesh traced around the printed paths, which you can use as a reference to measure or remodel over. It approximates what the printer would lay down, so it is not the original CAD model and contains no NURBS surfaces.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
GCODE → 3DM

What a G-code to 3DM conversion gives you

G-code is the instruction list a slicer such as PrusaSlicer, Cura, OrcaSlicer or Bambu Studio writes for one specific printer. It contains X, Y and Z targets plus E values that say how much filament to push. It describes a route for the nozzle, not surfaces, so Rhino cannot open it as geometry. Converting it helps when the STL or Rhino file behind a print is lost.

The conversion runs on our servers. The converter keeps only the moves where extrusion increases, and each travel move or retraction ends a path. If the slicer wrote layer markers, the start and end code is dropped, including the purge line. The remaining paths are marked in a voxel grid and wrapped in a closed surface at a fixed 0.2 mm radius. That surface goes through a temporary GLB and is then written as a Rhino 7 3DM file holding one mesh object, labelled in millimeters.

Coordinates are not re-centered or rotated, so the mesh sits where the part was on the build plate. Grid cells are at least 0.3 mm and get larger as the job gets larger, about 1 mm for a print 250 mm across, so fine detail softens on big parts. The result is a shell around every bead with the infill lattice inside it, not a solid. Supports, skirt, brim and wipe tower stay in, and all extruders merge into one mesh. Colors, layers and print settings are not carried over.

Arc moves (G2/G3) become straight chords, and a full circle written as a single arc disappears. Files written in G20 inches keep their inch numbers under a millimeter label. The output works well for checking the size of a part whose source file is gone, aligning a new design to an old print, or tracing a reference to remodel cleanly in Rhino. If you only want to print the same object again, resend the original G-code instead.

How to convert G-code to a Rhino 3DM

  1. Find the file your slicer exported: .gcode, .g, .gco, FlashForge .gx or Prusa binary .bgcode. Bambu Studio and OrcaSlicer .gcode.3mf projects are not accepted here, so export plain G-code from the slicer instead.
  2. If you can still reslice, turn off arc fitting first. Curves are then written as short straight moves, which trace far more faithfully than single chords.
  3. Look for a G20 line near the top of the file. A G20 file needs scaling by 25.4 in Rhino afterwards, because the converter does not convert inches.
  4. Upload the file. A .bgcode file is decoded to text first. The paths are then traced and the 3DM is written, and each of these steps has a 10-minute limit, which very long prints can exceed.
  5. Download the 3DM within about 4 hours and open it in Rhino 7 or newer. Use Zoom Extents to find the mesh at its original plate position.
  6. Use Rhino's mesh tools to cut away any skirt, brim or support regions you do not need before you measure or trace.

What this G-code to 3DM converter handles

  • Reads PrusaSlicer, OrcaSlicer, Bambu Studio, Cura and Simplify3D-style G-code. It handles absolute and relative extrusion (M82/M83) and resets with G92.
  • Decodes Prusa binary .bgcode files (deflate or heatshrink compression, MeatPack encoding) before tracing. It also skips the header and thumbnail in FlashForge .gx files.
  • When the file has layer markers such as ;LAYER_CHANGE or ;LAYER:n, removes the purge or intro line and drops ;TYPE:Custom blocks.
  • Refuses empty results instead of delivering a blank 3DM file.
  • File size limits per file: 50 MB as a guest with no account, 100 MB with a free account, 200 MB on Plus and 1 GB on Pro.

Video Tutorial

Learn how to change GCODE to 3DM online incredibly simply and quickly. This tool maintains 100% of your original file's quality. 🔗 Access MiConvert tool here: https://miconvert.com/en/gcode-to-3dm?u

G-code to 3DM questions

Can I convert G-code back to the original STL or Rhino model?

No. G-code records nozzle moves, not the designed surfaces. You get a closed mesh traced around every extruded path at a fixed 0.2 mm radius, so wall thickness, sharp edges and small text are approximate. Treat the result as a measured reference rather than the source file.

Will the 3DM contain NURBS surfaces I can edit?

No. The file holds a single mesh. Running MeshToNURB on a dense print mesh creates one surface per triangle, which is heavy and hard to edit. A better approach is to cut cross-section curves from the mesh with Contour or Section and rebuild clean surfaces from those curves.

Why are my curves faceted or a round hole missing?

Arcs (G2/G3) are read by end point only, so each becomes one straight chord and a full circle vanishes. Reslice with arc fitting off to get short straight moves instead.

Why does the mesh include supports, a skirt or a wipe tower?

Only the start and end code and ;TYPE:Custom blocks are filtered out, and only when the file has layer markers. Supports, skirts, brims and wipe towers are real extrusion, so they stay in the mesh. There is no option to drop them, so trim them in Rhino afterwards.

What does No movement/extrusion commands found mean?

It means no extruding or cutting moves were detected. Common causes are a text file that is not G-code, a renamed binary or project file, or a file that contains only travel moves. Upload the file exactly as the slicer exported it. CNC programs need cuts written as G1, G2 or G3, and a CNC file that contains an E word is read as a print job.

Does it read Prusa .bgcode and FlashForge .gx files?

Yes, both are supported. Signed Prusa Connect files are refused with "Could not read this 3D file". For those, export an unsigned .bgcode, or turn off binary G-code in PrusaSlicer and export plain .gcode. If a .gx file fails, export it again from FlashPrint. CNC extensions such as .tap or .ngc are not accepted. Renamed to .gcode they convert, but only as a thin tube of 0.2 mm radius along the tool center-line, not the machined part. Rapids are skipped, and canned cycles, tool changes and rotary axes are ignored.

Can I edit the G-code here, like in Bambu Studio, Orca or Cura?

No, this page only turns G-code into a mesh. To change start or end code, edit the machine G-code in your slicer's printer settings and slice again. That is Printer settings in Bambu Studio and OrcaSlicer, and Machine Settings in Cura. For changes to the part itself, edit the model and reslice.

What happens to my file after conversion?

Files travel over HTTPS through Cloudflare and are converted on our servers. Your upload is deleted as soon as the conversion finishes. The converted file can be downloaded for about 4 hours, then it is deleted automatically. The download link is a random token, not a one-time link, so anyone you share it with can use it until it expires. File names and conversion outcomes are logged.