4.8.2.9.8 Body CSG Geometry

The Body CSG Geometry is the representation of the 3D shape of a product by Constructive Solid Geometry models.

The following attribute values for the IfcShapeRepresentation holding this geometric representation shall be used:

NOTE  The Items IfcBooleanResult and IfcPrimitive3D shall also be allowed for compatibility with previous releases of the standard.

Figure 90 illustrates an instance diagram.

Body CSG GeometryIfcElementIfcProductDefinitionShapeIfcShapeRepresentationIfcGeometricRepresentationContextIfcLabelIfcLabelIfcCsgSolid

Figure 90 — Body CSG Geometry

mvdXML Specification
<?xml version="1.0"?>
<ConceptTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="a0ab7630-6965-495e-be8f-d106fd2599c2" name="Body CSG Geometry" status="sample" applicableSchema="IFC4" applicableEntity="IfcElement">
  <Rules>
    <AttributeRule AttributeName="Representation">
      <EntityRules>
        <EntityRule EntityName="IfcProductDefinitionShape">
          <AttributeRules>
            <AttributeRule AttributeName="Representations">
              <EntityRules>
                <EntityRule EntityName="IfcShapeRepresentation">
                  <AttributeRules>
                    <AttributeRule AttributeName="ContextOfItems">
                      <EntityRules>
                        <EntityRule EntityName="IfcGeometricRepresentationContext" />
                      </EntityRules>
                    </AttributeRule>
                    <AttributeRule RuleID="Identifier" AttributeName="RepresentationIdentifier">
                      <EntityRules>
                        <EntityRule EntityName="IfcLabel" />
                      </EntityRules>
                    </AttributeRule>
                    <AttributeRule RuleID="Type" AttributeName="RepresentationType">
                      <EntityRules>
                        <EntityRule EntityName="IfcLabel">
                          <Constraints>
                            <Constraint Expression="Type[Value] = 'CSG'" />
                          </Constraints>
                        </EntityRule>
                      </EntityRules>
                    </AttributeRule>
                    <AttributeRule AttributeName="Items">
                      <EntityRules>
                        <EntityRule EntityName="IfcCsgSolid">
                          <AttributeRules>
                            <AttributeRule AttributeName="TreeRootExpression" />
                          </AttributeRules>
                        </EntityRule>
                      </EntityRules>
                    </AttributeRule>
                  </AttributeRules>
                </EntityRule>
              </EntityRules>
            </AttributeRule>
            <AttributeRule AttributeName="Name" />
            <AttributeRule AttributeName="Description" />
          </AttributeRules>
        </EntityRule>
      </EntityRules>
    </AttributeRule>
  </Rules>
</ConceptTemplate>

Examples:

Link to this page  Link to this page