Skip to content

Geometry conversion error in ifcConvert when 'IfcFlowFitting', 'IfcSurfaceStyle', 'IfcFlowSegment' elements don't have a Name field #183

@farialima

Description

@farialima

if an element of type 'IfcFlowFitting', 'IfcSurfaceStyle', or 'IfcFlowSegment' has no "Name" field (i.e. "*" in the IFC) then the geometry generation fails for the geometry element it belongs to.

However, the IFC spec doesn't require these element to have a 'Name' field - it is marked as OPTIONAL , eg. http://www.buildingsmart-tech.org/ifc/IFC2x3/TC1/html/ifcpresentationappearanceresource/lexical/ifcsurfacestyle.htm

Furthermore, the error is not really clear, something like :

[Error] {2l1T6xB2rSHv2y8gtCye3T} Token * at 2832 invalid string
Failed to convert:
#94=IfcShapeRepresentation(#96,'Body','SweptSolid',(#70))

where the GUID is the one of the element in error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions