brep-io-kernel 1.0.177 → 1.0.178
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/dist/about.html +3 -66
- package/dist/apiExamples/BREP_Booleans.html +2 -2
- package/dist/apiExamples/BREP_Export.html +2 -2
- package/dist/apiExamples/BREP_Primitives.html +2 -2
- package/dist/apiExamples/BREP_Transforms.html +2 -2
- package/dist/apiExamples/Embeded_2D_Sketcher.html +2 -2
- package/dist/apiExamples/Embeded_CAD.html +2 -2
- package/dist/apiExamples/Embeded_CAD_Integration_Test.html +2 -2
- package/dist/assembly-constraint-capture.html +5 -5
- package/dist/assets/{AnnotationRegistry-CyI5mmDu.js → AnnotationRegistry-QZj3o2R6.js} +1 -1
- package/dist/assets/{AssemblyConstraintRegistry-3P1cpGjG.js → AssemblyConstraintRegistry-DJV0rHvz.js} +1 -1
- package/dist/assets/{FeatureRegistry-Cd-GX-Bm.js → FeatureRegistry-C7MrfKHF.js} +3 -3
- package/dist/assets/{PartHistory-DxsRIXx4.js → PartHistory-CyUoWFuO.js} +1 -1
- package/dist/assets/{Tube-bO80ROeR.js → Tube-TKgrLSLm.js} +1 -1
- package/dist/assets/{annUtils-D9TT7tgs.js → annUtils-Cv2fgMTB.js} +1 -1
- package/dist/assets/{apiExample_BREP_Booleans-p7pplM2w.js → apiExample_BREP_Booleans-CVUu-3pI.js} +1 -1
- package/dist/assets/{apiExample_BREP_Export-DcEboCzN.js → apiExample_BREP_Export-D3YICePi.js} +1 -1
- package/dist/assets/{apiExample_BREP_Primitives-mwn27Zyf.js → apiExample_BREP_Primitives-CB9GlLIq.js} +1 -1
- package/dist/assets/{apiExample_BREP_Transforms-DoxqJ6cS.js → apiExample_BREP_Transforms-BTbdOuJd.js} +1 -1
- package/dist/assets/{apiExample_Embeded_2D_Sketcher-D0UY5aPj.js → apiExample_Embeded_2D_Sketcher-jli62c46.js} +1 -1
- package/dist/assets/{apiExample_Embeded_CAD-CGA1Zguy.js → apiExample_Embeded_CAD-BBzOAW8d.js} +1 -1
- package/dist/assets/{apiExample_Embeded_CAD_Integration_Test-CdZX2cCy.js → apiExample_Embeded_CAD_Integration_Test-Dla62MVj.js} +1 -1
- package/dist/assets/{assemblyConstraintDialogs-Qq5KEM_o.js → assemblyConstraintDialogs-7PwUshmv.js} +1 -1
- package/dist/assets/{brep-kernel-DRr4NDNQ.js → brep-kernel-B2gzJr_I.js} +3 -10
- package/dist/assets/{browserTests-DI1pWDf6.js → browserTests-Rma8zWcv.js} +1 -1
- package/dist/assets/{chamfer-DdXNz6lz.js → chamfer-jmLT1RTy.js} +1 -1
- package/dist/assets/{dialogCapturePageFactory-DGBZ6PkY.js → dialogCapturePageFactory-l1BkjONQ.js} +1 -1
- package/dist/assets/{featureDialogs-CUWi02Qp.js → featureDialogs-Bas0NDXF.js} +3 -3
- package/dist/assets/{featureDialogs-CJ9OA-vL.js → featureDialogs-zsfh_u_t.js} +1 -1
- package/dist/assets/{fillet-CJey7GJP.js → fillet-Bzd1Xae9.js} +1 -1
- package/dist/assets/{index.es-X1ZhwpCY.js → index.es-tZ6V_7py.js} +1 -1
- package/dist/assets/{javascript-CHFzcwro.js → javascript-DU8Xgp6c.js} +1 -1
- package/dist/assets/{main-cad-bbPyIDxb.js → main-cad-J2VK-edE.js} +6 -6
- package/dist/assets/{pmiDialogs-BFqEnCKw.js → pmiDialogs-DtSa0QaG.js} +1 -1
- package/dist/assets/{test-XEjDO9UE.js → test-D-0BGqtx.js} +3 -3
- package/dist/cad.html +10 -10
- package/dist/feature-dialog-capture.html +7 -7
- package/dist/help/index.html +3 -66
- package/dist/help/search-index.json +1 -1
- package/dist/pmi-dialog-capture.html +5 -5
- package/dist/test.html +1 -1
- package/dist/viewer.html +10 -10
- package/dist-kernel/brep-kernel.js +3 -10
- package/dist-kernel/help/index.html +3 -66
- package/dist-kernel/help/search-index.json +1 -1
- package/package.json +2 -3
- package/src/BREP/setupManifold.js +2 -7
- package/src/generated/licenseBundle.js +1 -1
- package/src/generated/manifoldSource.js +0 -1
- package/dist/assets/manifold-B8h_vZ5O.js +0 -16
- package/dist/assets/manifold-D9yvTBHx.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brep-io-kernel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.178",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "pnpm dev",
|
|
6
6
|
"dev": "node ./scripts/prepareFontAssets.js && pnpm prepareFonts && pnpm build:kernel && vite --host 0.0.0.0",
|
|
7
7
|
"build": "pnpm prepareFonts && pnpm build:kernel && vite build",
|
|
8
|
+
"build:cloudflare": "node ./scripts/buildCloudflare.js",
|
|
8
9
|
"build:manifoldPlus": "node ./scripts/buildManifoldPlus.js",
|
|
9
10
|
"build:kernel": "node ./scripts/prepareManifoldRuntime.js && pnpm generateLicenses && vite build --config vite.config.kernel.js && node ./scripts/syncKernelAssets.js",
|
|
10
11
|
"lint": "eslint .",
|
|
@@ -14,7 +15,6 @@
|
|
|
14
15
|
"generateLicenses": "node ./generateLicenses.js && node ./scripts/generateLicenseBundle.js",
|
|
15
16
|
"prepareFonts": "node ./scripts/prepareFontAssets.js",
|
|
16
17
|
"capture": "node ./scripts/capture.js",
|
|
17
|
-
"use:manifold:npm": "node ./scripts/setManifoldSource.js npm",
|
|
18
18
|
"use:manifold:local": "node ./scripts/setManifoldSource.js local",
|
|
19
19
|
"which:manifold": "node ./scripts/setManifoldSource.js"
|
|
20
20
|
},
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"html2canvas": "^1.4.1",
|
|
55
55
|
"jspdf": "^4.2.0",
|
|
56
56
|
"jszip": "^3.10.1",
|
|
57
|
-
"manifold-3d": "3.3.2",
|
|
58
57
|
"monaco-editor": "^0.55.1",
|
|
59
58
|
"pngjs": "^7.0.0",
|
|
60
59
|
"tess2": "^1.0.0",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// setupManifold.js (ESM)
|
|
2
2
|
// Universal loader that works in both Node.js and the browser (Vite)
|
|
3
3
|
import {
|
|
4
|
-
MANIFOLD_RUNTIME_IS_LOCAL,
|
|
5
4
|
MANIFOLD_RUNTIME_SOURCE,
|
|
6
5
|
} from "../generated/manifoldSource.js";
|
|
7
6
|
|
|
@@ -39,9 +38,7 @@ const patchFileURLToPathForDataUrl = async () => {
|
|
|
39
38
|
|
|
40
39
|
const loadModule = async () => {
|
|
41
40
|
if (isNode) await patchFileURLToPathForDataUrl();
|
|
42
|
-
const mod =
|
|
43
|
-
? await import('../../manifold-plus/dist/manifold.js')
|
|
44
|
-
: await import('manifold-3d');
|
|
41
|
+
const mod = await import('../../manifold-plus/dist/manifold.js');
|
|
45
42
|
return mod?.default ?? mod;
|
|
46
43
|
};
|
|
47
44
|
|
|
@@ -88,9 +85,7 @@ export const manifold = await (async () => {
|
|
|
88
85
|
}
|
|
89
86
|
|
|
90
87
|
// Browser (Vite): use ?url to get the WASM asset URL
|
|
91
|
-
const { default: wasmUrl } =
|
|
92
|
-
? await import('../../manifold-plus/dist/manifold.wasm?url')
|
|
93
|
-
: await import('manifold-3d/manifold.wasm?url');
|
|
88
|
+
const { default: wasmUrl } = await import('../../manifold-plus/dist/manifold.wasm?url');
|
|
94
89
|
const wasm = await initWasm({
|
|
95
90
|
locateFile: () => wasmUrl,
|
|
96
91
|
});
|