CSG to 3MF Converter for OpenSCAD Exports | MiConvert

CSG to 3MF Converter for OpenSCAD Exports

Upload a .csg file exported from OpenSCAD and get a millimeter-scale 3MF mesh that slicers can open. Designs that use hull(), minkowski(), text() or import() are refused, so for those, export 3MF from OpenSCAD itself.

📁

Drop your file here

or click to browse

Select File

Max 10 files, 50MB each

SSL Encrypted Auto-deleted No Sign Up 100% Free
CSG → 3MF

Printing a photo instead?

Turn a picture into a lithophane or relief STL that glows when light shines through it. It is built in your browser, and the photo is never uploaded. Lithophane maker →

What happens when a CSG file becomes 3MF

A .csg file is what OpenSCAD writes when you choose Export as CSG: your modules and loops are resolved into plain cube, cylinder, sphere, multmatrix, union and difference statements. It describes how to build the part, not its surface, so slicers such as PrusaSlicer, Bambu Studio and Cura cannot load it. They need triangles, and 3MF is the format Bambu Studio and PrusaSlicer use for their own project files.

On our servers, FreeCAD 1.1's OpenSCAD importer parses those statements and rebuilds the supported primitives and booleans as real solids; the OpenSCAD program is not used. The finished solids are triangulated with a fixed chord tolerance of 0.1 mm and an angle limit of 0.5 radians, about 29 degrees, and written straight to 3MF in the same step.

Shape and size carry over. FreeCAD reads the values as millimeters and the 3MF declares millimeters, which matches how OpenSCAD models are normally drawn, so the part appears in the slicer at its modeled size. Round geometry behaves differently from OpenSCAD's own export. A cylinder with $fn between 3 and 16 stays the prism you saw on screen, while other cylinders and all spheres are rebuilt as true curved surfaces and then meshed at our tolerance. Colors set with color(), object names and print settings are not written; the package holds one uncolored object.

This page is for people who hold a .csg rather than the .scad source, for example a file shared from someone else's project, and who need something a slicer or print service accepts. CSG reading was repaired in an update on October 12, 2026 and has been checked on sample files, but no conversion on the live site has succeeded yet, so check the first result carefully. If you have OpenSCAD and the original design, exporting 3MF there remains the most dependable route.

How to convert CSG to 3MF

  1. In OpenSCAD, open the design and choose File > Export > Export as CSG. The .scad source is not accepted here; only the exported .csg is.
  2. Search the file for hull(, minkowski(, text(, import(, surface(, projection(, glide( or subdiv(. Any of these will be refused, so render with F6 and export 3MF from OpenSCAD instead.
  3. Make sure the design is 3D. A model built only from square(), circle() or polygon() has no volume to mesh and belongs on the CSG to DXF converter.
  4. Upload the .csg; 3MF is already selected as the target.
  5. Download the .3mf and open it in your slicer. Check the dimensions, then use the slicer's split-to-objects command if separate top-level parts should become separate objects.

What this CSG to 3MF converter does

  • Parses OpenSCAD's CSG export with FreeCAD 1.1, so you do not need OpenSCAD or FreeCAD installed.
  • Keeps the flat sides of cylinders whose $fn is 3 to 16, which matters for hexagonal nut traps and other deliberate polygons.
  • Writes only the final top-level solids. Shapes subtracted by difference() never appear as extra bodies, and identical copies stacked at one spot are written once.
  • Produces a 3MF with one object, labeled in millimeters, with only the model file inside the package: no colors, materials or slicer profiles.
  • Applies one fixed meshing rule, 0.1 mm chord deviation and a 0.5-radian angle limit; there is no density setting.
  • Accepts files up to 50 MB without an account, and up to 10 files per upload.

Video Tutorial

An A-Z video guide on how to use MiConvert to change CSG format to 3MF. This is the safest method to convert data without needing to download any applications to your device. 🔗 Format conversion too

CSG to 3MF questions

Is a .csg file related to CS:GO?

No. In 3D modeling, CSG stands for constructive solid geometry, and a .csg file is the text export of an OpenSCAD model. Counter-Strike skins, configs and maps are unrelated, and this converter cannot open them.

Why was my file refused with a message about hull(), minkowski() or text()?

FreeCAD's importer needs the OpenSCAD program to evaluate those operations, and that program is not installed on our converter. The file therefore stops with a message that names the operation. Open the .scad in OpenSCAD, render with F6, and use File > Export > Export as 3MF. That gives you a finished mesh with nothing left to convert.

What does 'Could not read this 3D file' mean for a CSG upload?

The file could not be parsed. That usually means it was cut short, edited by hand, or is not CSG output from OpenSCAD at all. The wording is a generic message shared with other 3D formats, which is why it mentions textures. Export the CSG again and upload the untouched file.

I got 'Invalid project file ... basic_ios::clear: iostream error'. What should I do?

That text comes from FreeCAD's project-file reader. It was seen on a CSG upload made while CSG reading was still broken, before the October 12, 2026 repair. You can try the upload again, but no CSG conversion has succeeded on the live site yet. If the message returns, confirm the file is a plain-text .csg from OpenSCAD and not a renamed file of another type, or export 3MF from OpenSCAD directly.

Will the 3MF keep my OpenSCAD colors?

No. The output contains geometry only, so color() has no effect on it. Assign filaments or paint in your slicer, or export each colored part on its own and load the parts together there.

Why do curves look different from OpenSCAD's own export?

OpenSCAD facets circles according to $fn, $fa and $fs. Here, unless $fn is 3 to 16, the curve becomes a true circle or sphere and is then split into triangles by our fixed rule. Large curves follow the 0.1 mm limit, while small holes and bosses are governed by the angle limit, so they get relatively few facets and can look polygonal. You cannot change this. If you need OpenSCAD's exact facets, export 3MF there.

What happens to my file after I upload it?

It travels over HTTPS to our servers and is converted there, not in your browser. The uploaded CSG is deleted as soon as the conversion finishes. The 3MF stays downloadable for about 4 hours, then it is deleted automatically. Until then the download link works for anyone who has it. File names and job details are logged.