STL / 3MF to G-code

Generate actual FDM toolpaths from STL or compatible 3MF files, with adjustable layer height and infill.

Formats STL · 3MF → G-codeSteps & examples
A green pear separates into horizontal print layers.

Workspace

Your file is uploaded temporarily for processing.

Preset parameters

Input & settings

Choose a file to get startedUploads to the server temporarily · 24 MB max

No file selected

Select a file to begin.

Result

Run the tool to check your output here.

Generate G-code for review before printing

  1. Choose a small STL or compatible geometry-only 3MF.
  2. Set layer height, infill, perimeter count and nozzle diameter.
  3. Slice, download G-code and inspect it against your printer configuration.

Worked example

Choose a small known model, review layer height, infill, perimeters and nozzle size, then Slice model to G-code. Download the G-code and inspect it in your printer workflow before printing.

Input and output

Temporarily upload STL or a compatible 3MF to generate G-code with PrusaSlicer. The API accepts model uploads up to 10 MiB, which is stricter than the general 24 MiB form limit.

Format and size limits

3MF archives allow at most 1,024 entries, 120 MiB declared total expansion and 40 MiB per entry. Slicing has a 150-second command timeout. Printer compatibility and a safe physical print are not guaranteed by a successful download.

If processing fails

Encrypted or damaged archives, missing model XML, unsupported vendor profiles and complex geometry may fail. Export geometry-only 3MF or STL if Bambu/Orca project settings are incompatible. Local viewing does not establish slicing compatibility.

Questions about this tool

Can I print the downloaded G-code immediately?

Review it first. Generic defaults are not calibrated for your printer, bed, origin, material or firmware; a successful download does not establish print safety.

Why can a 3MF preview work while slicing fails?

Geometry viewing and slicing accept different parts of the format. Vendor project profiles and extensions may be incompatible; export geometry-only 3MF or STL.

How it works

Uses a PrusaSlicer CLI binary on the Oracle server to load STL or compatible 3MF models and generate G-code. The file is uploaded temporarily; supported 3MF profiles vary by slicer.

Important limitations

Some Bambu/Orca/Prusa 3MF project extensions or print settings may be incompatible. Generic slicer defaults are NOT calibrated for your printer; check nozzle, bed size, origin, support and firmware. Never print unreviewed G-code.