Open-Infra-Platform icon indicating copy to clipboard operation
Open-Infra-Platform copied to clipboard

[BUG] IfcSphere in IfcShapeRepresentation not supported

Open christophKaiser opened this issue 3 years ago • 2 comments

Describe the bug If an IfcSphere is defined as follwing, the sphere is not displayed in the rendering of the ifc file. An appropriate error message appears in the output window, which tells the entity is not supported.

IfcProductDefinitionsShape
  IfcShapeRepresentation
    IfcSphere

However, other viewers do support this structure, like FreeCAD or BIMcollab.

Screen shot OIP: grafik

FreeCAD: grafik

christophKaiser avatar Jul 12 '22 10:07 christophKaiser

Expand RepresentationConverter::convertIfcGeometricRepresentationItem appropriately for IfcCsgPrimitive3D and call SolidModelConverter::convertIfcCsgPrimitive3D. Should work then.

pjanck avatar Jul 12 '22 10:07 pjanck

Thanks. I already have the code changes - just have to do a little bit of cosmetics and put them into nice commits.

christophKaiser avatar Jul 12 '22 11:07 christophKaiser