1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<ifc:ifcXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ifc="http://www.buildingsmart-tech.org/ifcXML/IFC4/Add2"
xmlns="http://www.buildingsmart-tech.org/ifcXML/IFC4/Add2">
<IfcProject GlobalId="project" Name="IFCXML extrusion test">
<IsDecomposedBy>
<IfcRelAggregates GlobalId="aggregate">
<RelatedObjects>
<IfcBuilding GlobalId="building">
<ObjectPlacement xsi:type="IfcLocalPlacement" id="i2">
<RelativePlacement>
<IfcAxis2Placement3D>
<Location id="i4" Coordinates="0 0 0" />
</IfcAxis2Placement3D>
</RelativePlacement>
</ObjectPlacement>
<ContainsElements>
<IfcRelContainedInSpatialStructure GlobalId="containment">
<RelatedElements>
<IfcBuildingElementProxy GlobalId="proxy" Name="XML prism">
<ObjectPlacement xsi:type="IfcLocalPlacement">
<PlacementRelTo xsi:type="IfcLocalPlacement" xsi:nil="true" href="i2" />
<RelativePlacement>
<IfcAxis2Placement3D>
<Location id="i1" Coordinates="10 20 0" />
</IfcAxis2Placement3D>
</RelativePlacement>
</ObjectPlacement>
<Representation xsi:type="IfcProductDefinitionShape">
<Representations>
<IfcShapeRepresentation RepresentationIdentifier="Body" RepresentationType="SweptSolid">
<Items>
<IfcExtrudedAreaSolid Depth="3000">
<SweptArea xsi:type="IfcRectangleProfileDef" ProfileType="area" XDim="2000" YDim="1000" />
<ExtrudedDirection DirectionRatios="0 0 1" />
</IfcExtrudedAreaSolid>
<IfcTriangulatedFaceSet CoordIndex="1 2 3">
<Coordinates xsi:type="IfcCartesianPointList3D" CoordList="0 0 0 1,5 0 0 0 1 0" />
</IfcTriangulatedFaceSet>
<IfcMappedItem>
<MappingSource xsi:nil="true" href="i20" />
<MappingTarget xsi:type="IfcCartesianTransformationOperator3D" Scale="2">
<Axis1><IfcDirection DirectionRatios="0 1 0" /></Axis1>
<Axis2><IfcDirection DirectionRatios="-1 0 0" /></Axis2>
<LocalOrigin xsi:nil="true" href="i22" />
<Axis3><IfcDirection DirectionRatios="0 0 1" /></Axis3>
</MappingTarget>
</IfcMappedItem>
</Items>
</IfcShapeRepresentation>
</Representations>
</Representation>
</IfcBuildingElementProxy>
</RelatedElements>
</IfcRelContainedInSpatialStructure>
</ContainsElements>
</IfcBuilding>
</RelatedObjects>
</IfcRelAggregates>
</IsDecomposedBy>
<RepresentationContexts>
<IfcGeometricRepresentationContext>
<WorldCoordinateSystem>
<IfcAxis2Placement3D>
<Location id="i22" Coordinates="6000 0 0" />
</IfcAxis2Placement3D>
</WorldCoordinateSystem>
</IfcGeometricRepresentationContext>
</RepresentationContexts>
<IfcRepresentationMap id="i20">
<MappingOrigin>
<IfcAxis2Placement3D>
<Location id="i21" Coordinates="0 0 0" />
</IfcAxis2Placement3D>
</MappingOrigin>
<MappedRepresentation>
<IfcShapeRepresentation RepresentationIdentifier="Body" RepresentationType="Tessellation">
<Items>
<IfcTriangulatedFaceSet CoordIndex="1 2 3">
<Coordinates xsi:type="IfcCartesianPointList3D" CoordList="0 0 0 500 0 0 0 500 0" />
</IfcTriangulatedFaceSet>
</Items>
</IfcShapeRepresentation>
</MappedRepresentation>
</IfcRepresentationMap>
</IfcProject>
</ifc:ifcXML>