Open SubChange opened 5 months ago
ifcopenshell is a powerful tool to parse ifc files. In the ifcopenshel.geom part, I saw that one can convert ifc file to OpenCASCADE BRep by
ifcopenshel.geom
settings = ifcopenshell.geom.settings() settings.set(settings.USE_PYTHON_OPENCASCADE, True)
However, above implementation is based on pythonocc-core, another python wrapper of OpenCASCADE. I want to know if there are any methods to convert ifc file to cadquery objects?
Potentially related issues here.
So the actual question is: how do I convert from PythonOCC to OCP. There are two options:
OCP.TopoDS.TopoDS_Shape._from_address
ifcopenshell is a powerful tool to parse ifc files. In the
ifcopenshel.geom
part, I saw that one can convert ifc file to OpenCASCADE BRep byHowever, above implementation is based on pythonocc-core, another python wrapper of OpenCASCADE. I want to know if there are any methods to convert ifc file to cadquery objects?