Convert OpenSCAD CSG to Rhino 3DM
Upload the .csg file that OpenSCAD exports and download a Rhino 3DM that contains your model as one mesh in millimeters. Designs that use hull(), minkowski(), text(), import(), surface() or projection() cannot be converted here, so export those from OpenSCAD as STL or 3MF instead.
Download Started!
How would you rate your experience with MiConvert?
From an OpenSCAD construction tree to a Rhino mesh
CSG stands for constructive solid geometry. Here it means the .csg file that OpenSCAD writes through File, Export, Export as CSG, not anything to do with Counter-Strike. The file is a flattened version of your script: primitives such as cubes, spheres and cylinders, transformation matrices and boolean operations, with modules and loops already expanded. Rhino has no reader for it, and the .scad source itself is not accepted here.
Our servers rebuild the tree with FreeCAD 1.1's OpenSCAD importer, without running OpenSCAD itself. Each primitive becomes a solid and the booleans are evaluated by the OpenCASCADE kernel. Spheres come out exact. A cylinder with $fn between 3 and 16 becomes a prism with that many sides, matching how OpenSCAD draws it, and any other cylinder is built as a true cylinder. Only the top-level solids of the tree are written, so the operands consumed by a difference() or union() do not show up as extra bodies.
The solids are then meshed at FreeCAD's fixed tolerance of 0.1 mm chord and 0.5 radian angle. The mesh passes through a temporary GLB and is written by rhino3dm as a Rhino 7 file containing one mesh object in millimeters. As a result, raising $fn above 16 does not make the 3DM any rounder, because the tolerance decides the smoothness. Rhino also receives triangles, not NURBS surfaces or polysurfaces, and there are no layers or object names. The converter does not swap axes, so OpenSCAD's Z stays the vertical axis, which matches Rhino's.
This route suits OpenSCAD users who want a parametric part inside Rhino for rendering, layout or as a reference to model around. If you need an editable NURBS model, this converter does not produce one. Instead, open the .csg in FreeCAD's OpenSCAD workbench and export STEP, which Rhino imports as solids.
How to turn an OpenSCAD design into a 3DM
- Open the design in OpenSCAD and choose File, Export, Export as CSG. Upload that .csg file, not the .scad script.
- Search the script for hull, minkowski, text, import, surface and projection. If any of them appear, skip this page and export STL or 3MF from OpenSCAD instead.
- Keep the file within your plan's limit: 50 MB per file as a guest, 100 MB with a registered account, 200 MB on Plus and 1 GB on Pro.
- Upload the file. The target is fixed to 3DM, and the job runs in two server steps, FreeCAD first and then the 3DM writer, each allowed up to 10 minutes.
- Download the .3dm within about 4 hours and open it in Rhino 7 or newer. The mesh sits at your OpenSCAD coordinates, labeled as millimeters.
What you get in the 3DM
- OpenSCAD primitives and booleans rebuilt as solids by FreeCAD 1.1's importer before any meshing happens
- Low $fn cylinders (3 to 16 sides) kept polygonal, so intentional hexagons and octagons stay that way
- A fixed triangulation of 0.1 mm chord and 0.5 radian angle, applied identically to every model
- A Rhino 7 file with one mesh object, millimeter units and Z as the up axis
- Specific error messages naming the unsupported operation when a file uses hull(), minkowski(), text() or import()
- The upload deleted when the job ends, and the 3DM downloadable for about 4 hours
Video Tutorial
Learn how to change CSG 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/csg-to-3dm?utm_s
CSG to 3DM questions
Why did my upload fail with Invalid project file ... iostream error?
That raw message is what FreeCAD prints when it cannot load a file as a project. CSG conversion had a bug that a deploy on October 12, 2026 fixed, so a failure from before then may not repeat: try uploading the file again. If the same text returns, open the file in a text editor and check that it is an OpenSCAD export containing statements such as group and multmatrix, then re-export it with Export as CSG. If it still fails, export 3MF or STL from OpenSCAD and use one of the routes described in the next answer.
Which OpenSCAD features cannot be converted?
hull(), minkowski(), text(), projection(), import() and surface() are refused, as are the rarely used glide() and subdiv(). Each one stops the job with a message that names the operation. These operations need OpenSCAD itself to compute, and it is not installed on our servers. For such designs, export STL from OpenSCAD and import it into Rhino directly, or export 3MF and use our 3MF to 3DM converter.
Can I upload my .scad file instead?
No. Only OpenSCAD's exported .csg is accepted, and a .scad file is refused, because the script must be evaluated by OpenSCAD first. Exporting as CSG takes a moment in OpenSCAD and gives this converter the expanded tree it needs.
Will Rhino get editable NURBS surfaces?
No. The 3DM holds one mesh object made of triangles. Rhino's MeshToNURB command can wrap it as a polysurface, but each triangle becomes its own flat face, so it is not a smooth model. For true solids in Rhino, open the .csg in FreeCAD's OpenSCAD workbench and export STEP; this site does not offer CSG to STEP.
Does $fn control how smooth the 3DM is?
Only for values from 3 to 16, which produce prisms with that many sides. Any other cylinder is rebuilt as a true cylinder and then meshed at the fixed 0.1 mm and 0.5 radian tolerance, so higher $fn values change nothing. Spheres are always rebuilt exactly and meshed the same way. There is no setting for a finer mesh.
What do Could not read this 3D file and No valid 3D geometry found mean here?
These are generic texts, and their mention of textures does not apply to CSG. Could not read usually means a syntax error, often from a hand-edited or truncated file, so re-export it from OpenSCAD. No valid geometry usually means the design is 2D only, such as circle() or square() without an extrusion. A 3DM mesh cannot be made from that, but our CSG to DXF converter writes those outlines.
What happens to my CSG file and the 3DM after conversion?
Both conversion steps run on our servers. Your .csg is deleted as soon as the job completes or finally fails. The 3DM can be downloaded for about 4 hours and is then deleted automatically. Transfers go over HTTPS, and the download link is a random token that works for anyone holding it until expiry. File names and conversion outcomes are recorded in our logs.