This is a fork of io_import_fcstd by Stefan Krüger (s-light) which is based on work by Yorik van Havre.
blender importer for FreeCAD files
- Original author: Yorik van Havre https://gist.github.com/yorikvanhavre/680156f59e2b42df8f5f5391cae2660b
- Direct Fork of Stefan Krüger (s-light) (io_import_fcstd)
- This fork was completely updated using Cursor to add new functionality and improve compatibility for Blender 3.0+, and to remove all unnecessary files and code for a cleaner, modern add-on experience.
- Maintained by: tankshield
This script imports FreeCAD .FCStd files into Blender.
This is a work in progress, so not all geometry elements of FreeCAD might be supported at this point.
- Improved Auto Smooth: Better auto smooth implementation that respects original face shading
- Triangulation Option: Optional triangulation of all faces during import
- Cleanup After Import: Automatic mesh cleanup using Tris to Quads and Limited Dissolve operations
- Updated Defaults: Auto smooth angle changed to 30° for better results
- Blender 3.0 or later (tested on Blender 4.4, should work on 3.0+)
- FreeCAD installed on your system
- Python version compatibility between Blender and FreeCAD (first two version numbers must match, e.g., 3.11.x)
- Download this repository as a ZIP file (or clone it).
- In Blender, go to
Edit>Preferences>Add-ons>Install...and select the ZIP file. - Enable the add-on (search for "FreeBImport").
- Set the correct paths to FreeCAD libraries in the add-on preferences:
- FreeCAD library path:
/Applications/FreeCAD.app/Contents/Resources/lib/ - System Python packages path:
/Applications/FreeCAD.app/Contents/Resources/lib/python3.11/site-packages
- FreeCAD library path:
C:\Program Files\FreeCAD 0.21\bin - System Python packages path:
C:\Program Files\FreeCAD 0.21\bin\Lib\site-packages
Make sure the Python version used by Blender matches the one used by FreeCAD (the first two version numbers must match, e.g., 3.11.x).
- To test your setup, open Blender's Python console and run:
import FreeCADIf no error appears, your paths are set up correctly.
Go to File > Import > FreeBImport v02 (.FCStd) and select your FreeCAD file.
This add-on has only been tested under macOS Sequoia on Intel platform. It remains untested on other platforms (Windows, Linux, Apple Silicon, etc.). Please report your experience if you try it elsewhere.
Blender may crash on exit after importing a FreeCAD file.
This is a known issue caused by the way FreeCAD and its OpenCASCADE libraries are loaded into Blender's process. When Blender closes, unloading these libraries can cause a segmentation fault (SIGSEGV) or crash. This is a limitation of mixing FreeCAD and Blender in the same process and is not specific to this add-on.
Workarounds:
- Save your Blender project immediately after importing.
- Restart Blender after each import session to avoid losing work.
- The crash does not affect the imported data if you save before quitting.
For more details, see the crash report in the Error Reporting folder.
MIT License. See LICENSE.
see the issues for open points.
- support clones
- support texts, dimensions, etc (non-part/mesh objects)