@bldrs-ai/conway 1.437.1313 → 1.438.1315
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/compiled/examples/browser-bundled.cjs +1 -1
- package/compiled/examples/cli-bundled.cjs +49 -5
- package/compiled/examples/cli-step-bundled.cjs +1 -1
- package/compiled/examples/validator-bundled.cjs +1 -1
- package/compiled/src/compat/web-ifc/ifc_api_deferred_open.test.js +26 -5
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.d.ts +14 -10
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.d.ts.map +1 -1
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.js +40 -24
- package/compiled/src/ifc/ifc_geometry_extraction.d.ts +27 -3
- package/compiled/src/ifc/ifc_geometry_extraction.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_geometry_extraction.js +56 -4
- package/compiled/src/version/version.js +1 -1
- package/compiled/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ var import_node_process = require("node:process");
|
|
|
30
30
|
var readline = __toESM(require("node:readline"), 1);
|
|
31
31
|
|
|
32
32
|
// compiled/src/version/version.js
|
|
33
|
-
var versionString = "Conway v1.
|
|
33
|
+
var versionString = "Conway v1.438.1315";
|
|
34
34
|
|
|
35
35
|
// compiled/dependencies/conway-geom/interface/conway_geometry.js
|
|
36
36
|
var wasmType = "";
|
|
@@ -14965,7 +14965,7 @@ ${t5.join("\n")}` : "";
|
|
|
14965
14965
|
var import_process = require("process");
|
|
14966
14966
|
|
|
14967
14967
|
// compiled/src/version/version.js
|
|
14968
|
-
var versionString = "Conway v1.
|
|
14968
|
+
var versionString = "Conway v1.438.1315";
|
|
14969
14969
|
|
|
14970
14970
|
// compiled/dependencies/conway-geom/interface/conway_geometry.js
|
|
14971
14971
|
function pThreadsAllowed() {
|
|
@@ -91513,6 +91513,44 @@ var IfcGeometryExtraction = class _IfcGeometryExtraction {
|
|
|
91513
91513
|
*/
|
|
91514
91514
|
dumpGeometry(outputFilePath, geometry) {
|
|
91515
91515
|
}
|
|
91516
|
+
/**
|
|
91517
|
+
* Local IDs of every IfcProduct that is a RelatedObject of any
|
|
91518
|
+
* IfcRelAggregates — the exact set the rel-aggregates pass
|
|
91519
|
+
* ({@link extractRelAggregateGeometry}) re-extracts with the relating
|
|
91520
|
+
* object's master rel-voids.
|
|
91521
|
+
*
|
|
91522
|
+
* Both product walks SKIP these in their first pass and extract them
|
|
91523
|
+
* only in the aggregates pass, for two invariants consumers rely on:
|
|
91524
|
+
* 1. one scene instance per placement (the first-pass node plus the
|
|
91525
|
+
* re-extraction node used to coincide exactly — a duplicate draw
|
|
91526
|
+
* that z-fights), and
|
|
91527
|
+
* 2. a part's canonical mesh content is never REPLACED after its
|
|
91528
|
+
* instances were already emitted — incremental consumers copy
|
|
91529
|
+
* content at delivery time, so a first-pass emission served the
|
|
91530
|
+
* uncut (or empty) content and the later replacement never
|
|
91531
|
+
* reached the screen (the ILNA missing-facades class).
|
|
91532
|
+
*
|
|
91533
|
+
* @return {Set<number>} product localIDs deferred to the aggregates
|
|
91534
|
+
* pass; empty for models without IfcRelAggregates.
|
|
91535
|
+
*/
|
|
91536
|
+
aggregateTargetLocalIDs() {
|
|
91537
|
+
if (this.aggregateTargetLocalIDs_ !== void 0) {
|
|
91538
|
+
return this.aggregateTargetLocalIDs_;
|
|
91539
|
+
}
|
|
91540
|
+
const targets = /* @__PURE__ */ new Set();
|
|
91541
|
+
for (const relAggregate of this.model.types(IfcRelAggregates)) {
|
|
91542
|
+
try {
|
|
91543
|
+
for (const related of relAggregate.RelatedObjects) {
|
|
91544
|
+
if (related instanceof IfcProduct) {
|
|
91545
|
+
targets.add(related.localID);
|
|
91546
|
+
}
|
|
91547
|
+
}
|
|
91548
|
+
} catch {
|
|
91549
|
+
}
|
|
91550
|
+
}
|
|
91551
|
+
this.aggregateTargetLocalIDs_ = targets;
|
|
91552
|
+
return targets;
|
|
91553
|
+
}
|
|
91516
91554
|
/**
|
|
91517
91555
|
* One-time extraction setup shared by the whole-model walk and the
|
|
91518
91556
|
* per-product demand path (Phase B2): linear scaling factor and the
|
|
@@ -91620,18 +91658,20 @@ var IfcGeometryExtraction = class _IfcGeometryExtraction {
|
|
|
91620
91658
|
extractRelAggregatesGeometry() {
|
|
91621
91659
|
const relAggregates = this.model.types(IfcRelAggregates);
|
|
91622
91660
|
for (const relAggregate of relAggregates) {
|
|
91623
|
-
this.
|
|
91661
|
+
this.extractRelAggregateGeometry(relAggregate);
|
|
91624
91662
|
}
|
|
91625
91663
|
}
|
|
91626
91664
|
/**
|
|
91627
91665
|
* Extract one IfcRelAggregates' related products with the relating
|
|
91628
91666
|
* object's ("master") rel-voids — the shared per-item body of the
|
|
91629
91667
|
* whole-model walk's rel-aggregates loop and
|
|
91630
|
-
* {@link extractRelAggregatesGeometry}.
|
|
91668
|
+
* {@link extractRelAggregatesGeometry}. Public so the deferred pump
|
|
91669
|
+
* can run the pass incrementally (batch-budgeted) instead of as one
|
|
91670
|
+
* end-of-load stall.
|
|
91631
91671
|
*
|
|
91632
91672
|
* @param relAggregate The rel-aggregates relationship to process.
|
|
91633
91673
|
*/
|
|
91634
|
-
|
|
91674
|
+
extractRelAggregateGeometry(relAggregate) {
|
|
91635
91675
|
try {
|
|
91636
91676
|
const relatingObject = relAggregate.RelatingObject;
|
|
91637
91677
|
const masterRelVoids = relatingObject instanceof IfcProduct ? this.extractRelVoids(relatingObject) : void 0;
|
|
@@ -91858,14 +91898,18 @@ var IfcGeometryExtraction = class _IfcGeometryExtraction {
|
|
|
91858
91898
|
const products = this.model.types(IfcProduct);
|
|
91859
91899
|
const totalItems = this.model.typeCount(IfcProduct) + this.model.typeCount(IfcRelAggregates);
|
|
91860
91900
|
let completedItems = 0;
|
|
91901
|
+
const aggregateTargets = this.aggregateTargetLocalIDs();
|
|
91861
91902
|
for (const product of products) {
|
|
91862
91903
|
yield [++completedItems, totalItems];
|
|
91904
|
+
if (aggregateTargets.has(product.localID)) {
|
|
91905
|
+
continue;
|
|
91906
|
+
}
|
|
91863
91907
|
this.extractProductGeometry(product);
|
|
91864
91908
|
}
|
|
91865
91909
|
const relAggregates = this.model.types(IfcRelAggregates);
|
|
91866
91910
|
for (const relAggregate of relAggregates) {
|
|
91867
91911
|
yield [++completedItems, totalItems];
|
|
91868
|
-
this.
|
|
91912
|
+
this.extractRelAggregateGeometry(relAggregate);
|
|
91869
91913
|
}
|
|
91870
91914
|
if (RegressionCaptureState.memoization !== MemoizationCapture.FULL) {
|
|
91871
91915
|
this.model.geometry.deleteTemporaries();
|
|
@@ -15943,7 +15943,7 @@ var ParsingBuffer = class {
|
|
|
15943
15943
|
};
|
|
15944
15944
|
|
|
15945
15945
|
// compiled/src/version/version.js
|
|
15946
|
-
var versionString = "Conway v1.
|
|
15946
|
+
var versionString = "Conway v1.438.1315";
|
|
15947
15947
|
|
|
15948
15948
|
// compiled/dependencies/conway-geom/interface/conway_geometry.js
|
|
15949
15949
|
function pThreadsAllowed() {
|
|
@@ -944,7 +944,7 @@ var EntityTypesIfcCount = 909;
|
|
|
944
944
|
var entity_types_ifc_gen_default = EntityTypesIfc;
|
|
945
945
|
|
|
946
946
|
// compiled/src/version/version.js
|
|
947
|
-
var versionString = "Conway v1.
|
|
947
|
+
var versionString = "Conway v1.438.1315";
|
|
948
948
|
|
|
949
949
|
// compiled/dependencies/conway-geom/interface/conway_geometry.js
|
|
950
950
|
var wasmType = "";
|
|
@@ -193,23 +193,44 @@ describe("OpenModelStreamed + DEFER_GEOMETRY", () => {
|
|
|
193
193
|
classicInstances.push(mesh.geometries.get(where).geometryExpressID);
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
|
-
//
|
|
197
|
-
// (
|
|
198
|
-
|
|
196
|
+
// Aggregate targets are extracted ONLY by the second pass now
|
|
197
|
+
// (aggregateTargetLocalIDs): exactly ONE placed instance of the cut
|
|
198
|
+
// part. (Historically 2 — the first-pass uncut node plus the
|
|
199
|
+
// pass-two re-extraction node coinciding, a duplicate that
|
|
200
|
+
// z-fought and, on the pump, delivered stale uncut content.)
|
|
201
|
+
expect(classicInstances.length).toBe(1);
|
|
199
202
|
const deferredID = await api4.OpenModelStreamed(fixture, { ...SETTINGS, DEFER_GEOMETRY: true });
|
|
200
203
|
const pumpedInstances = [];
|
|
204
|
+
const pumpedTrisAtDelivery = [];
|
|
201
205
|
for (;;) {
|
|
202
206
|
const { extracted, remaining } = api4.ExtractGeometryBatch(deferredID, 1, (mesh) => {
|
|
203
207
|
for (let where = 0; where < mesh.geometries.size(); ++where) {
|
|
204
|
-
|
|
208
|
+
const geometryID = mesh.geometries.get(where).geometryExpressID;
|
|
209
|
+
pumpedInstances.push(geometryID);
|
|
210
|
+
// Content-at-delivery: what an incremental consumer
|
|
211
|
+
// copies the moment the instance is emitted.
|
|
212
|
+
const geometry = api4.GetGeometry(deferredID, geometryID);
|
|
213
|
+
pumpedTrisAtDelivery.push(
|
|
214
|
+
// eslint-disable-next-line no-magic-numbers
|
|
215
|
+
(geometry.GetIndexDataSize() / 3) | 0);
|
|
205
216
|
}
|
|
206
217
|
});
|
|
207
218
|
if (remaining === 0 && extracted === 0) {
|
|
208
219
|
break;
|
|
209
220
|
}
|
|
210
221
|
}
|
|
211
|
-
// Instance parity:
|
|
222
|
+
// Instance parity: same single cut instance as classic.
|
|
212
223
|
expect(pumpedInstances.sort()).toEqual(classicInstances.sort());
|
|
224
|
+
// The #1640 invariant (Share bldrs-ai/Share#1640): the content an
|
|
225
|
+
// incremental consumer copies AT DELIVERY equals the final content
|
|
226
|
+
// — the pump must never mutate a geometry after emitting instances
|
|
227
|
+
// that reference it.
|
|
228
|
+
for (let where = 0; where < pumpedInstances.length; ++where) {
|
|
229
|
+
const finalGeometry = api4.GetGeometry(deferredID, pumpedInstances[where]);
|
|
230
|
+
expect(pumpedTrisAtDelivery[where])
|
|
231
|
+
// eslint-disable-next-line no-magic-numbers
|
|
232
|
+
.toBe((finalGeometry.GetIndexDataSize() / 3) | 0);
|
|
233
|
+
}
|
|
213
234
|
// Content parity: GetGeometry must serve the CUT part, byte-identical
|
|
214
235
|
// to classic (the uncut box has strictly fewer vertices).
|
|
215
236
|
for (const geometryID of new Set(classicInstances)) {
|
|
@@ -72,16 +72,20 @@ export declare class IfcApiProxyIfc implements IfcApiModelPassthrough {
|
|
|
72
72
|
/** Cursor into demandProducts_ — products before it are extracted. */
|
|
73
73
|
private demandCursor_;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* relating object's
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
|
|
84
|
-
|
|
75
|
+
* Deferred-mode rel-aggregates worklist, pumped batch-by-batch AFTER
|
|
76
|
+
* the product cursor completes. Classic's whole-model walk follows
|
|
77
|
+
* its product loop with a second pass extracting every
|
|
78
|
+
* IfcRelAggregates related product using the relating object's
|
|
79
|
+
* rel-voids. Aggregate-target products are EXCLUDED from
|
|
80
|
+
* demandProducts_ (see aggregateTargetLocalIDs) so this pass is their
|
|
81
|
+
* first and only extraction — content is final when their instances
|
|
82
|
+
* are captured, and no placement is ever appended over an
|
|
83
|
+
* already-delivered one (the ILNA missing-facades / 388_4
|
|
84
|
+
* duplicate-placement class).
|
|
85
|
+
*/
|
|
86
|
+
private demandAggregates_?;
|
|
87
|
+
/** Cursor into demandAggregates_ — items before it are extracted. */
|
|
88
|
+
private demandAggregatesCursor_;
|
|
85
89
|
/**
|
|
86
90
|
* Coordination matrix the deferred capture derived (or adopted from
|
|
87
91
|
* the parse-time preview channel). Kept OFF the model tuple's slot 5
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ifc_api_proxy_ifc.d.ts","sourceRoot":"","sources":["../../../../src/compat/web-ifc/ifc_api_proxy_ifc.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACf,MAAM,aAAa,CAAA;AA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IAoC1B;0EACsE;IACtE,OAAO,CAAC,SAAS,CAAQ;IAEzB;;;;;;;;;;;;;;;;;OAiBG;IACH,oBAAoB,CAChB,SAAS,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,GAAI;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAC;IA4FrF;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,gBAAgB;IAqJxB;;;;OAIG;IACH,eAAe,CAAE,YAAY,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI;IAkLvD;;;;;OAKG;IACH,wBAAwB,CACpB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EACpB,YAAY,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI;IA8J1C;;;;OAIG;IACH,eAAe,IAAI,MAAM,CAAC,QAAQ,CAAC;IAyMnC;;;;;OAKG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ;IAqDxC;;;;;OAKG;IACH,4BAA4B,IAAI,IAAI;CAwBrC"}
|
|
@@ -20,7 +20,7 @@ import Memory from "../../memory/memory.js";
|
|
|
20
20
|
import { FromRawLineData } from "./ifc2x4_helper.js";
|
|
21
21
|
import { shimIfcEntityMap, shimIfcEntityReverseMap } from "./shim_schema_mapping.js";
|
|
22
22
|
import { EntityTypesIfcCount } from "../../ifc/ifc4_gen/entity_types_ifc.gen.js";
|
|
23
|
-
import { IfcProduct, IfcRoot } from "../../ifc/ifc4_gen/index.js";
|
|
23
|
+
import { IfcProduct, IfcRelAggregates, IfcRoot } from "../../ifc/ifc4_gen/index.js";
|
|
24
24
|
import { CanonicalMeshType } from "../../index.js";
|
|
25
25
|
// Batch size used when a whole-model consumer (streamAllMeshes) drains
|
|
26
26
|
// a deferred model's remaining products synchronously.
|
|
@@ -58,17 +58,8 @@ export class IfcApiProxyIfc {
|
|
|
58
58
|
this.demandCapturedCounts_ = new Map();
|
|
59
59
|
/** Cursor into demandProducts_ — products before it are extracted. */
|
|
60
60
|
this.demandCursor_ = 0;
|
|
61
|
-
/**
|
|
62
|
-
|
|
63
|
-
* whole-model walk follows its product loop with a second pass that
|
|
64
|
-
* re-extracts every IfcRelAggregates related product using the
|
|
65
|
-
* relating object's rel-voids (extractRelAggregatesGeometry), which
|
|
66
|
-
* REPLACES the canonical mesh under the same localID — aggregate
|
|
67
|
-
* parts whose parent carries openings end up cut. The pump must run
|
|
68
|
-
* that same pass once after its last product batch or GetGeometry
|
|
69
|
-
* serves the uncut content classic never exposes.
|
|
70
|
-
*/
|
|
71
|
-
this.demandAggregatesDone_ = false;
|
|
61
|
+
/** Cursor into demandAggregates_ — items before it are extracted. */
|
|
62
|
+
this.demandAggregatesCursor_ = 0;
|
|
72
63
|
this._isCoordinated = false;
|
|
73
64
|
this.linearScalingFactor = 1;
|
|
74
65
|
this.identity = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];
|
|
@@ -1038,7 +1029,9 @@ export class IfcApiProxyIfc {
|
|
|
1038
1029
|
releaseGeometry() {
|
|
1039
1030
|
if (this.deferredMode_ &&
|
|
1040
1031
|
this.demandProducts_ !== void 0 &&
|
|
1041
|
-
this.demandCursor_ < this.demandProducts_.length
|
|
1032
|
+
(this.demandCursor_ < this.demandProducts_.length ||
|
|
1033
|
+
this.demandAggregatesCursor_ <
|
|
1034
|
+
(this.demandAggregates_?.length ?? 0))) {
|
|
1042
1035
|
Logger.warning("[ReleaseModelGeometry]: deferred pump not drained \u2014 not releasing");
|
|
1043
1036
|
return false;
|
|
1044
1037
|
}
|
|
@@ -1086,14 +1079,33 @@ export class IfcApiProxyIfc {
|
|
|
1086
1079
|
return { extracted: 0, remaining: 0 };
|
|
1087
1080
|
}
|
|
1088
1081
|
if (this.demandProducts_ === void 0) {
|
|
1082
|
+
// Aggregate-target products are extracted ONLY by the
|
|
1083
|
+
// rel-aggregates pass below (with the relating object's master
|
|
1084
|
+
// rel-voids), never by the per-product pass: extracting them here
|
|
1085
|
+
// first would emit their instances with the uncut/placeholder
|
|
1086
|
+
// content and the pass's later replacement would never reach an
|
|
1087
|
+
// incremental consumer (it copies at delivery), while the pass's
|
|
1088
|
+
// second scene instance would draw over the first (see
|
|
1089
|
+
// aggregateTargetLocalIDs).
|
|
1090
|
+
const aggregateTargets = this.conwayGeometry_.aggregateTargetLocalIDs();
|
|
1089
1091
|
const products = [];
|
|
1090
1092
|
for (const product of this.model[0].types(IfcProduct)) {
|
|
1093
|
+
if (aggregateTargets.has(product.localID)) {
|
|
1094
|
+
continue;
|
|
1095
|
+
}
|
|
1091
1096
|
products.push(product.localID);
|
|
1092
1097
|
}
|
|
1098
|
+
const aggregates = [];
|
|
1099
|
+
for (const relAggregate of this.model[0].types(IfcRelAggregates)) {
|
|
1100
|
+
aggregates.push(relAggregate);
|
|
1101
|
+
}
|
|
1093
1102
|
this.demandProducts_ = products;
|
|
1103
|
+
this.demandAggregates_ = aggregates;
|
|
1094
1104
|
this.demandCursor_ = 0;
|
|
1105
|
+
this.demandAggregatesCursor_ = 0;
|
|
1095
1106
|
}
|
|
1096
|
-
const
|
|
1107
|
+
const budget = Math.max(batchSize, 1);
|
|
1108
|
+
const end = Math.min(this.demandCursor_ + budget, this.demandProducts_.length);
|
|
1097
1109
|
let extracted = 0;
|
|
1098
1110
|
for (; this.demandCursor_ < end; ++this.demandCursor_) {
|
|
1099
1111
|
const localID = this.demandProducts_[this.demandCursor_];
|
|
@@ -1101,23 +1113,27 @@ export class IfcApiProxyIfc {
|
|
|
1101
1113
|
++extracted;
|
|
1102
1114
|
}
|
|
1103
1115
|
}
|
|
1104
|
-
// Classic parity: once the product walk completes,
|
|
1105
|
-
// whole-model walk's second (rel-aggregates master-voids) pass
|
|
1106
|
-
// the
|
|
1107
|
-
//
|
|
1108
|
-
//
|
|
1109
|
-
|
|
1116
|
+
// Classic parity: once the product walk completes, pump the
|
|
1117
|
+
// whole-model walk's second (rel-aggregates master-voids) pass with
|
|
1118
|
+
// the same per-call budget — batch-by-batch, not as one end-of-load
|
|
1119
|
+
// stall — so aggregate parts stream in cut, exactly once, with
|
|
1120
|
+
// final content (see demandAggregates_).
|
|
1121
|
+
const aggregates = this.demandAggregates_ ?? [];
|
|
1110
1122
|
if (this.demandCursor_ >= this.demandProducts_.length &&
|
|
1111
|
-
|
|
1112
|
-
this.
|
|
1113
|
-
this.
|
|
1123
|
+
this.demandAggregatesCursor_ < aggregates.length) {
|
|
1124
|
+
const aggregatesEnd = Math.min(this.demandAggregatesCursor_ + (budget - extracted), aggregates.length);
|
|
1125
|
+
for (; this.demandAggregatesCursor_ < aggregatesEnd; ++this.demandAggregatesCursor_) {
|
|
1126
|
+
this.conwayGeometry_.extractRelAggregateGeometry(aggregates[this.demandAggregatesCursor_]);
|
|
1127
|
+
++extracted;
|
|
1128
|
+
}
|
|
1114
1129
|
}
|
|
1115
1130
|
if (meshCallback !== void 0) {
|
|
1116
1131
|
this.streamNewMeshes_(meshCallback);
|
|
1117
1132
|
}
|
|
1118
1133
|
return {
|
|
1119
1134
|
extracted,
|
|
1120
|
-
remaining: this.demandProducts_.length - this.demandCursor_
|
|
1135
|
+
remaining: (this.demandProducts_.length - this.demandCursor_) +
|
|
1136
|
+
(aggregates.length - this.demandAggregatesCursor_),
|
|
1121
1137
|
};
|
|
1122
1138
|
}
|
|
1123
1139
|
/**
|
|
@@ -5,7 +5,7 @@ import { CanonicalProfile } from "../core/canonical_profile.js";
|
|
|
5
5
|
import { CountProgressCallback } from "../core/progress.js";
|
|
6
6
|
import { NativeULongVector, NativeUintVector, NativeVectorBound3D, NativeVectorGeometry, NativeVectorGeometryCollection, NativeVectorGlmVec2, NativeVectorGlmVec3, NativeVectorIndexedPolygonalFace, NativeVectorProfile, NativeVectorSegment, WasmModule } from "../core/native_types.js";
|
|
7
7
|
import { ExtractResult } from "../core/shared_constants.js";
|
|
8
|
-
import { IfcAxis2Placement2D, IfcAxis2Placement3D, IfcBooleanResult, IfcCartesianTransformationOperator3D, IfcCircleProfileDef, IfcColourRgb, IfcDirection, IfcExtrudedAreaSolid, IfcIndexedPolyCurve, IfcMappedItem, IfcNormalisedRatioMeasure, IfcObjectPlacement, IfcPolygonalFaceSet, IfcProduct, IfcProfileDef, IfcRepresentationItem, IfcSpecularExponent, IfcSpecularRoughness, IfcStyledItem, IfcSurfaceStyle, IfcBooleanClippingResult, IfcCompositeCurve, IfcPolyline, IfcTrimmedCurve, IfcCartesianPoint, IfcCurve, IfcCircle, IfcHalfSpaceSolid, IfcPlane, IfcShellBasedSurfaceModel, IfcFace, IfcFacetedBrep, IfcMaterialList, IfcMaterialLayerSetUsage, IfcMaterial, IfcRectangleProfileDef, IfcMaterialProfileSet, IfcMaterialConstituentSet, IfcMaterialConstituent, IfcMaterialProfile, IfcSIPrefix, IfcFaceBasedSurfaceModel, IfcConnectedFaceSet, IfcAdvancedBrep, IfcAdvancedFace, IfcBSplineCurve, IfcBSplineSurface, IfcBSplineSurfaceWithKnots, IfcRationalBSplineSurfaceWithKnots, IfcCylindricalSurface, IfcSurfaceOfRevolution, IfcSurfaceOfLinearExtrusion, IfcAxis1Placement, IfcRectangleHollowProfileDef, IfcEllipseProfileDef, IfcCircleHollowProfileDef, IfcIShapeProfileDef, IfcUShapeProfileDef, IfcCartesianTransformationOperator2D, IfcCartesianTransformationOperator2DnonUniform, IfcLShapeProfileDef, IfcCShapeProfileDef, IfcTShapeProfileDef, IfcZShapeProfileDef, IfcPolygonalBoundedHalfSpace, IfcSurface, IfcLine, IfcEllipse, IfcMaterialLayerSet, IfcSweptDiskSolid, IfcBlock, IfcCsgPrimitive3D, IfcSolidModel, IfcTessellatedFaceSet, IfcMaterialProfileSetUsage, IfcRevolvedAreaSolid, IfcFaceSurface } from "./ifc4_gen/index.js";
|
|
8
|
+
import { IfcAxis2Placement2D, IfcAxis2Placement3D, IfcBooleanResult, IfcCartesianTransformationOperator3D, IfcCircleProfileDef, IfcColourRgb, IfcDirection, IfcExtrudedAreaSolid, IfcIndexedPolyCurve, IfcMappedItem, IfcNormalisedRatioMeasure, IfcObjectPlacement, IfcPolygonalFaceSet, IfcProduct, IfcProfileDef, IfcRepresentationItem, IfcSpecularExponent, IfcSpecularRoughness, IfcStyledItem, IfcSurfaceStyle, IfcBooleanClippingResult, IfcCompositeCurve, IfcPolyline, IfcTrimmedCurve, IfcCartesianPoint, IfcCurve, IfcCircle, IfcHalfSpaceSolid, IfcPlane, IfcShellBasedSurfaceModel, IfcFace, IfcFacetedBrep, IfcMaterialList, IfcMaterialLayerSetUsage, IfcMaterial, IfcRectangleProfileDef, IfcMaterialProfileSet, IfcMaterialConstituentSet, IfcMaterialConstituent, IfcMaterialProfile, IfcSIPrefix, IfcFaceBasedSurfaceModel, IfcConnectedFaceSet, IfcAdvancedBrep, IfcAdvancedFace, IfcBSplineCurve, IfcBSplineSurface, IfcBSplineSurfaceWithKnots, IfcRationalBSplineSurfaceWithKnots, IfcCylindricalSurface, IfcSurfaceOfRevolution, IfcSurfaceOfLinearExtrusion, IfcAxis1Placement, IfcRectangleHollowProfileDef, IfcEllipseProfileDef, IfcCircleHollowProfileDef, IfcIShapeProfileDef, IfcUShapeProfileDef, IfcCartesianTransformationOperator2D, IfcCartesianTransformationOperator2DnonUniform, IfcLShapeProfileDef, IfcCShapeProfileDef, IfcTShapeProfileDef, IfcZShapeProfileDef, IfcRelAggregates, IfcPolygonalBoundedHalfSpace, IfcSurface, IfcLine, IfcEllipse, IfcMaterialLayerSet, IfcSweptDiskSolid, IfcBlock, IfcCsgPrimitive3D, IfcSolidModel, IfcTessellatedFaceSet, IfcMaterialProfileSetUsage, IfcRevolvedAreaSolid, IfcFaceSurface } from "./ifc4_gen/index.js";
|
|
9
9
|
import { IfcMaterialCache } from "./ifc_material_cache.js";
|
|
10
10
|
import { IfcSceneBuilder } from "./ifc_scene_builder.js";
|
|
11
11
|
import IfcStepModel from "./ifc_step_model.js";
|
|
@@ -929,6 +929,28 @@ export declare class IfcGeometryExtraction {
|
|
|
929
929
|
*/
|
|
930
930
|
dumpGeometry(outputFilePath: string, geometry: GeometryObject): void;
|
|
931
931
|
private extractionMapsPrepared_;
|
|
932
|
+
private aggregateTargetLocalIDs_?;
|
|
933
|
+
/**
|
|
934
|
+
* Local IDs of every IfcProduct that is a RelatedObject of any
|
|
935
|
+
* IfcRelAggregates — the exact set the rel-aggregates pass
|
|
936
|
+
* ({@link extractRelAggregateGeometry}) re-extracts with the relating
|
|
937
|
+
* object's master rel-voids.
|
|
938
|
+
*
|
|
939
|
+
* Both product walks SKIP these in their first pass and extract them
|
|
940
|
+
* only in the aggregates pass, for two invariants consumers rely on:
|
|
941
|
+
* 1. one scene instance per placement (the first-pass node plus the
|
|
942
|
+
* re-extraction node used to coincide exactly — a duplicate draw
|
|
943
|
+
* that z-fights), and
|
|
944
|
+
* 2. a part's canonical mesh content is never REPLACED after its
|
|
945
|
+
* instances were already emitted — incremental consumers copy
|
|
946
|
+
* content at delivery time, so a first-pass emission served the
|
|
947
|
+
* uncut (or empty) content and the later replacement never
|
|
948
|
+
* reached the screen (the ILNA missing-facades class).
|
|
949
|
+
*
|
|
950
|
+
* @return {Set<number>} product localIDs deferred to the aggregates
|
|
951
|
+
* pass; empty for models without IfcRelAggregates.
|
|
952
|
+
*/
|
|
953
|
+
aggregateTargetLocalIDs(): Set<number>;
|
|
932
954
|
/**
|
|
933
955
|
* One-time extraction setup shared by the whole-model walk and the
|
|
934
956
|
* per-product demand path (Phase B2): linear scaling factor and the
|
|
@@ -985,11 +1007,13 @@ export declare class IfcGeometryExtraction {
|
|
|
985
1007
|
* Extract one IfcRelAggregates' related products with the relating
|
|
986
1008
|
* object's ("master") rel-voids — the shared per-item body of the
|
|
987
1009
|
* whole-model walk's rel-aggregates loop and
|
|
988
|
-
* {@link extractRelAggregatesGeometry}.
|
|
1010
|
+
* {@link extractRelAggregatesGeometry}. Public so the deferred pump
|
|
1011
|
+
* can run the pass incrementally (batch-budgeted) instead of as one
|
|
1012
|
+
* end-of-load stall.
|
|
989
1013
|
*
|
|
990
1014
|
* @param relAggregate The rel-aggregates relationship to process.
|
|
991
1015
|
*/
|
|
992
|
-
|
|
1016
|
+
extractRelAggregateGeometry(relAggregate: IfcRelAggregates): void;
|
|
993
1017
|
/**
|
|
994
1018
|
* Extract one product's geometry into the scene: placement, material /
|
|
995
1019
|
* style extraction, representation items (including mapped items) and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ifc_geometry_extraction.d.ts","sourceRoot":"","sources":["../../../src/ifc/ifc_geometry_extraction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAGd,cAAc,EACd,sBAAsB,EAEtB,OAAO,EAIP,WAAW,EAUX,wBAAwB,EAOxB,aAAa,EAGb,SAAS,EACT,sBAAsB,EAEtB,cAAc,EACd,iBAAiB,EAcjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAqB,SAAS,EAAuB,MAAM,4BAA4B,CAAA;AAC9F,OAAO,EAAE,aAAa,EAAqB,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAoB,MAAM,kBAAkB,CAAA;AAE1E,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EAEnB,oBAAoB,EACpB,8BAA8B,EAC9B,mBAAmB,EACnB,mBAAmB,EACnB,gCAAgC,EAChC,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACX,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAEL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAGhB,oCAAoC,EACpC,mBAAmB,EACnB,YAAY,EAEZ,YAAY,EACZ,oBAAoB,EAEpB,mBAAmB,EAGnB,aAAa,EACb,yB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":3,"file":"ifc_geometry_extraction.d.ts","sourceRoot":"","sources":["../../../src/ifc/ifc_geometry_extraction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAGd,cAAc,EACd,sBAAsB,EAEtB,OAAO,EAIP,WAAW,EAUX,wBAAwB,EAOxB,aAAa,EAGb,SAAS,EACT,sBAAsB,EAEtB,cAAc,EACd,iBAAiB,EAcjB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAqB,SAAS,EAAuB,MAAM,4BAA4B,CAAA;AAC9F,OAAO,EAAE,aAAa,EAAqB,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAoB,MAAM,kBAAkB,CAAA;AAE1E,OAAO,EACL,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EAEnB,oBAAoB,EACpB,8BAA8B,EAC9B,mBAAmB,EACnB,mBAAmB,EACnB,gCAAgC,EAChC,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACX,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EAEL,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAGhB,oCAAoC,EACpC,mBAAmB,EACnB,YAAY,EAEZ,YAAY,EACZ,oBAAoB,EAEpB,mBAAmB,EAGnB,aAAa,EACb,yBAAyB,EACzB,kBAAkB,EAGlB,mBAAmB,EACnB,UAAU,EAEV,aAAa,EACb,qBAAqB,EAErB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,eAAe,EAMf,wBAAwB,EACxB,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,iBAAiB,EAEjB,QAAQ,EAER,SAAS,EACT,iBAAiB,EACjB,QAAQ,EAER,yBAAyB,EACzB,OAAO,EAEP,cAAc,EAGd,eAAe,EAEf,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
4362
|
+
* Local IDs of every IfcProduct that is a RelatedObject of any
|
|
4363
|
+
* IfcRelAggregates — the exact set the rel-aggregates pass
|
|
4364
|
+
* ({@link extractRelAggregateGeometry}) re-extracts with the relating
|
|
4365
|
+
* object's master rel-voids.
|
|
4366
|
+
*
|
|
4367
|
+
* Both product walks SKIP these in their first pass and extract them
|
|
4368
|
+
* only in the aggregates pass, for two invariants consumers rely on:
|
|
4369
|
+
* 1. one scene instance per placement (the first-pass node plus the
|
|
4370
|
+
* re-extraction node used to coincide exactly — a duplicate draw
|
|
4371
|
+
* that z-fights), and
|
|
4372
|
+
* 2. a part's canonical mesh content is never REPLACED after its
|
|
4373
|
+
* instances were already emitted — incremental consumers copy
|
|
4374
|
+
* content at delivery time, so a first-pass emission served the
|
|
4375
|
+
* uncut (or empty) content and the later replacement never
|
|
4376
|
+
* reached the screen (the ILNA missing-facades class).
|
|
4377
|
+
*
|
|
4378
|
+
* @return {Set<number>} product localIDs deferred to the aggregates
|
|
4379
|
+
* pass; empty for models without IfcRelAggregates.
|
|
4380
|
+
*/
|
|
4381
|
+
aggregateTargetLocalIDs() {
|
|
4382
|
+
if (this.aggregateTargetLocalIDs_ !== void 0) {
|
|
4383
|
+
return this.aggregateTargetLocalIDs_;
|
|
4384
|
+
}
|
|
4385
|
+
const targets = new Set();
|
|
4386
|
+
for (const relAggregate of this.model.types(IfcRelAggregates)) {
|
|
4387
|
+
try {
|
|
4388
|
+
for (const related of relAggregate.RelatedObjects) {
|
|
4389
|
+
if (related instanceof IfcProduct) {
|
|
4390
|
+
targets.add(related.localID);
|
|
4391
|
+
}
|
|
4392
|
+
}
|
|
4393
|
+
}
|
|
4394
|
+
catch {
|
|
4395
|
+
// Malformed relationship rows are tolerated exactly like the
|
|
4396
|
+
// aggregates pass itself tolerates them (permissive catch) —
|
|
4397
|
+
// their targets simply stay in the first-pass walk.
|
|
4398
|
+
}
|
|
4399
|
+
}
|
|
4400
|
+
this.aggregateTargetLocalIDs_ = targets;
|
|
4401
|
+
return targets;
|
|
4402
|
+
}
|
|
4361
4403
|
/**
|
|
4362
4404
|
* One-time extraction setup shared by the whole-model walk and the
|
|
4363
4405
|
* per-product demand path (Phase B2): linear scaling factor and the
|
|
@@ -4478,18 +4520,20 @@ export class IfcGeometryExtraction {
|
|
|
4478
4520
|
extractRelAggregatesGeometry() {
|
|
4479
4521
|
const relAggregates = this.model.types(IfcRelAggregates);
|
|
4480
4522
|
for (const relAggregate of relAggregates) {
|
|
4481
|
-
this.
|
|
4523
|
+
this.extractRelAggregateGeometry(relAggregate);
|
|
4482
4524
|
}
|
|
4483
4525
|
}
|
|
4484
4526
|
/**
|
|
4485
4527
|
* Extract one IfcRelAggregates' related products with the relating
|
|
4486
4528
|
* object's ("master") rel-voids — the shared per-item body of the
|
|
4487
4529
|
* whole-model walk's rel-aggregates loop and
|
|
4488
|
-
* {@link extractRelAggregatesGeometry}.
|
|
4530
|
+
* {@link extractRelAggregatesGeometry}. Public so the deferred pump
|
|
4531
|
+
* can run the pass incrementally (batch-budgeted) instead of as one
|
|
4532
|
+
* end-of-load stall.
|
|
4489
4533
|
*
|
|
4490
4534
|
* @param relAggregate The rel-aggregates relationship to process.
|
|
4491
4535
|
*/
|
|
4492
|
-
|
|
4536
|
+
extractRelAggregateGeometry(relAggregate) {
|
|
4493
4537
|
try {
|
|
4494
4538
|
// Note, this is required because the relating object
|
|
4495
4539
|
// can be where the rel-void is applied, so we
|
|
@@ -4755,14 +4799,22 @@ export class IfcGeometryExtraction {
|
|
|
4755
4799
|
// shy of 100% until endPhase; fine for progress.
|
|
4756
4800
|
const totalItems = this.model.typeCount(IfcProduct) + this.model.typeCount(IfcRelAggregates);
|
|
4757
4801
|
let completedItems = 0;
|
|
4802
|
+
// Products the aggregates pass re-extracts are SKIPPED here and
|
|
4803
|
+
// extracted exactly once, below, with the master rel-voids — one
|
|
4804
|
+
// scene instance per placement and no content replacement after
|
|
4805
|
+
// emission (see aggregateTargetLocalIDs).
|
|
4806
|
+
const aggregateTargets = this.aggregateTargetLocalIDs();
|
|
4758
4807
|
for (const product of products) {
|
|
4759
4808
|
yield [++completedItems, totalItems];
|
|
4809
|
+
if (aggregateTargets.has(product.localID)) {
|
|
4810
|
+
continue;
|
|
4811
|
+
}
|
|
4760
4812
|
this.extractProductGeometry(product);
|
|
4761
4813
|
}
|
|
4762
4814
|
const relAggregates = this.model.types(IfcRelAggregates);
|
|
4763
4815
|
for (const relAggregate of relAggregates) {
|
|
4764
4816
|
yield [++completedItems, totalItems];
|
|
4765
|
-
this.
|
|
4817
|
+
this.extractRelAggregateGeometry(relAggregate);
|
|
4766
4818
|
}
|
|
4767
4819
|
if (RegressionCaptureState.memoization !== MemoizationCapture.FULL) {
|
|
4768
4820
|
this.model.geometry.deleteTemporaries();
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
// only the first segment (major) is meaningful and is the one CI carries forward.
|
|
6
6
|
// Must stay in `vN.N.N` shape: the CI stamp regex, scripts/updateVersion.mjs, and
|
|
7
7
|
// statistics.ts all match `v\d+\.\d+\.\d+`.
|
|
8
|
-
const versionString = 'Conway v1.
|
|
8
|
+
const versionString = 'Conway v1.438.1315';
|
|
9
9
|
export { versionString };
|