@margoengine/ifc 0.1.0 → 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.
- package/LICENSE +201 -201
- package/NOTICE +4 -4
- package/NOTICE.md +16 -16
- package/README.md +366 -366
- package/dist/scene.js +2 -2
- package/dist/section.js +2 -2
- package/package.json +102 -102
package/dist/scene.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @margo/core-built
|
|
1
|
+
// @margo/core-built 1.0.0
|
|
2
2
|
import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
|
|
3
3
|
|
|
4
4
|
import { a as e, i as t, n, r, t as i } from "./open-D1NQyRTk.js";
|
|
@@ -259,7 +259,7 @@ var S = (e, n, r) => e === void 0 ? r : Number.isFinite(e) && e >= 0 && e <= 1 ?
|
|
|
259
259
|
})
|
|
260
260
|
}, this.opaque = new C(e, this.materials.opaque, i), this.translucent = new C(e, this.materials.translucent, i);
|
|
261
261
|
}
|
|
262
|
-
static attach(t, n, r = {}) {__margoAssertCore(t,__margoCoreRequirement("
|
|
262
|
+
static attach(t, n, r = {}) {__margoAssertCore(t,__margoCoreRequirement("1.0.0",import.meta.url));
|
|
263
263
|
return new e(t, n.origin, r).add(n);
|
|
264
264
|
}
|
|
265
265
|
get elements() {
|
package/dist/section.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @margo/core-built
|
|
1
|
+
// @margo/core-built 1.0.0
|
|
2
2
|
import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
|
|
3
3
|
|
|
4
4
|
import { i as e, t } from "./open-D1NQyRTk.js";
|
|
@@ -259,7 +259,7 @@ var _ = class t {
|
|
|
259
259
|
doubleSided: !0
|
|
260
260
|
}), this.update();
|
|
261
261
|
}
|
|
262
|
-
static attach(e, n, r = {}) {__margoAssertCore(e,__margoCoreRequirement("
|
|
262
|
+
static attach(e, n, r = {}) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
|
|
263
263
|
return new t(e, n, r);
|
|
264
264
|
}
|
|
265
265
|
get meshes() {
|
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@margoengine/ifc",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "IFC geometry and BIM identifiers for Margo Engine, using an initialized web-ifc runtime.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"margoengine",
|
|
7
|
-
"webgpu",
|
|
8
|
-
"3d",
|
|
9
|
-
"ifc",
|
|
10
|
-
"bim"
|
|
11
|
-
],
|
|
12
|
-
"homepage": "https://margoengine.com",
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
15
|
-
},
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
19
|
-
"directory": "packages/ifc"
|
|
20
|
-
},
|
|
21
|
-
"license": "Apache-2.0",
|
|
22
|
-
"author": "Scott Campbell",
|
|
23
|
-
"type": "module",
|
|
24
|
-
"publishConfig": {
|
|
25
|
-
"access": "public"
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"build": "node ../../scripts/build-optional.js ifc",
|
|
29
|
-
"test": "npm run build && node --test tests/*.test.js",
|
|
30
|
-
"test:gpu": "cd ../.. && node packages/ifc/tests/scene-gpu-check.mjs",
|
|
31
|
-
"prepack": "npm run build"
|
|
32
|
-
},
|
|
33
|
-
"sideEffects": false,
|
|
34
|
-
"exports": {
|
|
35
|
-
".": {
|
|
36
|
-
"types": "./dist/index.d.ts",
|
|
37
|
-
"import": "./dist/index.js"
|
|
38
|
-
},
|
|
39
|
-
"./bcf": {
|
|
40
|
-
"types": "./dist/bcf.d.ts",
|
|
41
|
-
"import": "./dist/bcf.js"
|
|
42
|
-
},
|
|
43
|
-
"./data": {
|
|
44
|
-
"types": "./dist/data.d.ts",
|
|
45
|
-
"import": "./dist/data.js"
|
|
46
|
-
},
|
|
47
|
-
"./ids": {
|
|
48
|
-
"types": "./dist/ids.d.ts",
|
|
49
|
-
"import": "./dist/ids.js"
|
|
50
|
-
},
|
|
51
|
-
"./query": {
|
|
52
|
-
"types": "./dist/query.d.ts",
|
|
53
|
-
"import": "./dist/query.js"
|
|
54
|
-
},
|
|
55
|
-
"./scene": {
|
|
56
|
-
"types": "./dist/scene.d.ts",
|
|
57
|
-
"import": "./dist/scene.js"
|
|
58
|
-
},
|
|
59
|
-
"./section": {
|
|
60
|
-
"types": "./dist/section.d.ts",
|
|
61
|
-
"import": "./dist/section.js"
|
|
62
|
-
},
|
|
63
|
-
"./worker": {
|
|
64
|
-
"types": "./dist/worker.d.ts",
|
|
65
|
-
"import": "./dist/worker.js"
|
|
66
|
-
},
|
|
67
|
-
"./write": {
|
|
68
|
-
"types": "./dist/write.d.ts",
|
|
69
|
-
"import": "./dist/write.js"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"files": [
|
|
73
|
-
"dist",
|
|
74
|
-
"NOTICE.md",
|
|
75
|
-
"NOTICE"
|
|
76
|
-
],
|
|
77
|
-
"peerDependencies": {
|
|
78
|
-
"@margoengine/core": "^
|
|
79
|
-
"@margoengine/loaders": "^
|
|
80
|
-
"@margoengine/materials": "^
|
|
81
|
-
"web-ifc": "^0.0.78",
|
|
82
|
-
"@margoengine/geometry": "^
|
|
83
|
-
"@margoengine/lines": "^
|
|
84
|
-
},
|
|
85
|
-
"peerDependenciesMeta": {
|
|
86
|
-
"web-ifc": {
|
|
87
|
-
"optional": true
|
|
88
|
-
},
|
|
89
|
-
"@margoengine/materials": {
|
|
90
|
-
"optional": true
|
|
91
|
-
},
|
|
92
|
-
"@margoengine/core": {
|
|
93
|
-
"optional": true
|
|
94
|
-
},
|
|
95
|
-
"@margoengine/geometry": {
|
|
96
|
-
"optional": true
|
|
97
|
-
},
|
|
98
|
-
"@margoengine/lines": {
|
|
99
|
-
"optional": true
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@margoengine/ifc",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "IFC geometry and BIM identifiers for Margo Engine, using an initialized web-ifc runtime.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"3d",
|
|
9
|
+
"ifc",
|
|
10
|
+
"bim"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://margoengine.com",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
19
|
+
"directory": "packages/ifc"
|
|
20
|
+
},
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
|
+
"author": "Scott Campbell",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"access": "public"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "node ../../scripts/build-optional.js ifc",
|
|
29
|
+
"test": "npm run build && node --test tests/*.test.js",
|
|
30
|
+
"test:gpu": "cd ../.. && node packages/ifc/tests/scene-gpu-check.mjs",
|
|
31
|
+
"prepack": "npm run build"
|
|
32
|
+
},
|
|
33
|
+
"sideEffects": false,
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"import": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./bcf": {
|
|
40
|
+
"types": "./dist/bcf.d.ts",
|
|
41
|
+
"import": "./dist/bcf.js"
|
|
42
|
+
},
|
|
43
|
+
"./data": {
|
|
44
|
+
"types": "./dist/data.d.ts",
|
|
45
|
+
"import": "./dist/data.js"
|
|
46
|
+
},
|
|
47
|
+
"./ids": {
|
|
48
|
+
"types": "./dist/ids.d.ts",
|
|
49
|
+
"import": "./dist/ids.js"
|
|
50
|
+
},
|
|
51
|
+
"./query": {
|
|
52
|
+
"types": "./dist/query.d.ts",
|
|
53
|
+
"import": "./dist/query.js"
|
|
54
|
+
},
|
|
55
|
+
"./scene": {
|
|
56
|
+
"types": "./dist/scene.d.ts",
|
|
57
|
+
"import": "./dist/scene.js"
|
|
58
|
+
},
|
|
59
|
+
"./section": {
|
|
60
|
+
"types": "./dist/section.d.ts",
|
|
61
|
+
"import": "./dist/section.js"
|
|
62
|
+
},
|
|
63
|
+
"./worker": {
|
|
64
|
+
"types": "./dist/worker.d.ts",
|
|
65
|
+
"import": "./dist/worker.js"
|
|
66
|
+
},
|
|
67
|
+
"./write": {
|
|
68
|
+
"types": "./dist/write.d.ts",
|
|
69
|
+
"import": "./dist/write.js"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"files": [
|
|
73
|
+
"dist",
|
|
74
|
+
"NOTICE.md",
|
|
75
|
+
"NOTICE"
|
|
76
|
+
],
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"@margoengine/core": "^1.0.0",
|
|
79
|
+
"@margoengine/loaders": "^1.0.0",
|
|
80
|
+
"@margoengine/materials": "^1.0.0",
|
|
81
|
+
"web-ifc": "^0.0.78",
|
|
82
|
+
"@margoengine/geometry": "^1.0.0",
|
|
83
|
+
"@margoengine/lines": "^1.0.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"web-ifc": {
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
"@margoengine/materials": {
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
"@margoengine/core": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"@margoengine/geometry": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"@margoengine/lines": {
|
|
99
|
+
"optional": true
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|