brepkit-wasm 3.3.6 → 3.3.8
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/brepkit_wasm.d.ts +0 -30
- package/brepkit_wasm_bg.js +7 -7
- package/brepkit_wasm_bg.wasm +0 -0
- package/brepkit_wasm_node.cjs +7 -7
- package/package.json +1 -1
package/brepkit_wasm.d.ts
CHANGED
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Typed result for `boundingBox`.
|
|
5
|
-
*/
|
|
6
|
-
export interface BoundingBoxResult {
|
|
7
|
-
min_x: number;
|
|
8
|
-
min_y: number;
|
|
9
|
-
min_z: number;
|
|
10
|
-
max_x: number;
|
|
11
|
-
max_y: number;
|
|
12
|
-
max_z: number;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Typed result for `sketchSolve`.
|
|
17
|
-
*/
|
|
18
|
-
export interface SketchSolveResult {
|
|
19
|
-
converged: boolean;
|
|
20
|
-
points: number[];
|
|
21
|
-
residual: number;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
3
|
/**
|
|
25
4
|
* Typed result for `tessellateSolidGrouped`.
|
|
26
5
|
*/
|
|
@@ -41,15 +20,6 @@ export interface UvMeshResult {
|
|
|
41
20
|
uvs: number[];
|
|
42
21
|
}
|
|
43
22
|
|
|
44
|
-
/**
|
|
45
|
-
* Typed result for boolean operations with evolution tracking.
|
|
46
|
-
*/
|
|
47
|
-
export interface EvolutionResult {
|
|
48
|
-
solid: number;
|
|
49
|
-
generated: number[];
|
|
50
|
-
modified: number[];
|
|
51
|
-
}
|
|
52
|
-
|
|
53
23
|
|
|
54
24
|
/**
|
|
55
25
|
* The B-Rep modeling kernel.
|
package/brepkit_wasm_bg.js
CHANGED
|
@@ -5235,7 +5235,7 @@ export function lastPanicMessage() {
|
|
|
5235
5235
|
const ret = wasm.lastPanicMessage();
|
|
5236
5236
|
let v1;
|
|
5237
5237
|
if (ret[0] !== 0) {
|
|
5238
|
-
v1 = getStringFromWasm0(ret[0], ret[1])
|
|
5238
|
+
v1 = getStringFromWasm0(ret[0], ret[1]);
|
|
5239
5239
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
5240
5240
|
}
|
|
5241
5241
|
return v1;
|
|
@@ -5267,27 +5267,27 @@ export function setLogLevel(level) {
|
|
|
5267
5267
|
throw takeFromExternrefTable0(ret[0]);
|
|
5268
5268
|
}
|
|
5269
5269
|
}
|
|
5270
|
-
export function
|
|
5270
|
+
export function __wbg_Error_408e67f47ca7b58b(arg0, arg1) {
|
|
5271
5271
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
5272
5272
|
return ret;
|
|
5273
5273
|
}
|
|
5274
|
-
export function
|
|
5274
|
+
export function __wbg___wbindgen_debug_string_a57024b9c6e4a48b(arg0, arg1) {
|
|
5275
5275
|
const ret = debugString(arg1);
|
|
5276
5276
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5277
5277
|
const len1 = WASM_VECTOR_LEN;
|
|
5278
5278
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5279
5279
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5280
5280
|
}
|
|
5281
|
-
export function
|
|
5281
|
+
export function __wbg___wbindgen_throw_bb96b2010945f0bc(arg0, arg1) {
|
|
5282
5282
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5283
5283
|
}
|
|
5284
|
-
export function
|
|
5284
|
+
export function __wbg_error_09aa07f0f66238a5(arg0, arg1) {
|
|
5285
5285
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5286
5286
|
}
|
|
5287
|
-
export function
|
|
5287
|
+
export function __wbg_log_399893ede3dbb435(arg0, arg1) {
|
|
5288
5288
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
5289
5289
|
}
|
|
5290
|
-
export function
|
|
5290
|
+
export function __wbg_warn_43c1f9f3155d911b(arg0, arg1) {
|
|
5291
5291
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
5292
5292
|
}
|
|
5293
5293
|
export function __wbindgen_cast_0000000000000001(arg0, arg1) {
|
package/brepkit_wasm_bg.wasm
CHANGED
|
Binary file
|
package/brepkit_wasm_node.cjs
CHANGED
|
@@ -5244,7 +5244,7 @@ function lastPanicMessage() {
|
|
|
5244
5244
|
const ret = wasm.lastPanicMessage();
|
|
5245
5245
|
let v1;
|
|
5246
5246
|
if (ret[0] !== 0) {
|
|
5247
|
-
v1 = getStringFromWasm0(ret[0], ret[1])
|
|
5247
|
+
v1 = getStringFromWasm0(ret[0], ret[1]);
|
|
5248
5248
|
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
5249
5249
|
}
|
|
5250
5250
|
return v1;
|
|
@@ -5281,27 +5281,27 @@ exports.setLogLevel = setLogLevel;
|
|
|
5281
5281
|
function __wbg_get_imports() {
|
|
5282
5282
|
const import0 = {
|
|
5283
5283
|
__proto__: null,
|
|
5284
|
-
|
|
5284
|
+
__wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
|
|
5285
5285
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
5286
5286
|
return ret;
|
|
5287
5287
|
},
|
|
5288
|
-
|
|
5288
|
+
__wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
|
|
5289
5289
|
const ret = debugString(arg1);
|
|
5290
5290
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
5291
5291
|
const len1 = WASM_VECTOR_LEN;
|
|
5292
5292
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
5293
5293
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
5294
5294
|
},
|
|
5295
|
-
|
|
5295
|
+
__wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
|
|
5296
5296
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5297
5297
|
},
|
|
5298
|
-
|
|
5298
|
+
__wbg_error_09aa07f0f66238a5: function(arg0, arg1) {
|
|
5299
5299
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5300
5300
|
},
|
|
5301
|
-
|
|
5301
|
+
__wbg_log_399893ede3dbb435: function(arg0, arg1) {
|
|
5302
5302
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
5303
5303
|
},
|
|
5304
|
-
|
|
5304
|
+
__wbg_warn_43c1f9f3155d911b: function(arg0, arg1) {
|
|
5305
5305
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
5306
5306
|
},
|
|
5307
5307
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
package/package.json
CHANGED