CSG to FBX Converter for OpenSCAD Models | MiConvert

Convert OpenSCAD CSG Files to FBX

Upload a .csg file exported from OpenSCAD and download an FBX containing one triangle mesh of your finished solids. Plan on fixing scale and orientation: the FBX treats OpenSCAD's millimeter numbers as meters, so the model arrives 1000 times too large and lying on its back.

📁

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 → FBX

Why OpenSCAD CSG needs converting for FBX tools

A .csg file is what OpenSCAD writes when you export a design as its evaluated construction tree: cubes, cylinders, spheres and polyhedra, plus the union, difference and intersection steps and transforms that combine them. Variables, loops and modules are already resolved, but there is still no surface to draw. Unity, Unreal Engine, Maya and 3ds Max cannot run those booleans, and FBX, the interchange format they all import, expects finished polygons.

On our servers, FreeCAD 1.1 reads the file with its OpenSCAD importer, which rebuilds every primitive and boolean as an exact solid without needing the OpenSCAD program. The finished top-level solids are then triangulated and handed over as a temporary GLB, and Blender 5.1.2 writes the FBX. Because this is a two-stage chain, each stage has its own 10-minute limit. CSG reading was repaired in an October 2026 update and has seen little production use since, so if an upload failed before then, try it again.

Shape is what survives. Spheres are rebuilt exactly, cylinders exported with $fn between 3 and 16 stay as the prisms you modeled, and other cylinders become true round surfaces before meshing. The mesh follows a fixed tolerance of 0.1 mm chord deviation and 0.5 radians (about 29 degrees) of angular deviation, which you cannot change. For spheres and true round cylinders, the facet count comes from that rule rather than from your $fn, $fa or $fs values.

What does not survive: the FBX holds one mesh object with no materials, so color() values and separate part identities are gone, and several top-level solids arrive as disconnected pieces of that single mesh. Units and axes are not converted either; see the scale fix below.

This route suits people who designed a bracket, enclosure or prop in OpenSCAD and want it as static geometry in a game level, a Unity prototype or a Maya or 3ds Max scene. It is not a path to rigs, animation or textured assets, because a .csg file contains none of those to begin with.

How to convert a CSG file to FBX

  1. In OpenSCAD, preview the design and export it with File > Export > Export as CSG. A .scad source file is not accepted here.
  2. Search the .csg text for hull(, minkowski(, text(, import(, surface(, projection(, glide( or subdiv(. If any appear, render in OpenSCAD and export a mesh instead, because those calls are refused here.
  3. Upload the file. Without an account each file can be up to 50 MB and you can send 10 at a time, far more room than a text CSG export usually needs.
  4. Download the FBX from the link that appears; it stays valid for about 4 hours.
  5. In your engine or DCC tool, apply a scale of 0.001 and a 90-degree rotation around the X axis so the part stands upright at its modeled size.

What this CSG to FBX converter does

  • Evaluates the boolean tree with FreeCAD 1.1's OpenSCAD importer; the OpenSCAD program itself is not used on our side.
  • Rebuilds spheres exactly, keeps cylinders with $fn from 3 to 16 as prisms, and makes all other cylinders truly round before any triangles exist.
  • Applies one meshing tolerance, 0.1 mm and 0.5 radians, to every part regardless of its size.
  • Writes the FBX with Blender 5.1.2 from a GLB intermediate, as a single mesh object without materials.
  • Refuses unsupported OpenSCAD functions such as hull() or minkowski() with a message that names them, instead of producing a wrong shape.
  • Accepts batches of up to 10 files for guests and free accounts, 25 on Plus and 50 on Pro.

Video Tutorial

Learn how to change CSG to FBX online incredibly simply and quickly. This tool maintains 100% of your original file's quality. 🔗 Access MiConvert tool here: https://miconvert.com/en/csg-to-fbx?utm_s

CSG to FBX questions

Is this for CS:GO files?

No. Here CSG stands for constructive solid geometry, and the .csg file comes from OpenSCAD, a script-based CAD program. Counter-Strike configs, maps and skins are unrelated and will not convert on this page.

Why is my FBX enormous and lying on its back?

No step in the chain converts units or axes. Your OpenSCAD numbers are millimeters with Z as height; the FBX presents them as meters with height on the depth axis. In Unity, set the Scale Factor in the model's import settings to 0.001, or scale the object by 0.001 in Blender, Maya or Unreal, then rotate it 90 degrees around X.

Will color() and part names carry over?

No. The FBX contains one mesh object and no materials, so colors set in OpenSCAD and any split into named parts are lost. Assign materials in your engine. In Blender you can divide the mesh in Edit Mode with Mesh > Separate > By Loose Parts if you need separate objects.

What does 'This CSG file uses hull()/minkowski()/text()/import()' mean?

Our importer works without the OpenSCAD program. hull(), minkowski(), text() and projection() need OpenSCAD's own geometry engine, and import(), surface(), glide() and subdiv() are refused as well. All of them always fail here. Render the design in OpenSCAD, export STL or 3MF, import that into Blender and export FBX from there.

I got 'No valid 3D geometry found in this file'. Why?

For a CSG file a common cause is a design that is only 2D, such as squares, circles or polygons that were never made into solids, which leaves nothing to mesh. The message also mentions textures because it is shared with other 3D formats; ignore that part. Make the design 3D in OpenSCAD and export again, or use CSG to DXF if a flat outline is what you need.

Why does it say it could not read my file?

That generic message appears when the CSG text cannot be parsed: a hand-edited file with a syntax error, a truncated download, or a .scad source renamed to .csg, which usually contains variables and modules a CSG parser is not built for. Export the CSG again from OpenSCAD and upload it unchanged.

Should I choose OBJ or GLB instead of FBX?

If you only need static geometry, the CSG to OBJ and CSG to GLB routes produce the same triangles, and OBJ is written by FreeCAD directly without the Blender stage. Pick FBX when your pipeline or asset store specifically asks for it. None of the three carries materials, and GLB has the same scale and orientation problem as FBX.

Where is my file processed, and how long is it kept?

On our servers, not in your browser; the upload travels over HTTPS through Cloudflare. The .csg is deleted as soon as the conversion job finishes, and the FBX can be downloaded for about 4 hours before it is deleted automatically. The download link is a random token not tied to your account, so share it only with people who should have the file. File names, sizes and outcomes are logged for operations, and signed-in users get a history entry.