@ifc-lite/data 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string-table.js","sourceRoot":"","sources":["../src/string-table.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;GAGG;AAEH,MAAM,OAAO,WAAW;IACd,OAAO,GAAa,CAAC,EAAE,CAAC,CAAC;IACzB,KAAK,GAAwB,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAE/C,UAAU,GAAG,CAAC,CAAC,CAAC;IAEzB,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,GAAW;QACb,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;YAC1C,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,KAAgC;QACrC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YAC1C,OAAO,IAAI,CAAC,UAAU,CAAC;QACzB,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACvC,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,OAAO,QAAQ,CAAC;QAClB,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;QACrC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAChC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,KAAa;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,KAAa;QACnB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,126 @@
1
+ /**
2
+ * Core types for columnar data structures
3
+ */
4
+ export declare enum IfcTypeEnum {
5
+ IfcProject = 1,
6
+ IfcSite = 2,
7
+ IfcBuilding = 3,
8
+ IfcBuildingStorey = 4,
9
+ IfcSpace = 5,
10
+ IfcWall = 10,
11
+ IfcWallStandardCase = 11,
12
+ IfcDoor = 12,
13
+ IfcWindow = 13,
14
+ IfcSlab = 14,
15
+ IfcColumn = 15,
16
+ IfcBeam = 16,
17
+ IfcStair = 17,
18
+ IfcRamp = 18,
19
+ IfcRoof = 19,
20
+ IfcCovering = 20,
21
+ IfcCurtainWall = 21,
22
+ IfcRailing = 22,
23
+ IfcOpeningElement = 30,
24
+ IfcDistributionElement = 40,
25
+ IfcFlowTerminal = 41,
26
+ IfcFlowSegment = 42,
27
+ IfcFlowFitting = 43,
28
+ IfcRelContainedInSpatialStructure = 100,
29
+ IfcRelAggregates = 101,
30
+ IfcRelDefinesByProperties = 102,
31
+ IfcRelDefinesByType = 103,
32
+ IfcRelAssociatesMaterial = 104,
33
+ IfcRelAssociatesClassification = 105,
34
+ IfcRelVoidsElement = 106,
35
+ IfcRelFillsElement = 107,
36
+ IfcRelConnectsPathElements = 108,
37
+ IfcRelSpaceBoundary = 109,
38
+ IfcPropertySet = 200,
39
+ IfcPropertySingleValue = 201,
40
+ IfcPropertyEnumeratedValue = 202,
41
+ IfcPropertyBoundedValue = 203,
42
+ IfcPropertyListValue = 204,
43
+ IfcElementQuantity = 210,
44
+ IfcQuantityLength = 211,
45
+ IfcQuantityArea = 212,
46
+ IfcQuantityVolume = 213,
47
+ IfcQuantityCount = 214,
48
+ IfcQuantityWeight = 215,
49
+ IfcWallType = 300,
50
+ IfcDoorType = 301,
51
+ IfcWindowType = 302,
52
+ IfcSlabType = 303,
53
+ IfcColumnType = 304,
54
+ IfcBeamType = 305,
55
+ Unknown = 9999
56
+ }
57
+ export declare enum PropertyValueType {
58
+ String = 0,
59
+ Real = 1,
60
+ Integer = 2,
61
+ Boolean = 3,
62
+ Logical = 4,
63
+ Label = 5,
64
+ Identifier = 6,
65
+ Text = 7,
66
+ Enum = 8,
67
+ Reference = 9,
68
+ List = 10
69
+ }
70
+ export declare enum QuantityType {
71
+ Length = 0,
72
+ Area = 1,
73
+ Volume = 2,
74
+ Count = 3,
75
+ Weight = 4,
76
+ Time = 5
77
+ }
78
+ export declare enum RelationshipType {
79
+ ContainsElements = 1,
80
+ Aggregates = 2,
81
+ DefinesByProperties = 10,
82
+ DefinesByType = 11,
83
+ AssociatesMaterial = 20,
84
+ AssociatesClassification = 30,
85
+ ConnectsPathElements = 40,
86
+ FillsElement = 41,
87
+ VoidsElement = 42,
88
+ ConnectsElements = 43,
89
+ SpaceBoundary = 50,
90
+ AssignsToGroup = 60,
91
+ AssignsToProduct = 61,
92
+ ReferencedInSpatialStructure = 70
93
+ }
94
+ export declare enum EntityFlags {
95
+ HAS_GEOMETRY = 1,
96
+ HAS_PROPERTIES = 2,
97
+ HAS_QUANTITIES = 4,
98
+ IS_TYPE = 8,
99
+ IS_EXTERNAL = 16,
100
+ HAS_OPENINGS = 32,
101
+ IS_FILLING = 64
102
+ }
103
+ export interface SpatialNode {
104
+ expressId: number;
105
+ type: IfcTypeEnum;
106
+ name: string;
107
+ elevation?: number;
108
+ children: SpatialNode[];
109
+ elements: number[];
110
+ }
111
+ export interface SpatialHierarchy {
112
+ project: SpatialNode;
113
+ byStorey: Map<number, number[]>;
114
+ byBuilding: Map<number, number[]>;
115
+ bySite: Map<number, number[]>;
116
+ bySpace: Map<number, number[]>;
117
+ storeyElevations: Map<number, number>;
118
+ elementToStorey: Map<number, number>;
119
+ getStoreyElements(storeyId: number): number[];
120
+ getStoreyByElevation(z: number): number | null;
121
+ getContainingSpace(elementId: number): number | null;
122
+ getPath(elementId: number): SpatialNode[];
123
+ }
124
+ export declare function IfcTypeEnumFromString(str: string): IfcTypeEnum;
125
+ export declare function IfcTypeEnumToString(type: IfcTypeEnum): string;
126
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,oBAAY,WAAW;IAErB,UAAU,IAAI;IACd,OAAO,IAAI;IACX,WAAW,IAAI;IACf,iBAAiB,IAAI;IACrB,QAAQ,IAAI;IAGZ,OAAO,KAAK;IACZ,mBAAmB,KAAK;IACxB,OAAO,KAAK;IACZ,SAAS,KAAK;IACd,OAAO,KAAK;IACZ,SAAS,KAAK;IACd,OAAO,KAAK;IACZ,QAAQ,KAAK;IACb,OAAO,KAAK;IACZ,OAAO,KAAK;IACZ,WAAW,KAAK;IAChB,cAAc,KAAK;IACnB,UAAU,KAAK;IAGf,iBAAiB,KAAK;IAGtB,sBAAsB,KAAK;IAC3B,eAAe,KAAK;IACpB,cAAc,KAAK;IACnB,cAAc,KAAK;IAGnB,iCAAiC,MAAM;IACvC,gBAAgB,MAAM;IACtB,yBAAyB,MAAM;IAC/B,mBAAmB,MAAM;IACzB,wBAAwB,MAAM;IAC9B,8BAA8B,MAAM;IACpC,kBAAkB,MAAM;IACxB,kBAAkB,MAAM;IACxB,0BAA0B,MAAM;IAChC,mBAAmB,MAAM;IAGzB,cAAc,MAAM;IACpB,sBAAsB,MAAM;IAC5B,0BAA0B,MAAM;IAChC,uBAAuB,MAAM;IAC7B,oBAAoB,MAAM;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IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAChC,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAClC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC9B,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/B,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGrC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9C,oBAAoB,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/C,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACrD,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,EAAE,CAAC;CAC3C;AA6GD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAE9D;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAE7D"}
package/dist/types.js ADDED
@@ -0,0 +1,229 @@
1
+ /* This Source Code Form is subject to the terms of the Mozilla Public
2
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
+ /**
5
+ * Core types for columnar data structures
6
+ */
7
+ export var IfcTypeEnum;
8
+ (function (IfcTypeEnum) {
9
+ // Spatial structure
10
+ IfcTypeEnum[IfcTypeEnum["IfcProject"] = 1] = "IfcProject";
11
+ IfcTypeEnum[IfcTypeEnum["IfcSite"] = 2] = "IfcSite";
12
+ IfcTypeEnum[IfcTypeEnum["IfcBuilding"] = 3] = "IfcBuilding";
13
+ IfcTypeEnum[IfcTypeEnum["IfcBuildingStorey"] = 4] = "IfcBuildingStorey";
14
+ IfcTypeEnum[IfcTypeEnum["IfcSpace"] = 5] = "IfcSpace";
15
+ // Building elements
16
+ IfcTypeEnum[IfcTypeEnum["IfcWall"] = 10] = "IfcWall";
17
+ IfcTypeEnum[IfcTypeEnum["IfcWallStandardCase"] = 11] = "IfcWallStandardCase";
18
+ IfcTypeEnum[IfcTypeEnum["IfcDoor"] = 12] = "IfcDoor";
19
+ IfcTypeEnum[IfcTypeEnum["IfcWindow"] = 13] = "IfcWindow";
20
+ IfcTypeEnum[IfcTypeEnum["IfcSlab"] = 14] = "IfcSlab";
21
+ IfcTypeEnum[IfcTypeEnum["IfcColumn"] = 15] = "IfcColumn";
22
+ IfcTypeEnum[IfcTypeEnum["IfcBeam"] = 16] = "IfcBeam";
23
+ IfcTypeEnum[IfcTypeEnum["IfcStair"] = 17] = "IfcStair";
24
+ IfcTypeEnum[IfcTypeEnum["IfcRamp"] = 18] = "IfcRamp";
25
+ IfcTypeEnum[IfcTypeEnum["IfcRoof"] = 19] = "IfcRoof";
26
+ IfcTypeEnum[IfcTypeEnum["IfcCovering"] = 20] = "IfcCovering";
27
+ IfcTypeEnum[IfcTypeEnum["IfcCurtainWall"] = 21] = "IfcCurtainWall";
28
+ IfcTypeEnum[IfcTypeEnum["IfcRailing"] = 22] = "IfcRailing";
29
+ // Openings
30
+ IfcTypeEnum[IfcTypeEnum["IfcOpeningElement"] = 30] = "IfcOpeningElement";
31
+ // MEP
32
+ IfcTypeEnum[IfcTypeEnum["IfcDistributionElement"] = 40] = "IfcDistributionElement";
33
+ IfcTypeEnum[IfcTypeEnum["IfcFlowTerminal"] = 41] = "IfcFlowTerminal";
34
+ IfcTypeEnum[IfcTypeEnum["IfcFlowSegment"] = 42] = "IfcFlowSegment";
35
+ IfcTypeEnum[IfcTypeEnum["IfcFlowFitting"] = 43] = "IfcFlowFitting";
36
+ // Relationships
37
+ IfcTypeEnum[IfcTypeEnum["IfcRelContainedInSpatialStructure"] = 100] = "IfcRelContainedInSpatialStructure";
38
+ IfcTypeEnum[IfcTypeEnum["IfcRelAggregates"] = 101] = "IfcRelAggregates";
39
+ IfcTypeEnum[IfcTypeEnum["IfcRelDefinesByProperties"] = 102] = "IfcRelDefinesByProperties";
40
+ IfcTypeEnum[IfcTypeEnum["IfcRelDefinesByType"] = 103] = "IfcRelDefinesByType";
41
+ IfcTypeEnum[IfcTypeEnum["IfcRelAssociatesMaterial"] = 104] = "IfcRelAssociatesMaterial";
42
+ IfcTypeEnum[IfcTypeEnum["IfcRelAssociatesClassification"] = 105] = "IfcRelAssociatesClassification";
43
+ IfcTypeEnum[IfcTypeEnum["IfcRelVoidsElement"] = 106] = "IfcRelVoidsElement";
44
+ IfcTypeEnum[IfcTypeEnum["IfcRelFillsElement"] = 107] = "IfcRelFillsElement";
45
+ IfcTypeEnum[IfcTypeEnum["IfcRelConnectsPathElements"] = 108] = "IfcRelConnectsPathElements";
46
+ IfcTypeEnum[IfcTypeEnum["IfcRelSpaceBoundary"] = 109] = "IfcRelSpaceBoundary";
47
+ // Property definitions
48
+ IfcTypeEnum[IfcTypeEnum["IfcPropertySet"] = 200] = "IfcPropertySet";
49
+ IfcTypeEnum[IfcTypeEnum["IfcPropertySingleValue"] = 201] = "IfcPropertySingleValue";
50
+ IfcTypeEnum[IfcTypeEnum["IfcPropertyEnumeratedValue"] = 202] = "IfcPropertyEnumeratedValue";
51
+ IfcTypeEnum[IfcTypeEnum["IfcPropertyBoundedValue"] = 203] = "IfcPropertyBoundedValue";
52
+ IfcTypeEnum[IfcTypeEnum["IfcPropertyListValue"] = 204] = "IfcPropertyListValue";
53
+ IfcTypeEnum[IfcTypeEnum["IfcElementQuantity"] = 210] = "IfcElementQuantity";
54
+ IfcTypeEnum[IfcTypeEnum["IfcQuantityLength"] = 211] = "IfcQuantityLength";
55
+ IfcTypeEnum[IfcTypeEnum["IfcQuantityArea"] = 212] = "IfcQuantityArea";
56
+ IfcTypeEnum[IfcTypeEnum["IfcQuantityVolume"] = 213] = "IfcQuantityVolume";
57
+ IfcTypeEnum[IfcTypeEnum["IfcQuantityCount"] = 214] = "IfcQuantityCount";
58
+ IfcTypeEnum[IfcTypeEnum["IfcQuantityWeight"] = 215] = "IfcQuantityWeight";
59
+ // Types
60
+ IfcTypeEnum[IfcTypeEnum["IfcWallType"] = 300] = "IfcWallType";
61
+ IfcTypeEnum[IfcTypeEnum["IfcDoorType"] = 301] = "IfcDoorType";
62
+ IfcTypeEnum[IfcTypeEnum["IfcWindowType"] = 302] = "IfcWindowType";
63
+ IfcTypeEnum[IfcTypeEnum["IfcSlabType"] = 303] = "IfcSlabType";
64
+ IfcTypeEnum[IfcTypeEnum["IfcColumnType"] = 304] = "IfcColumnType";
65
+ IfcTypeEnum[IfcTypeEnum["IfcBeamType"] = 305] = "IfcBeamType";
66
+ IfcTypeEnum[IfcTypeEnum["Unknown"] = 9999] = "Unknown";
67
+ })(IfcTypeEnum || (IfcTypeEnum = {}));
68
+ export var PropertyValueType;
69
+ (function (PropertyValueType) {
70
+ PropertyValueType[PropertyValueType["String"] = 0] = "String";
71
+ PropertyValueType[PropertyValueType["Real"] = 1] = "Real";
72
+ PropertyValueType[PropertyValueType["Integer"] = 2] = "Integer";
73
+ PropertyValueType[PropertyValueType["Boolean"] = 3] = "Boolean";
74
+ PropertyValueType[PropertyValueType["Logical"] = 4] = "Logical";
75
+ PropertyValueType[PropertyValueType["Label"] = 5] = "Label";
76
+ PropertyValueType[PropertyValueType["Identifier"] = 6] = "Identifier";
77
+ PropertyValueType[PropertyValueType["Text"] = 7] = "Text";
78
+ PropertyValueType[PropertyValueType["Enum"] = 8] = "Enum";
79
+ PropertyValueType[PropertyValueType["Reference"] = 9] = "Reference";
80
+ PropertyValueType[PropertyValueType["List"] = 10] = "List";
81
+ })(PropertyValueType || (PropertyValueType = {}));
82
+ export var QuantityType;
83
+ (function (QuantityType) {
84
+ QuantityType[QuantityType["Length"] = 0] = "Length";
85
+ QuantityType[QuantityType["Area"] = 1] = "Area";
86
+ QuantityType[QuantityType["Volume"] = 2] = "Volume";
87
+ QuantityType[QuantityType["Count"] = 3] = "Count";
88
+ QuantityType[QuantityType["Weight"] = 4] = "Weight";
89
+ QuantityType[QuantityType["Time"] = 5] = "Time";
90
+ })(QuantityType || (QuantityType = {}));
91
+ export var RelationshipType;
92
+ (function (RelationshipType) {
93
+ RelationshipType[RelationshipType["ContainsElements"] = 1] = "ContainsElements";
94
+ RelationshipType[RelationshipType["Aggregates"] = 2] = "Aggregates";
95
+ RelationshipType[RelationshipType["DefinesByProperties"] = 10] = "DefinesByProperties";
96
+ RelationshipType[RelationshipType["DefinesByType"] = 11] = "DefinesByType";
97
+ RelationshipType[RelationshipType["AssociatesMaterial"] = 20] = "AssociatesMaterial";
98
+ RelationshipType[RelationshipType["AssociatesClassification"] = 30] = "AssociatesClassification";
99
+ RelationshipType[RelationshipType["ConnectsPathElements"] = 40] = "ConnectsPathElements";
100
+ RelationshipType[RelationshipType["FillsElement"] = 41] = "FillsElement";
101
+ RelationshipType[RelationshipType["VoidsElement"] = 42] = "VoidsElement";
102
+ RelationshipType[RelationshipType["ConnectsElements"] = 43] = "ConnectsElements";
103
+ RelationshipType[RelationshipType["SpaceBoundary"] = 50] = "SpaceBoundary";
104
+ RelationshipType[RelationshipType["AssignsToGroup"] = 60] = "AssignsToGroup";
105
+ RelationshipType[RelationshipType["AssignsToProduct"] = 61] = "AssignsToProduct";
106
+ RelationshipType[RelationshipType["ReferencedInSpatialStructure"] = 70] = "ReferencedInSpatialStructure";
107
+ })(RelationshipType || (RelationshipType = {}));
108
+ export var EntityFlags;
109
+ (function (EntityFlags) {
110
+ EntityFlags[EntityFlags["HAS_GEOMETRY"] = 1] = "HAS_GEOMETRY";
111
+ EntityFlags[EntityFlags["HAS_PROPERTIES"] = 2] = "HAS_PROPERTIES";
112
+ EntityFlags[EntityFlags["HAS_QUANTITIES"] = 4] = "HAS_QUANTITIES";
113
+ EntityFlags[EntityFlags["IS_TYPE"] = 8] = "IS_TYPE";
114
+ EntityFlags[EntityFlags["IS_EXTERNAL"] = 16] = "IS_EXTERNAL";
115
+ EntityFlags[EntityFlags["HAS_OPENINGS"] = 32] = "HAS_OPENINGS";
116
+ EntityFlags[EntityFlags["IS_FILLING"] = 64] = "IS_FILLING";
117
+ })(EntityFlags || (EntityFlags = {}));
118
+ // Type conversion helpers
119
+ const TYPE_STRING_TO_ENUM = new Map([
120
+ ['IFCPROJECT', IfcTypeEnum.IfcProject],
121
+ ['IFCSITE', IfcTypeEnum.IfcSite],
122
+ ['IFCBUILDING', IfcTypeEnum.IfcBuilding],
123
+ ['IFCBUILDINGSTOREY', IfcTypeEnum.IfcBuildingStorey],
124
+ ['IFCSPACE', IfcTypeEnum.IfcSpace],
125
+ ['IFCWALL', IfcTypeEnum.IfcWall],
126
+ ['IFCWALLSTANDARDCASE', IfcTypeEnum.IfcWallStandardCase],
127
+ ['IFCDOOR', IfcTypeEnum.IfcDoor],
128
+ ['IFCWINDOW', IfcTypeEnum.IfcWindow],
129
+ ['IFCSLAB', IfcTypeEnum.IfcSlab],
130
+ ['IFCCOLUMN', IfcTypeEnum.IfcColumn],
131
+ ['IFCBEAM', IfcTypeEnum.IfcBeam],
132
+ ['IFCSTAIR', IfcTypeEnum.IfcStair],
133
+ ['IFCRAMP', IfcTypeEnum.IfcRamp],
134
+ ['IFCROOF', IfcTypeEnum.IfcRoof],
135
+ ['IFCCOVERING', IfcTypeEnum.IfcCovering],
136
+ ['IFCCURTAINWALL', IfcTypeEnum.IfcCurtainWall],
137
+ ['IFCRAILING', IfcTypeEnum.IfcRailing],
138
+ ['IFCOPENINGELEMENT', IfcTypeEnum.IfcOpeningElement],
139
+ ['IFCDISTRIBUTIONELEMENT', IfcTypeEnum.IfcDistributionElement],
140
+ ['IFCFLOWTERMINAL', IfcTypeEnum.IfcFlowTerminal],
141
+ ['IFCFLOWSEGMENT', IfcTypeEnum.IfcFlowSegment],
142
+ ['IFCFLOWFITTING', IfcTypeEnum.IfcFlowFitting],
143
+ ['IFCRELCONTAINEDINSPATIALSTRUCTURE', IfcTypeEnum.IfcRelContainedInSpatialStructure],
144
+ ['IFCRELAGGREGATES', IfcTypeEnum.IfcRelAggregates],
145
+ ['IFCRELDEFINESBYPROPERTIES', IfcTypeEnum.IfcRelDefinesByProperties],
146
+ ['IFCRELDEFINESBYTYPE', IfcTypeEnum.IfcRelDefinesByType],
147
+ ['IFCRELASSOCIATESMATERIAL', IfcTypeEnum.IfcRelAssociatesMaterial],
148
+ ['IFCRELASSOCIATESCLASSIFICATION', IfcTypeEnum.IfcRelAssociatesClassification],
149
+ ['IFCRELVOIDSELEMENT', IfcTypeEnum.IfcRelVoidsElement],
150
+ ['IFCRELFILLSELEMENT', IfcTypeEnum.IfcRelFillsElement],
151
+ ['IFCRELCONNECTSPATHELEMENTS', IfcTypeEnum.IfcRelConnectsPathElements],
152
+ ['IFCRELSPACEBOUNDARY', IfcTypeEnum.IfcRelSpaceBoundary],
153
+ ['IFCPROPERTYSET', IfcTypeEnum.IfcPropertySet],
154
+ ['IFCPROPERTYSINGLEVALUE', IfcTypeEnum.IfcPropertySingleValue],
155
+ ['IFCPROPERTYENUMERATEDVALUE', IfcTypeEnum.IfcPropertyEnumeratedValue],
156
+ ['IFCPROPERTYBOUNDEDVALUE', IfcTypeEnum.IfcPropertyBoundedValue],
157
+ ['IFCPROPERTYLISTVALUE', IfcTypeEnum.IfcPropertyListValue],
158
+ ['IFCELEMENTQUANTITY', IfcTypeEnum.IfcElementQuantity],
159
+ ['IFCQUANTITYLENGTH', IfcTypeEnum.IfcQuantityLength],
160
+ ['IFCQUANTITYAREA', IfcTypeEnum.IfcQuantityArea],
161
+ ['IFCQUANTITYVOLUME', IfcTypeEnum.IfcQuantityVolume],
162
+ ['IFCQUANTITYCOUNT', IfcTypeEnum.IfcQuantityCount],
163
+ ['IFCQUANTITYWEIGHT', IfcTypeEnum.IfcQuantityWeight],
164
+ ['IFCWALLTYPE', IfcTypeEnum.IfcWallType],
165
+ ['IFCDOORTYPE', IfcTypeEnum.IfcDoorType],
166
+ ['IFCWINDOWTYPE', IfcTypeEnum.IfcWindowType],
167
+ ['IFCSLABTYPE', IfcTypeEnum.IfcSlabType],
168
+ ['IFCCOLUMNTYPE', IfcTypeEnum.IfcColumnType],
169
+ ['IFCBEAMTYPE', IfcTypeEnum.IfcBeamType],
170
+ ]);
171
+ const TYPE_ENUM_TO_STRING = new Map([
172
+ [IfcTypeEnum.IfcProject, 'IfcProject'],
173
+ [IfcTypeEnum.IfcSite, 'IfcSite'],
174
+ [IfcTypeEnum.IfcBuilding, 'IfcBuilding'],
175
+ [IfcTypeEnum.IfcBuildingStorey, 'IfcBuildingStorey'],
176
+ [IfcTypeEnum.IfcSpace, 'IfcSpace'],
177
+ [IfcTypeEnum.IfcWall, 'IfcWall'],
178
+ [IfcTypeEnum.IfcWallStandardCase, 'IfcWallStandardCase'],
179
+ [IfcTypeEnum.IfcDoor, 'IfcDoor'],
180
+ [IfcTypeEnum.IfcWindow, 'IfcWindow'],
181
+ [IfcTypeEnum.IfcSlab, 'IfcSlab'],
182
+ [IfcTypeEnum.IfcColumn, 'IfcColumn'],
183
+ [IfcTypeEnum.IfcBeam, 'IfcBeam'],
184
+ [IfcTypeEnum.IfcStair, 'IfcStair'],
185
+ [IfcTypeEnum.IfcRamp, 'IfcRamp'],
186
+ [IfcTypeEnum.IfcRoof, 'IfcRoof'],
187
+ [IfcTypeEnum.IfcCovering, 'IfcCovering'],
188
+ [IfcTypeEnum.IfcCurtainWall, 'IfcCurtainWall'],
189
+ [IfcTypeEnum.IfcRailing, 'IfcRailing'],
190
+ [IfcTypeEnum.IfcOpeningElement, 'IfcOpeningElement'],
191
+ [IfcTypeEnum.IfcDistributionElement, 'IfcDistributionElement'],
192
+ [IfcTypeEnum.IfcFlowTerminal, 'IfcFlowTerminal'],
193
+ [IfcTypeEnum.IfcFlowSegment, 'IfcFlowSegment'],
194
+ [IfcTypeEnum.IfcFlowFitting, 'IfcFlowFitting'],
195
+ [IfcTypeEnum.IfcRelContainedInSpatialStructure, 'IfcRelContainedInSpatialStructure'],
196
+ [IfcTypeEnum.IfcRelAggregates, 'IfcRelAggregates'],
197
+ [IfcTypeEnum.IfcRelDefinesByProperties, 'IfcRelDefinesByProperties'],
198
+ [IfcTypeEnum.IfcRelDefinesByType, 'IfcRelDefinesByType'],
199
+ [IfcTypeEnum.IfcRelAssociatesMaterial, 'IfcRelAssociatesMaterial'],
200
+ [IfcTypeEnum.IfcRelAssociatesClassification, 'IfcRelAssociatesClassification'],
201
+ [IfcTypeEnum.IfcRelVoidsElement, 'IfcRelVoidsElement'],
202
+ [IfcTypeEnum.IfcRelFillsElement, 'IfcRelFillsElement'],
203
+ [IfcTypeEnum.IfcRelConnectsPathElements, 'IfcRelConnectsPathElements'],
204
+ [IfcTypeEnum.IfcRelSpaceBoundary, 'IfcRelSpaceBoundary'],
205
+ [IfcTypeEnum.IfcPropertySet, 'IfcPropertySet'],
206
+ [IfcTypeEnum.IfcPropertySingleValue, 'IfcPropertySingleValue'],
207
+ [IfcTypeEnum.IfcPropertyEnumeratedValue, 'IfcPropertyEnumeratedValue'],
208
+ [IfcTypeEnum.IfcPropertyBoundedValue, 'IfcPropertyBoundedValue'],
209
+ [IfcTypeEnum.IfcPropertyListValue, 'IfcPropertyListValue'],
210
+ [IfcTypeEnum.IfcElementQuantity, 'IfcElementQuantity'],
211
+ [IfcTypeEnum.IfcQuantityLength, 'IfcQuantityLength'],
212
+ [IfcTypeEnum.IfcQuantityArea, 'IfcQuantityArea'],
213
+ [IfcTypeEnum.IfcQuantityVolume, 'IfcQuantityVolume'],
214
+ [IfcTypeEnum.IfcQuantityCount, 'IfcQuantityCount'],
215
+ [IfcTypeEnum.IfcQuantityWeight, 'IfcQuantityWeight'],
216
+ [IfcTypeEnum.IfcWallType, 'IfcWallType'],
217
+ [IfcTypeEnum.IfcDoorType, 'IfcDoorType'],
218
+ [IfcTypeEnum.IfcWindowType, 'IfcWindowType'],
219
+ [IfcTypeEnum.IfcSlabType, 'IfcSlabType'],
220
+ [IfcTypeEnum.IfcColumnType, 'IfcColumnType'],
221
+ [IfcTypeEnum.IfcBeamType, 'IfcBeamType'],
222
+ ]);
223
+ export function IfcTypeEnumFromString(str) {
224
+ return TYPE_STRING_TO_ENUM.get(str.toUpperCase()) ?? IfcTypeEnum.Unknown;
225
+ }
226
+ export function IfcTypeEnumToString(type) {
227
+ return TYPE_ENUM_TO_STRING.get(type) ?? 'Unknown';
228
+ }
229
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;GAEG;AAEH,MAAM,CAAN,IAAY,WAkEX;AAlED,WAAY,WAAW;IACrB,oBAAoB;IACpB,yDAAc,CAAA;IACd,mDAAW,CAAA;IACX,2DAAe,CAAA;IACf,uEAAqB,CAAA;IACrB,qDAAY,CAAA;IAEZ,oBAAoB;IACpB,oDAAY,CAAA;IACZ,4EAAwB,CAAA;IACxB,oDAAY,CAAA;IACZ,wDAAc,CAAA;IACd,oDAAY,CAAA;IACZ,wDAAc,CAAA;IACd,oDAAY,CAAA;IACZ,sDAAa,CAAA;IACb,oDAAY,CAAA;IACZ,oDAAY,CAAA;IACZ,4DAAgB,CAAA;IAChB,kEAAmB,CAAA;IACnB,0DAAe,CAAA;IAEf,WAAW;IACX,wEAAsB,CAAA;IAEtB,MAAM;IACN,kFAA2B,CAAA;IAC3B,oEAAoB,CAAA;IACpB,kEAAmB,CAAA;IACnB,kEAAmB,CAAA;IAEnB,gBAAgB;IAChB,yGAAuC,CAAA;IACvC,uEAAsB,CAAA;IACtB,yFAA+B,CAAA;IAC/B,6EAAyB,CAAA;IACzB,uFAA8B,CAAA;IAC9B,mGAAoC,CAAA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ACtE,CAAC,WAAW,CAAC,uBAAuB,EAAE,yBAAyB,CAAC;IAChE,CAAC,WAAW,CAAC,oBAAoB,EAAE,sBAAsB,CAAC;IAC1D,CAAC,WAAW,CAAC,kBAAkB,EAAE,oBAAoB,CAAC;IACtD,CAAC,WAAW,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;IACpD,CAAC,WAAW,CAAC,eAAe,EAAE,iBAAiB,CAAC;IAChD,CAAC,WAAW,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;IACpD,CAAC,WAAW,CAAC,gBAAgB,EAAE,kBAAkB,CAAC;IAClD,CAAC,WAAW,CAAC,iBAAiB,EAAE,mBAAmB,CAAC;IACpD,CAAC,WAAW,CAAC,WAAW,EAAE,aAAa,CAAC;IACxC,CAAC,WAAW,CAAC,WAAW,EAAE,aAAa,CAAC;IACxC,CAAC,WAAW,CAAC,aAAa,EAAE,eAAe,CAAC;IAC5C,CAAC,WAAW,CAAC,WAAW,EAAE,aAAa,CAAC;IACxC,CAAC,WAAW,CAAC,aAAa,EAAE,eAAe,CAAC;IAC5C,CAAC,WAAW,CAAC,WAAW,EAAE,aAAa,CAAC;CACzC,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CAAC,GAAW;IAC/C,OAAO,mBAAmB,CAAC,GAAG,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,IAAiB;IACnD,OAAO,mBAAmB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC;AACpD,CAAC"}
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@ifc-lite/data",
3
+ "version": "1.0.0",
4
+ "description": "Columnar data structures for IFC-Lite",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "devDependencies": {
15
+ "typescript": "^5.3.0"
16
+ },
17
+ "license": "MPL-2.0",
18
+ "author": "Louis True",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/louistrue/ifc-lite.git",
22
+ "directory": "packages/data"
23
+ },
24
+ "homepage": "https://louistrue.github.io/ifc-lite/",
25
+ "bugs": "https://github.com/louistrue/ifc-lite/issues",
26
+ "keywords": [
27
+ "ifc",
28
+ "bim",
29
+ "data",
30
+ "columnar",
31
+ "aec"
32
+ ],
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "README.md"
39
+ ],
40
+ "scripts": {
41
+ "build": "tsc",
42
+ "dev": "tsc --watch"
43
+ }
44
+ }