What converting mesh to shape means in FreeCAD

A mesh in FreeCAD is a surface made of thousands of tiny triangles stitched together — like a 3D photograph. A shape is a solid object defined by mathematical rules, where FreeCAD knows exactly where every edge and face is. Converting mesh to shape means taking that triangle-based surface and turning it into a solid that FreeCAD can edit, measure, and use for manufacturing.

You need this conversion when you import a mesh from a 3D scan, a downloaded model, or another program. Meshes are lightweight and good for viewing, but you cannot modify them precisely, create technical drawings from them, or prepare them for 3D printing without converting them first. A shape gives you those capabilities.

The conversion process in FreeCAD is straightforward: you select the mesh, run a conversion tool, and FreeCAD rebuilds it as a solid shape. The result depends on how clean your mesh is — a mesh with holes or overlapping triangles will not convert perfectly, and you may need to repair it first.

Key Takeaways

  • Meshes are triangle-based surfaces; shapes are mathematically defined solids that FreeCAD can edit and measure.
  • The Part Design workbench has a "Make Compound" tool, but the Part workbench's "Convert to Shape" is the direct conversion method.
  • A mesh must be closed and free of holes or overlapping triangles to convert cleanly into a usable shape.
  • If conversion fails or produces errors, use the Part workbench's repair tools to fix the mesh before trying again.
  • After conversion, you can edit the shape, create technical drawings, and prepare it for 3D printing or manufacturing.

Switching to the Part workbench

FreeCAD organizes tools into workbenches — each one holds a different set of functions. Mesh-to-shape conversion lives in the Part workbench, not in Part Design where you build objects from scratch.

Open FreeCAD and look at the top toolbar. You will see a dropdown menu that currently shows your active workbench — it might say "Part Design" or "Model". Click that dropdown and select Part from the list. The toolbar will change, and you will see different menus and icons.

If you cannot find the dropdown, go to the menu bar at the very top, click View, then Workbench, and select Part. Either method gets you to the same place.

Loading or importing your mesh

Before you can convert a mesh, it has to be in your FreeCAD file. If you already have a mesh open, skip this section. If you need to bring one in, go to File > Open or File > Import.

Use Open if the file is already a FreeCAD document (.FCStd). Use Import if it is a mesh file from another source — common formats are .STL, .OBJ, .PLY, and .3MF. FreeCAD will load the mesh into your document as an object in the left panel (called the Model tree).

Click the mesh object in the Model tree to select it. The mesh will highlight in the 3D view. You are now ready to convert it.

Running the conversion command

With the mesh selected in the Model tree, go to the menu bar and click Part. You will see a dropdown menu with many options. Look for Convert to Shape — this is the command that does the conversion.

Click Convert to Shape. FreeCAD will process the mesh and create a new shape object. If the mesh is clean and closed, the conversion will finish in a few seconds. You will see a new object appear in the Model tree, usually named something like "Shape" or "Converted_Mesh".

The original mesh stays in the Model tree. You can delete it if you no longer need it, or hide it by clicking the eye icon next to its name.

What to do if conversion fails

If FreeCAD shows an error message or the conversion produces a shape with visible problems, your mesh likely has defects — holes, gaps, or triangles that overlap. The Part workbench has repair tools that can fix many of these issues.

With the mesh still selected, go to Part > Check Geometry. FreeCAD will scan the mesh and report what is wrong. Common problems include "open edges" (holes) or "self-intersections" (overlapping triangles). The report tells you whether the mesh can be repaired.

If repair is possible, try Part > Refine Shape or Part > Make Compound. These tools clean up minor defects. After repair, select the mesh again and run Convert to Shape once more.

If the mesh has major damage, you may need to use external software to repair it before bringing it back into FreeCAD. Many free online mesh repair services exist, and they can fix holes and overlaps that FreeCAD cannot.

Editing and using your converted shape

Once you have a shape, you can do things a mesh cannot. You can measure distances and angles precisely, create a technical drawing, add features like holes or pockets, or export it for 3D printing with exact dimensions.

To measure, go to Part > Measure and click edges or faces. To create a drawing, switch to the TechDraw workbench, go to TechDraw > Insert View, and select your shape. To export for 3D printing, go to File > Export and choose a format like .STL or .3MF.

If you need to modify the shape — add a hole, change a dimension, or combine it with another object — you can use Part workbench tools like Boolean operations (union, difference, intersection) or switch to Part Design to add features on top of it.

Common reasons conversion produces poor results

Even when conversion succeeds, the result might not be what you expected. The most common cause is that the original mesh was not closed — it had gaps or holes that made it impossible to define a solid interior. FreeCAD will create a shape anyway, but it may have thin walls or missing faces.

Another reason is that the mesh was too detailed or too coarse. A mesh with millions of tiny triangles will convert to a shape with millions of edges, making it slow to work with. A mesh that is too coarse (few triangles) will convert to a blocky shape that does not match the original surface smoothly.

If the converted shape does not look right, go back to the original mesh and check it in a mesh viewer or repair tool before trying again. Sometimes re-exporting the mesh from the source program at a different quality setting solves the problem.

Frequently Asked Questions

Can I convert a mesh to a shape without switching workbenches?

No, the conversion tool is only in the Part workbench. You must switch to it first. However, once you convert the shape, you can switch back to Part Design or any other workbench and continue working with it.

What is the difference between "Convert to Shape" and "Make Compound"?

Convert to Shape turns a mesh into a single solid shape. Make Compound groups multiple objects together without merging them. For a single mesh, use Convert to Shape. Use Make Compound when you have multiple separate objects you want to treat as one unit.

Will converting a mesh lose detail?

No, conversion preserves the mesh geometry. However, the resulting shape will have as many edges and faces as the original mesh had triangles. A very detailed mesh will convert to a very complex shape, which can slow down FreeCAD.

Can I convert a shape back to a mesh?

Yes. Select the shape, go to Part > Convert to Mesh, and FreeCAD will create a mesh version. This is useful if you need to export to a format that requires a mesh, or if you want to simplify a complex shape.

What mesh formats does FreeCAD accept?

FreeCAD imports .STL, .OBJ, .PLY, .3MF, and several other formats. Go to File > Import, and FreeCAD will show you which formats it can read. If your file type is not listed, you may need to convert it using external software first.