brepkit-wasm 4.10.0 → 4.11.1
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 +12 -0
- package/brepkit_wasm_bg.js +15 -3
- package/brepkit_wasm_bg.wasm +0 -0
- package/brepkit_wasm_node.cjs +15 -3
- package/package.json +1 -1
package/brepkit_wasm.d.ts
CHANGED
|
@@ -1280,6 +1280,18 @@ export class BrepKernel {
|
|
|
1280
1280
|
* - `solid: bool` — true (default) returns a solid handle; false returns
|
|
1281
1281
|
* a shell handle holding the loft's faces without the caps on its end
|
|
1282
1282
|
* profiles
|
|
1283
|
+
* - `rails: number[]`: edge handles of guide rails, each through a vertex
|
|
1284
|
+
* of every profile
|
|
1285
|
+
* - `railWires: number[]`: wire handles of guide rails, the same
|
|
1286
|
+
* - `start`, `end`: how the surface leaves the first or last profile, as
|
|
1287
|
+
* `"free"` (default), `"normal"`, `{ kind: "normal", weight }` or
|
|
1288
|
+
* `{ kind: "tangent", face, weight }`, `face` the handle of a face the
|
|
1289
|
+
* profile lies on and `weight` scaling the derivative from its natural
|
|
1290
|
+
* size (default 1, negative for the profile's other side)
|
|
1291
|
+
*
|
|
1292
|
+
* Rails and conditions build a surface no ruled loft can, and close their
|
|
1293
|
+
* ends on the profiles: with them, `ruled` defaults to false, and an
|
|
1294
|
+
* explicit `ruled: true`, a `startPoint` or an `endPoint` is refused.
|
|
1283
1295
|
*/
|
|
1284
1296
|
loftWithOptions(faces: Uint32Array | number[], options: string): number;
|
|
1285
1297
|
/**
|
package/brepkit_wasm_bg.js
CHANGED
|
@@ -3005,6 +3005,18 @@ export class BrepKernel {
|
|
|
3005
3005
|
* - `solid: bool` — true (default) returns a solid handle; false returns
|
|
3006
3006
|
* a shell handle holding the loft's faces without the caps on its end
|
|
3007
3007
|
* profiles
|
|
3008
|
+
* - `rails: number[]`: edge handles of guide rails, each through a vertex
|
|
3009
|
+
* of every profile
|
|
3010
|
+
* - `railWires: number[]`: wire handles of guide rails, the same
|
|
3011
|
+
* - `start`, `end`: how the surface leaves the first or last profile, as
|
|
3012
|
+
* `"free"` (default), `"normal"`, `{ kind: "normal", weight }` or
|
|
3013
|
+
* `{ kind: "tangent", face, weight }`, `face` the handle of a face the
|
|
3014
|
+
* profile lies on and `weight` scaling the derivative from its natural
|
|
3015
|
+
* size (default 1, negative for the profile's other side)
|
|
3016
|
+
*
|
|
3017
|
+
* Rails and conditions build a surface no ruled loft can, and close their
|
|
3018
|
+
* ends on the profiles: with them, `ruled` defaults to false, and an
|
|
3019
|
+
* explicit `ruled: true`, a `startPoint` or an `endPoint` is refused.
|
|
3008
3020
|
* @param {Uint32Array | number[]} faces
|
|
3009
3021
|
* @param {string} options
|
|
3010
3022
|
* @returns {number}
|
|
@@ -5925,16 +5937,16 @@ export function __wbg___wbindgen_debug_string_f249a2a76caa9a55(arg0, arg1) {
|
|
|
5925
5937
|
export function __wbg___wbindgen_throw_4c88d8bf264fd984(arg0, arg1) {
|
|
5926
5938
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5927
5939
|
}
|
|
5928
|
-
export function
|
|
5940
|
+
export function __wbg_error_cd3ce73c64a20e55(arg0, arg1) {
|
|
5929
5941
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5930
5942
|
}
|
|
5931
5943
|
export function __wbg_getRandomValues_8b6f1f663e6f188d() { return handleError(function (arg0, arg1) {
|
|
5932
5944
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5933
5945
|
}, arguments); }
|
|
5934
|
-
export function
|
|
5946
|
+
export function __wbg_log_6abc93c4c1bd3d09(arg0, arg1) {
|
|
5935
5947
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
5936
5948
|
}
|
|
5937
|
-
export function
|
|
5949
|
+
export function __wbg_warn_61d478cf2bbe7d2f(arg0, arg1) {
|
|
5938
5950
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
5939
5951
|
}
|
|
5940
5952
|
export function __wbindgen_generic_0000000000000001(arg0, arg1) {
|
package/brepkit_wasm_bg.wasm
CHANGED
|
Binary file
|
package/brepkit_wasm_node.cjs
CHANGED
|
@@ -3007,6 +3007,18 @@ class BrepKernel {
|
|
|
3007
3007
|
* - `solid: bool` — true (default) returns a solid handle; false returns
|
|
3008
3008
|
* a shell handle holding the loft's faces without the caps on its end
|
|
3009
3009
|
* profiles
|
|
3010
|
+
* - `rails: number[]`: edge handles of guide rails, each through a vertex
|
|
3011
|
+
* of every profile
|
|
3012
|
+
* - `railWires: number[]`: wire handles of guide rails, the same
|
|
3013
|
+
* - `start`, `end`: how the surface leaves the first or last profile, as
|
|
3014
|
+
* `"free"` (default), `"normal"`, `{ kind: "normal", weight }` or
|
|
3015
|
+
* `{ kind: "tangent", face, weight }`, `face` the handle of a face the
|
|
3016
|
+
* profile lies on and `weight` scaling the derivative from its natural
|
|
3017
|
+
* size (default 1, negative for the profile's other side)
|
|
3018
|
+
*
|
|
3019
|
+
* Rails and conditions build a surface no ruled loft can, and close their
|
|
3020
|
+
* ends on the profiles: with them, `ruled` defaults to false, and an
|
|
3021
|
+
* explicit `ruled: true`, a `startPoint` or an `endPoint` is refused.
|
|
3010
3022
|
* @param {Uint32Array | number[]} faces
|
|
3011
3023
|
* @param {string} options
|
|
3012
3024
|
* @returns {number}
|
|
@@ -5939,16 +5951,16 @@ function __wbg_get_imports() {
|
|
|
5939
5951
|
__wbg___wbindgen_throw_4c88d8bf264fd984: function(arg0, arg1) {
|
|
5940
5952
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5941
5953
|
},
|
|
5942
|
-
|
|
5954
|
+
__wbg_error_cd3ce73c64a20e55: function(arg0, arg1) {
|
|
5943
5955
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5944
5956
|
},
|
|
5945
5957
|
__wbg_getRandomValues_8b6f1f663e6f188d: function() { return handleError(function (arg0, arg1) {
|
|
5946
5958
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5947
5959
|
}, arguments); },
|
|
5948
|
-
|
|
5960
|
+
__wbg_log_6abc93c4c1bd3d09: function(arg0, arg1) {
|
|
5949
5961
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
5950
5962
|
},
|
|
5951
|
-
|
|
5963
|
+
__wbg_warn_61d478cf2bbe7d2f: function(arg0, arg1) {
|
|
5952
5964
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
5953
5965
|
},
|
|
5954
5966
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
package/package.json
CHANGED