If you're reading this, we've just migrated servers! If anything looks broken please email dion@thinkmoult.com :)

Blender as middlewareIFC-converter?

Hi,
We're looking at trying to script Rhino to import 3D dwg and spit out IFC. Could this be scripted with Blender so it can be automated? I'm guesstimating Bleder is better than Rhino when it comes to IFC.

Tagged:

Comments

  • Hello !
    Blender can't natively import dwg but it can import dxf. It depends on how your dwg file is structured though.

  • edited January 2022

    Hello !
    Blender can't natively import dwg but it can import dxf. It depends on how your dwg file is structured though.

    However theoretically you don't even need Blender as a middle man to convert things, with a library like ezdxf and the ifcopenshell python api you can do all that with a python program. How difficult / time consuming to code it will be is another problem, though :)

  • I'd recommend using DXF, which is far more accessible than DWG. With that, you could use either Blender or access the DXF directly as @Gorgious suggests. There is some preliminary work showing this conversion working discussed in this issue: https://github.com/IfcOpenShell/IfcOpenShell/issues/1950

Sign In or Register to comment.