@ifc-lite/codegen 1.18.0 → 1.19.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.
- package/README.md +15 -0
- package/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/generator.d.ts +9 -0
- package/dist/generator.d.ts.map +1 -1
- package/dist/generator.js +51 -3
- package/dist/generator.js.map +1 -1
- package/dist/rust-attribute-flags.d.ts +54 -0
- package/dist/rust-attribute-flags.d.ts.map +1 -0
- package/dist/rust-attribute-flags.js +103 -0
- package/dist/rust-attribute-flags.js.map +1 -0
- package/dist/rust-generator.d.ts.map +1 -1
- package/dist/rust-generator.js +30 -42
- package/dist/rust-generator.js.map +1 -1
- package/dist/rust-schema-queries.d.ts.map +1 -1
- package/dist/rust-schema-queries.js +13 -5
- package/dist/rust-schema-queries.js.map +1 -1
- package/dist/rust-slot-emitter.d.ts +70 -0
- package/dist/rust-slot-emitter.d.ts.map +1 -0
- package/dist/rust-slot-emitter.js +293 -0
- package/dist/rust-slot-emitter.js.map +1 -0
- package/dist/rust-slot-renames.d.ts +26 -0
- package/dist/rust-slot-renames.d.ts.map +1 -0
- package/dist/rust-slot-renames.js +34 -0
- package/dist/rust-slot-renames.js.map +1 -0
- package/dist/rust-type-id-generator.d.ts +4 -0
- package/dist/rust-type-id-generator.d.ts.map +1 -0
- package/dist/rust-type-id-generator.js +30 -0
- package/dist/rust-type-id-generator.js.map +1 -0
- package/dist/rust-type-name-parser.js +2 -2
- package/dist/rust-unknown-ifc-type.d.ts +3 -0
- package/dist/rust-unknown-ifc-type.d.ts.map +1 -0
- package/dist/rust-unknown-ifc-type.js +32 -0
- package/dist/rust-unknown-ifc-type.js.map +1 -0
- package/package.json +4 -4
- package/schemas/IFC4X1.exp +12630 -0
- package/schemas/IFC4X2.exp +12885 -0
- package/schemas/attribute-renames.json +28 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": [
|
|
3
|
+
"Same-position attribute renames between bundled IFC releases (F3e-0b, #7780).",
|
|
4
|
+
"The slot generator (src/rust-slot-emitter.ts) names a slot by its canonical IFC4X3 name and treats a listed older spelling as the SAME attribute.",
|
|
5
|
+
"Every row is validated: a row whose names sit at different positions in two schemas fails generation, so a rename can never cover a move.",
|
|
6
|
+
"A row applies to the listed entities and all of their subtypes.",
|
|
7
|
+
"Semantic replacements are NOT renames and stay out of this file: CompositionType -> PredefinedType (IfcBuildingElementProxy), InteriorOrExteriorSpace -> PredefinedType (IfcSpace), ShapeType -> PredefinedType (IfcRamp, IfcRoof, IfcStair), BarRole -> PredefinedType (IfcReinforcingBar) and OperationType -> PredefinedType (IfcTransportElement) each name a different enumeration. They stay moving slots and read as absent in IFC2X3.",
|
|
8
|
+
"UrlReference -> URLReference (IfcImageTexture) is also not a rename: IFC4 inserted attributes before it, so it moved (4 -> 5).",
|
|
9
|
+
"Such a moved attribute whose old spelling would give the same slot name as the new one is listed under \"omit\": it gets no slot, and the texture readers pin IFC4 (D6)."
|
|
10
|
+
],
|
|
11
|
+
"omit": [
|
|
12
|
+
{ "entity": "IfcImageTexture", "attribute": "UrlReference" }
|
|
13
|
+
],
|
|
14
|
+
"renames": [
|
|
15
|
+
{ "name": "Specification", "aliases": ["Description"], "entities": ["IfcProperty", "IfcComplexProperty"] },
|
|
16
|
+
{ "name": "Specification", "aliases": ["Location"], "entities": ["IfcClassification"] },
|
|
17
|
+
{ "name": "Identification", "aliases": ["ItemReference"], "entities": ["IfcExternalReference"] },
|
|
18
|
+
{ "name": "Identification", "aliases": ["Id"], "entities": ["IfcOrganization", "IfcPerson"] },
|
|
19
|
+
{ "name": "Identification", "aliases": ["DocumentId"], "entities": ["IfcDocumentInformation"] },
|
|
20
|
+
{ "name": "Mode", "aliases": ["TextureType"], "entities": ["IfcSurfaceTexture"] },
|
|
21
|
+
{ "name": "NumberOfRisers", "aliases": ["NumberOfRiser"], "entities": ["IfcStairFlight"] },
|
|
22
|
+
{ "name": "RelatingSpace", "aliases": ["RelatedSpace"], "entities": ["IfcRelCoversSpaces"] },
|
|
23
|
+
{ "name": "DeltaTConstant", "aliases": ["DeltaT_Constant"], "entities": ["IfcStructuralLoadTemperature"] },
|
|
24
|
+
{ "name": "DeltaTY", "aliases": ["DeltaT_Y"], "entities": ["IfcStructuralLoadTemperature"] },
|
|
25
|
+
{ "name": "DeltaTZ", "aliases": ["DeltaT_Z"], "entities": ["IfcStructuralLoadTemperature"] },
|
|
26
|
+
{ "name": "ModelOrDraughting", "aliases": ["ModelorDraughting"], "entities": ["IfcFillAreaStyle"] }
|
|
27
|
+
]
|
|
28
|
+
}
|