Skip to content

Commit

Permalink
GeoScience usages
Browse files Browse the repository at this point in the history
  • Loading branch information
larswik committed Apr 23, 2024
1 parent e1c4533 commit 1f080fb
Show file tree
Hide file tree
Showing 9 changed files with 232 additions and 158 deletions.
283 changes: 142 additions & 141 deletions IFC4x3/ModelViews/General Usage/DocModelView.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="IfcGeoScienceFeature" Name="IfcGeoScienceFeature" UniqueId="179a94fb-7e68-4d91-89ad-ac03ff8693f4" BaseDefinition="IfcGeoScienceElement" EntityFlags="32">
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcGeoScienceFeature" UniqueId="179a94fb-7e68-4d91-89ad-ac03ff8693f4" BaseDefinition="IfcGeoScienceElement" EntityFlags="32">
<Attributes>
<DocAttribute Name="PredefinedType" UniqueId="124ad9f3-ef29-4e12-a9b5-8e9cb76959a7" DefinedType="IfcGeoScienceFeatureTypeEnum" AttributeFlags="1">
<Documentation>Specifies the type for which the value is selected from a predefined type enumeration. This type may associate additional specific property sets.</Documentation>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="IfcGeoScienceModel" Name="IfcGeoScienceModel" UniqueId="444b3163-ad13-47a0-b903-7c8955684265" BaseDefinition="IfcGeoScienceElement" EntityFlags="32">
<DocEntity xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="IfcGeoScienceModel" UniqueId="444b3163-ad13-47a0-b903-7c8955684265" BaseDefinition="IfcGeoScienceElement" EntityFlags="32">
<Attributes>
<DocAttribute Name="PredefinedType" UniqueId="82a92e9d-9ceb-457f-9068-9e706c650490" DefinedType="IfcGeoScienceModelTypeEnum" AttributeFlags="1">
<Documentation>Specifies the type for which the value is selected from a predefined type enumeration. This type may associate additional specific property sets.</Documentation>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<DocTemplateDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Complementary_Data_Composition_0MQ9I7W893NeanpjChteY" Name="Complementary Data Composition" UniqueId="16689487-8082-435e-893f-c73b4caf7a22" Type="IfcComplementaryData">
<Rules>
<DocModelRuleAttribute Name="Decomposes" Identification="Decomposes">
<Rules>
<DocModelRuleEntity Name="IfcRelAggregates">
<Rules>
<DocModelRuleAttribute Name="RelatingObject" Identification="RelatingObject">
<Rules>
<DocModelRuleEntity Name="IfcComplementaryData">
<Rules>
<DocModelRuleAttribute Name="Name" Identification="ElementName">
<Rules>
<DocModelRuleEntity Name="IfcLabel" />
</Rules>
</DocModelRuleAttribute>
</Rules>
</DocModelRuleEntity>
</Rules>
</DocModelRuleAttribute>
</Rules>
</DocModelRuleEntity>
</Rules>
</DocModelRuleAttribute>
</Rules>
</DocTemplateDefinition>

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Provision of an aggregation structure where the complementary data is part of another complementary data representing the composite. The part then provides, if such concepts are in scope of the Model View Definition, exclusively the following:

* _Body Geometry_ &mdash; The partial body shape representation and its placement;
* _Material_ &mdash; The material information for the part.

The part may also provide, in addition to the aggregate, more specifically the following:

* _Property Sets_ &mdash; The parts may have individual property sets assigned, solely or in addition to the composite;
* _Quantity Sets_ &mdash; The parts may have individual quantity sets assigned, solely or in addition to the composite.

The part should not be contained in the spatial hierarchy, i.e. the concept _Spatial Containment_ shall not be used at the level of parts. The part is contained in the spatial structure by the spatial containment of its composite.

The part should not be assigned to an _IfcProduct_, i.e. the concept _Product Assignment_ shall not be used at the level of parts.

> EXAMPLE&nbsp; An _IfcComplementaryData_ may be aggregated into a composite _IfcComplementaryData_ using the objectified relationship _IfcRelAggregates_, refering to it by its inverse attribute SELF\IfcObjectDefinition.Decomposes. Any subtype of _IfcComplementaryData_ can be an element assembly. In this case it should not be additionally contained in the spatial hierarchy, i.e. _SELF\IfcElement.ContainedInStructure_ should be NIL.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<DocTemplateDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Complementary_Data_Decomposition_2dPaQJZv96NvJhXffrZuJ" Name="Complementary Data Decomposition" UniqueId="a7664693-8f92-465f-94eb-869a758ffe13" Type="IfcComplementaryData">
<Rules>
<DocModelRuleAttribute Name="IsDecomposedBy" Identification="IsDecomposedBy">
<Rules>
<DocModelRuleEntity Name="IfcRelAggregates">
<Rules>
<DocModelRuleAttribute Name="RelatedObjects" Identification="RelatedObjects">
<Rules>
<DocModelRuleEntity Name="IfcComplementaryData">
<Rules>
<DocModelRuleAttribute Name="Name" Identification="PartName">
<Rules>
<DocModelRuleEntity Name="IfcLabel" />
</Rules>
</DocModelRuleAttribute>
</Rules>
</DocModelRuleEntity>
</Rules>
</DocModelRuleAttribute>
</Rules>
</DocModelRuleEntity>
</Rules>
</DocModelRuleAttribute>
</Rules>
</DocTemplateDefinition>

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Provision of an aggregation structure where the complementary data, representing the composite, is decomposed into parts represented by other complementary data instances.

The composite then provides, if such concepts are in scope of the Model View Definition, exclusively the following:

* _Product Placement_ &mdash; the common object coordinate system to which the parts are placed relative

By default the following constraints apply to an element being decomposed by _Element Decomposition_:

* _Body Geometry_ &mdash; composite is constructed from the sum of the _Body Geometry_ of the parts;
* the composite shall not have an own _Body Geometry_, body geometry is provided at the parts;
* the composite shall not have an own _Material_ assignment, material is assigned to the parts.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<DocTemplateDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Body_Voxel_Geometry_26QpkFZ0vAwBJyaQ0jh4Zy" Name="Body Voxel Geometry" UniqueId="866b3b8f-8c0e-4ae8-b4fc-91a02dac48fc" Type="IfcElement">
<DocTemplateDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Voxel_Geometry_1XcKyD1H56fQHkAb0rHsrs" Name="Voxel Geometry" UniqueId="61994f0d-0511-46a5-a46e-2a5035476d76" Type="IfcProduct">
<Rules>
<DocModelRuleAttribute Name="Representation">
<Rules>
<DocModelRuleEntity Name="IfcProductDefinitionShape">
<Rules>
<DocModelRuleAttribute Name="Name" />
<DocModelRuleAttribute Name="Description" />
<DocModelRuleAttribute Name="Representations">
<Rules>
<DocModelRuleEntity Name="IfcShapeRepresentation">
Expand All @@ -16,12 +18,12 @@
</DocModelRuleAttribute>
<DocModelRuleAttribute CardinalityMin="1" CardinalityMax="1" Name="RepresentationIdentifier" Identification="Identifier">
<Rules>
<DocModelRuleEntity id="IfcLabel_2WDxTWkX6MAivzWpuNkt" Name="IfcLabel" UniqueId="a0fcdedd-82e8-4658-ab3f-e7d833e17bb7">
<DocModelRuleEntity id="IfcLabel_16_Ie8u4XFohmTfdonbmYg" Name="IfcLabel" UniqueId="46f92a08-e048-4fca-bc1d-a67cb19708aa">
<Rules>
<DocModelRuleConstraint>
<Expression xsi:type="DocOpStatement" Operation="compareequal">
<Reference xsi:type="DocOpReference">
<EntityRule xsi:type="DocModelRuleEntity" xsi:nil="true" href="IfcLabel_2WDxTWkX6MAivzWpuNkt" />
<EntityRule xsi:type="DocModelRuleEntity" xsi:nil="true" href="IfcLabel_16_Ie8u4XFohmTfdonbmYg" />
</Reference>
<Value xsi:type="DocOpLiteral" Operation="loadstring" Literal="Body" />
</Expression>
Expand All @@ -32,12 +34,12 @@
</DocModelRuleAttribute>
<DocModelRuleAttribute Name="RepresentationType" Identification="Type">
<Rules>
<DocModelRuleEntity id="IfcLabel_3v4CbFNz155ufR5hY9ZR7l" Name="IfcLabel" UniqueId="f910c94f-5fd0-4517-8a5b-16b8898db1ef">
<DocModelRuleEntity id="IfcLabel_3r9G1AqgfCrOV38N6xls0D" Name="IfcLabel" UniqueId="f525004a-d2aa-4cd5-87c3-2171bbbf600d">
<Rules>
<DocModelRuleConstraint>
<Expression xsi:type="DocOpStatement" Operation="compareequal">
<Reference xsi:type="DocOpReference">
<EntityRule xsi:type="DocModelRuleEntity" xsi:nil="true" href="IfcLabel_3v4CbFNz155ufR5hY9ZR7l" />
<EntityRule xsi:type="DocModelRuleEntity" xsi:nil="true" href="IfcLabel_3r9G1AqgfCrOV38N6xls0D" />
</Reference>
<Value xsi:type="DocOpLiteral" Operation="loadstring" Literal="Voxel" />
</Expression>
Expand All @@ -46,7 +48,7 @@
</DocModelRuleEntity>
</Rules>
</DocModelRuleAttribute>
<DocModelRuleAttribute Name="Items" Identification="Items">
<DocModelRuleAttribute Name="Items">
<Rules>
<DocModelRuleEntity Name="IfcVoxelGrid" />
</Rules>
Expand All @@ -55,8 +57,6 @@
</DocModelRuleEntity>
</Rules>
</DocModelRuleAttribute>
<DocModelRuleAttribute Name="Name" />
<DocModelRuleAttribute Name="Description" />
</Rules>
</DocModelRuleEntity>
</Rules>
Expand Down

0 comments on commit 1f080fb

Please sign in to comment.