@bldrs-ai/conway 1.329.1051 → 1.331.1060
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 +1 -1
- package/compiled/examples/validator-bundled.cjs +1 -1
- package/compiled/src/compat/web-ifc/ap214_properties.d.ts +21 -0
- package/compiled/src/compat/web-ifc/ap214_properties.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ap214_properties.js +51 -0
- package/compiled/src/compat/web-ifc/ifc2x4.d.ts +818 -0
- package/compiled/src/compat/web-ifc/ifc2x4.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc2x4.js +1003 -0
- package/compiled/src/compat/web-ifc/ifc2x4_helper.d.ts +14433 -0
- package/compiled/src/compat/web-ifc/ifc2x4_helper.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc2x4_helper.js +34985 -0
- package/compiled/src/compat/web-ifc/ifc_api.d.ts +267 -0
- package/compiled/src/compat/web-ifc/ifc_api.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api.js +544 -0
- package/compiled/src/compat/web-ifc/ifc_api.smoke.test.d.ts +2 -0
- package/compiled/src/compat/web-ifc/ifc_api.smoke.test.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api.smoke.test.js +88 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough.d.ts +17 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough.js +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough_factory.d.ts +17 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough_factory.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_model_passthrough_factory.js +61 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ap214.d.ts +205 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ap214.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ap214.js +958 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.d.ts +200 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_api_proxy_ifc.js +1162 -0
- package/compiled/src/compat/web-ifc/ifc_properties.d.ts +29 -0
- package/compiled/src/compat/web-ifc/ifc_properties.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/ifc_properties.js +205 -0
- package/compiled/src/compat/web-ifc/index.d.ts +2 -0
- package/compiled/src/compat/web-ifc/index.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/index.js +17 -0
- package/compiled/src/compat/web-ifc/properties.d.ts +14 -0
- package/compiled/src/compat/web-ifc/properties.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/properties.js +27 -0
- package/compiled/src/compat/web-ifc/properties_passthrough.d.ts +15 -0
- package/compiled/src/compat/web-ifc/properties_passthrough.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/properties_passthrough.js +1 -0
- package/compiled/src/compat/web-ifc/shim_schema_mapping.d.ts +7 -0
- package/compiled/src/compat/web-ifc/shim_schema_mapping.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/shim_schema_mapping.js +792 -0
- package/compiled/src/compat/web-ifc/types-map.d.ts +7 -0
- package/compiled/src/compat/web-ifc/types-map.d.ts.map +1 -0
- package/compiled/src/compat/web-ifc/types-map.js +957 -0
- package/compiled/src/version/version.js +1 -1
- package/compiled/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -1
|
@@ -69608,7 +69608,7 @@ var IfcStepParser = class extends StepParser {
|
|
|
69608
69608
|
IfcStepParser.Instance = new IfcStepParser();
|
|
69609
69609
|
|
|
69610
69610
|
// compiled/src/version/version.js
|
|
69611
|
-
var versionString = "Conway Web-Ifc Shim v1.
|
|
69611
|
+
var versionString = "Conway Web-Ifc Shim v1.331.1060";
|
|
69612
69612
|
|
|
69613
69613
|
// compiled/src/statistics/statistics.js
|
|
69614
69614
|
var Statistics = class {
|
|
@@ -85869,7 +85869,7 @@ var IfcSceneBuilder = class {
|
|
|
85869
85869
|
};
|
|
85870
85870
|
|
|
85871
85871
|
// compiled/src/version/version.js
|
|
85872
|
-
var versionString = "Conway Web-Ifc Shim v1.
|
|
85872
|
+
var versionString = "Conway Web-Ifc Shim v1.331.1060";
|
|
85873
85873
|
|
|
85874
85874
|
// compiled/src/statistics/statistics.js
|
|
85875
85875
|
var Statistics = class {
|
|
@@ -69606,7 +69606,7 @@ var IfcStepParser = class extends StepParser {
|
|
|
69606
69606
|
IfcStepParser.Instance = new IfcStepParser();
|
|
69607
69607
|
|
|
69608
69608
|
// compiled/src/version/version.js
|
|
69609
|
-
var versionString = "Conway Web-Ifc Shim v1.
|
|
69609
|
+
var versionString = "Conway Web-Ifc Shim v1.331.1060";
|
|
69610
69610
|
|
|
69611
69611
|
// compiled/src/statistics/statistics.js
|
|
69612
69612
|
var Statistics = class {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IfcApiProxyAP214 } from "./ifc_api_proxy_ap214.js";
|
|
2
|
+
interface Node {
|
|
3
|
+
expressID: number;
|
|
4
|
+
type: string;
|
|
5
|
+
children: Node[];
|
|
6
|
+
}
|
|
7
|
+
export declare class AP214Properties {
|
|
8
|
+
private api;
|
|
9
|
+
private types;
|
|
10
|
+
constructor(api: IfcApiProxyAP214);
|
|
11
|
+
getIfcType(type: number): string;
|
|
12
|
+
getItemProperties(id: number, recursive?: boolean): Promise<void>;
|
|
13
|
+
getPropertySets(elementID: number, recursive?: boolean): Promise<never[]>;
|
|
14
|
+
getTypeProperties(elementID: number, recursive?: boolean): Promise<never[]>;
|
|
15
|
+
getMaterialsProperties(elementID: number, recursive?: boolean): Promise<never[]>;
|
|
16
|
+
getSpatialStructure(includeProperties?: boolean): Promise<Node>;
|
|
17
|
+
getAllItemsOfType(type: number, verbose: boolean): Promise<never[]>;
|
|
18
|
+
private static newAP214Product;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=ap214_properties.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ap214_properties.d.ts","sourceRoot":"","sources":["../../../../src/compat/web-ifc/ap214_properties.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,UAAU,IAAI;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,IAAI,EAAE,CAAA;CACnB;AAED,qBAAa,eAAe;IAId,OAAO,CAAC,GAAG;IAFvB,OAAO,CAAC,KAAK,CAAK;gBAEE,GAAG,EAAE,gBAAgB;IAGzC,UAAU,CAAC,IAAI,EAAE,MAAM;IAIjB,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,UAAQ;IAI/C,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,UAAQ;IAIpD,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,UAAQ;IAItD,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,UAAQ;IAI3D,mBAAmB,CAAC,iBAAiB,CAAC,EAAE,OAAO;IA0B/C,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO;IAKtD,OAAO,CAAC,MAAM,CAAC,eAAe;CAO/B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { shape_definition_representation } from "../../AP214E3_2010/AP214E3_2010_gen/shape_definition_representation.gen.js";
|
|
3
|
+
import { product } from "../../AP214E3_2010/AP214E3_2010_gen/product.gen.js";
|
|
4
|
+
export class AP214Properties {
|
|
5
|
+
constructor(api) {
|
|
6
|
+
this.api = api;
|
|
7
|
+
}
|
|
8
|
+
getIfcType(type) {
|
|
9
|
+
return "";
|
|
10
|
+
}
|
|
11
|
+
async getItemProperties(id, recursive = false) {
|
|
12
|
+
return this.api.getLine(id, recursive);
|
|
13
|
+
}
|
|
14
|
+
async getPropertySets(elementID, recursive = false) {
|
|
15
|
+
return [];
|
|
16
|
+
}
|
|
17
|
+
async getTypeProperties(elementID, recursive = false) {
|
|
18
|
+
return [];
|
|
19
|
+
}
|
|
20
|
+
async getMaterialsProperties(elementID, recursive = false) {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
23
|
+
async getSpatialStructure(includeProperties) {
|
|
24
|
+
const model = this.api.StepModel;
|
|
25
|
+
const products = Array.from(model.types(product));
|
|
26
|
+
const productObj = products[0];
|
|
27
|
+
const productNode = AP214Properties.newAP214Product(productObj.expressID);
|
|
28
|
+
const shapeDefinitions = model.types(shape_definition_representation);
|
|
29
|
+
for (const shapeDefinition of shapeDefinitions) {
|
|
30
|
+
const nodeExpressID = shapeDefinition.expressID;
|
|
31
|
+
if (nodeExpressID !== void 0) {
|
|
32
|
+
productNode.children.push({
|
|
33
|
+
expressID: nodeExpressID,
|
|
34
|
+
type: "shape_definition",
|
|
35
|
+
children: [],
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return productNode;
|
|
40
|
+
}
|
|
41
|
+
async getAllItemsOfType(type, verbose) {
|
|
42
|
+
return [];
|
|
43
|
+
}
|
|
44
|
+
static newAP214Product(id) {
|
|
45
|
+
return {
|
|
46
|
+
expressID: id,
|
|
47
|
+
type: "product",
|
|
48
|
+
children: [],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
}
|