@selvajs/compute 3.1.0-beta.8 → 3.1.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 +21 -0
- package/dist/chunk-FQKQISPG.cjs +2 -0
- package/dist/chunk-FQKQISPG.cjs.map +1 -0
- package/dist/chunk-H3FZW6OX.cjs +4 -0
- package/dist/chunk-H3FZW6OX.cjs.map +1 -0
- package/dist/chunk-N2WCSETE.js +120 -0
- package/dist/chunk-N2WCSETE.js.map +1 -0
- package/dist/chunk-RFE763NG.cjs +120 -0
- package/dist/chunk-RFE763NG.cjs.map +1 -0
- package/dist/chunk-S3VUIIRE.js +2 -0
- package/dist/chunk-S3VUIIRE.js.map +1 -0
- package/dist/chunk-Y3M7P3BW.js +4 -0
- package/dist/chunk-Y3M7P3BW.js.map +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +22 -1
- package/dist/core.d.ts +22 -1
- package/dist/core.js +1 -1
- package/dist/grasshopper.cjs +1 -1
- package/dist/grasshopper.cjs.map +1 -1
- package/dist/grasshopper.d.cts +22 -2
- package/dist/grasshopper.d.ts +22 -2
- package/dist/grasshopper.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{types-Dtok-mVq.d.ts → types-4FMvnx2j.d.ts} +14 -1
- package/dist/{types-C8XWc4Ab.d.cts → types-BpOl6U02.d.cts} +14 -1
- package/dist/visualization-E6BTQZCA.cjs +2 -0
- package/dist/visualization-E6BTQZCA.cjs.map +1 -0
- package/dist/visualization-HDBKPJGQ.js +2 -0
- package/dist/visualization.cjs +1 -1
- package/dist/visualization.cjs.map +1 -1
- package/dist/visualization.d.cts +331 -29
- package/dist/visualization.d.ts +331 -29
- package/dist/visualization.js +1 -1
- package/package.json +55 -34
- package/dist/chunk-CUQQ3ZBV.cjs +0 -4
- package/dist/chunk-CUQQ3ZBV.cjs.map +0 -1
- package/dist/chunk-GFY3L653.cjs +0 -62
- package/dist/chunk-GFY3L653.cjs.map +0 -1
- package/dist/chunk-MJOXUCDH.js +0 -62
- package/dist/chunk-MJOXUCDH.js.map +0 -1
- package/dist/chunk-WPB2LKCD.js +0 -4
- package/dist/chunk-WPB2LKCD.js.map +0 -1
- package/dist/chunk-WWD655BZ.cjs +0 -2
- package/dist/chunk-WWD655BZ.cjs.map +0 -1
- package/dist/chunk-YREXY7GT.js +0 -2
- package/dist/chunk-YREXY7GT.js.map +0 -1
- package/dist/visualization-4PVR5P7N.js +0 -2
- package/dist/visualization-LS3Z7Q3N.cjs +0 -2
- package/dist/visualization-LS3Z7Q3N.cjs.map +0 -1
- /package/dist/{visualization-4PVR5P7N.js.map → visualization-HDBKPJGQ.js.map} +0 -0
package/dist/grasshopper.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { R as RhinoComputeError, C as ComputeServerStats, F as FileBaseInfo } fr
|
|
|
2
2
|
export { b as FileData, P as ProcessedFile, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-BISo_wob.js';
|
|
3
3
|
import { R as RetryPolicy, C as ComputeConfig } from './types-BGhtYxZ-.js';
|
|
4
4
|
export { a as RhinoModelUnit } from './types-BGhtYxZ-.js';
|
|
5
|
-
import { f as GrasshopperComputeResponse, a as DataTree, e as GrasshopperComputeConfig, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, m as MeshExtractionOptions, k as InputParamSchema, j as InputParam, b as DataTreeDefault, c as DataTreePath } from './types-
|
|
6
|
-
export { B as BooleanInputType, D as DataItem, d as DefaultValue, F as FileInputType, G as GeometryInputType, i as GrasshopperRequestSchema, I as InnerTreeData, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-
|
|
5
|
+
import { f as GrasshopperComputeResponse, a as DataTree, e as GrasshopperComputeConfig, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, m as MeshExtractionOptions, k as InputParamSchema, j as InputParam, b as DataTreeDefault, c as DataTreePath } from './types-4FMvnx2j.js';
|
|
6
|
+
export { B as BooleanInputType, D as DataItem, d as DefaultValue, F as FileInputType, G as GeometryInputType, i as GrasshopperRequestSchema, I as InnerTreeData, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-4FMvnx2j.js';
|
|
7
7
|
import * as THREE from 'three';
|
|
8
8
|
import 'rhino3dm';
|
|
9
9
|
|
|
@@ -65,6 +65,16 @@ type SchedulerMode = 'latest-wins' | 'queue' | 'parallel';
|
|
|
65
65
|
interface CacheOptions {
|
|
66
66
|
/** Maximum entries kept in the LRU. Default: 50. */
|
|
67
67
|
maxEntries?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Total byte budget for retained responses, evicted LRU alongside
|
|
70
|
+
* `maxEntries` (both bounds apply). Responses range KB→100s of MB, so an
|
|
71
|
+
* entry count alone can't bound heap. Sizing uses the response's wire size
|
|
72
|
+
* (JSON text length, recorded at the fetch boundary — no re-serialization);
|
|
73
|
+
* a response without that hint (custom executor) is sized by a one-off
|
|
74
|
+
* `JSON.stringify`. A single response larger than the whole budget is
|
|
75
|
+
* served but never retained. `0` = no byte bound (count-only, default).
|
|
76
|
+
*/
|
|
77
|
+
maxBytes?: number;
|
|
68
78
|
/** Time-to-live in ms. Set to `0` for no expiry (default). */
|
|
69
79
|
ttlMs?: number;
|
|
70
80
|
/**
|
|
@@ -211,9 +221,12 @@ declare class SolveScheduler {
|
|
|
211
221
|
private readonly retry;
|
|
212
222
|
private readonly cacheEnabled;
|
|
213
223
|
private readonly cacheMax;
|
|
224
|
+
private readonly cacheMaxBytes;
|
|
214
225
|
private readonly cacheTtl;
|
|
215
226
|
private readonly cacheErroredSolves;
|
|
216
227
|
private readonly cache;
|
|
228
|
+
/** Sum of `sizeBytes` across retained cache entries. */
|
|
229
|
+
private cacheBytes;
|
|
217
230
|
/** Optional cache-key-aware executor and whether server-def-cache reuse is on. */
|
|
218
231
|
private readonly cacheKeyExecutor?;
|
|
219
232
|
private readonly reuseServerDefinitionCache;
|
|
@@ -341,7 +354,14 @@ declare class SolveScheduler {
|
|
|
341
354
|
private rejectAsAborted;
|
|
342
355
|
private readCache;
|
|
343
356
|
private writeCache;
|
|
357
|
+
/** Remove one cache entry and release its bytes from the running total. */
|
|
358
|
+
private dropCacheEntry;
|
|
344
359
|
clearCache(): void;
|
|
360
|
+
/** Observability snapshot of the response cache (entries + retained bytes). */
|
|
361
|
+
cacheStats(): {
|
|
362
|
+
entries: number;
|
|
363
|
+
bytes: number;
|
|
364
|
+
};
|
|
345
365
|
dispose(): void;
|
|
346
366
|
private runHook;
|
|
347
367
|
}
|
package/dist/grasshopper.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as d,b as e,c as f,d as g,e as h,f as i,g as j,h as k,i as l,j as m,k as n,l as o,m as p}from"./chunk-
|
|
1
|
+
import{a as d,b as e,c as f,d as g,e as h,f as i,g as j,h as k,i as l,j as m,k as n,l as o,m as p}from"./chunk-S3VUIIRE.js";import{d as a,u as b,v as c}from"./chunk-Y3M7P3BW.js";export{j as GrasshopperClient,k as GrasshopperResponseProcessor,a as RhinoComputeError,i as SolveScheduler,p as TreeBuilder,c as downloadFileData,b as extractFilesFromComputeResponse,n as fetchDefinitionIO,o as fetchParsedDefinitionIO,h as hashDefinition,g as hashSolveInput,d as isDefinitionRef,l as processInput,m as processInputs,e as solveGrasshopperDefinition,f as stableStringify};
|
|
2
2
|
//# sourceMappingURL=grasshopper.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkFQKQISPGcjs = require('./chunk-FQKQISPG.cjs');var _chunkH3FZW6OXcjs = require('./chunk-H3FZW6OX.cjs');exports.ComputeServerStats = _chunkH3FZW6OXcjs.p; exports.ErrorCodes = _chunkH3FZW6OXcjs.c; exports.GrasshopperClient = _chunkFQKQISPGcjs.g; exports.GrasshopperResponseProcessor = _chunkFQKQISPGcjs.h; exports.RhinoComputeError = _chunkH3FZW6OXcjs.d; exports.SolveScheduler = _chunkFQKQISPGcjs.f; exports.TreeBuilder = _chunkFQKQISPGcjs.m; exports.camelcaseKeys = _chunkH3FZW6OXcjs.r; exports.downloadFileData = _chunkH3FZW6OXcjs.v; exports.enableDebugLogging = _chunkH3FZW6OXcjs.g; exports.extractFilesFromComputeResponse = _chunkH3FZW6OXcjs.u; exports.fetchDefinitionIO = _chunkFQKQISPGcjs.k; exports.fetchParsedDefinitionIO = _chunkFQKQISPGcjs.l; exports.fetchRhinoCompute = _chunkH3FZW6OXcjs.n; exports.getLogger = _chunkH3FZW6OXcjs.e; exports.getResponseWireSize = _chunkH3FZW6OXcjs.m; exports.hashDefinition = _chunkFQKQISPGcjs.e; exports.hashSolveInput = _chunkFQKQISPGcjs.d; exports.isDefinitionRef = _chunkFQKQISPGcjs.a; exports.processInput = _chunkFQKQISPGcjs.i; exports.processInputs = _chunkFQKQISPGcjs.j; exports.setLogger = _chunkH3FZW6OXcjs.f; exports.setResponseWireSize = _chunkH3FZW6OXcjs.l; exports.solveGrasshopperDefinition = _chunkFQKQISPGcjs.b; exports.stableStringify = _chunkFQKQISPGcjs.c; exports.toCamelCase = _chunkH3FZW6OXcjs.q;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/selva/selva/packages/compute/dist/index.cjs"],"names":[],"mappings":"AAAA,iIAA4H,wDAAmH,yuCAA8kB","file":"/home/runner/work/selva/selva/packages/compute/dist/index.cjs"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, setLogger, toCamelCase } from './core.cjs';
|
|
1
|
+
export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, getResponseWireSize, setLogger, setResponseWireSize, toCamelCase } from './core.cjs';
|
|
2
2
|
export { C as ComputeServerStats, E as ErrorCode, a as ErrorCodes, F as FileBaseInfo, b as FileData, P as ProcessedFile, R as RhinoComputeError, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-BISo_wob.cjs';
|
|
3
3
|
export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-BGhtYxZ-.cjs';
|
|
4
4
|
export { CacheOptions, DataTreeValue, DefinitionRef, GetValuesOptions, GetValuesResult, GrasshopperClient, GrasshopperResponseProcessor, ParsedContext, SchedulerMode, SolveContext, SolveDefinition, SolveOptions, SolveResult, SolveScheduler, SolveSchedulerOptions, TreeBuilder, fetchDefinitionIO, fetchParsedDefinitionIO, hashDefinition, hashSolveInput, isDefinitionRef, processInput, processInputs, solveGrasshopperDefinition, stableStringify } from './grasshopper.cjs';
|
|
5
|
-
export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-
|
|
5
|
+
export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-BpOl6U02.cjs';
|
|
6
6
|
import 'three';
|
|
7
7
|
import 'rhino3dm';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, setLogger, toCamelCase } from './core.js';
|
|
1
|
+
export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, getResponseWireSize, setLogger, setResponseWireSize, toCamelCase } from './core.js';
|
|
2
2
|
export { C as ComputeServerStats, E as ErrorCode, a as ErrorCodes, F as FileBaseInfo, b as FileData, P as ProcessedFile, R as RhinoComputeError, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-BISo_wob.js';
|
|
3
3
|
export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-BGhtYxZ-.js';
|
|
4
4
|
export { CacheOptions, DataTreeValue, DefinitionRef, GetValuesOptions, GetValuesResult, GrasshopperClient, GrasshopperResponseProcessor, ParsedContext, SchedulerMode, SolveContext, SolveDefinition, SolveOptions, SolveResult, SolveScheduler, SolveSchedulerOptions, TreeBuilder, fetchDefinitionIO, fetchParsedDefinitionIO, hashDefinition, hashSolveInput, isDefinitionRef, processInput, processInputs, solveGrasshopperDefinition, stableStringify } from './grasshopper.js';
|
|
5
|
-
export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-
|
|
5
|
+
export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-4FMvnx2j.js';
|
|
6
6
|
import 'three';
|
|
7
7
|
import 'rhino3dm';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as h,b as i,c as j,d as k,e as l,f as n,g as q,h as s,i as u,j as v,k as w,l as y,m as z}from"./chunk-S3VUIIRE.js";import{c as o,d as r,e,f,g as m,l as p,m as t,n as x,p as a,q as b,r as c,u as d,v as g}from"./chunk-Y3M7P3BW.js";export{a as ComputeServerStats,o as ErrorCodes,q as GrasshopperClient,s as GrasshopperResponseProcessor,r as RhinoComputeError,n as SolveScheduler,z as TreeBuilder,c as camelcaseKeys,g as downloadFileData,m as enableDebugLogging,d as extractFilesFromComputeResponse,w as fetchDefinitionIO,y as fetchParsedDefinitionIO,x as fetchRhinoCompute,e as getLogger,t as getResponseWireSize,l as hashDefinition,k as hashSolveInput,h as isDefinitionRef,u as processInput,v as processInputs,f as setLogger,p as setResponseWireSize,i as solveGrasshopperDefinition,j as stableStringify,b as toCamelCase};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -529,8 +529,21 @@ interface MeshExtractionOptions {
|
|
|
529
529
|
parsing?: MeshBatchParsingOptions;
|
|
530
530
|
/** Apply scaling based on model units. Defaults to true. */
|
|
531
531
|
allowScaling?: boolean;
|
|
532
|
-
/**
|
|
532
|
+
/**
|
|
533
|
+
* Drop geometry so its lowest point sits on the ground plane. **Defaults to `false`** — content
|
|
534
|
+
* renders at its true Rhino coordinates, so the viewer matches the Grasshopper definition.
|
|
535
|
+
*
|
|
536
|
+
* Set `true` to always seat the model on the grid regardless of where it sits in Rhino. Note
|
|
537
|
+
* this shifts objects, so anything read back out of the scene (bounds, measured or picked
|
|
538
|
+
* positions) no longer corresponds to the model's Rhino coordinates.
|
|
539
|
+
*/
|
|
533
540
|
allowAutoPosition?: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* The scene's up axis, used by the `allowAutoPosition` grounding to decide which component to
|
|
543
|
+
* drop to zero. Defaults to `'z'` — the frame Rhino geometry arrives in. Only set this if the
|
|
544
|
+
* viewer is configured with a non-default `sceneUp`.
|
|
545
|
+
*/
|
|
546
|
+
groundAxis?: 'x' | 'y' | 'z';
|
|
534
547
|
/**
|
|
535
548
|
* rhino3dm instance for decoding curve display items. selva-compute does not own the WASM
|
|
536
549
|
* instance; the host threads it in. Omit to skip curves (points still render).
|
|
@@ -529,8 +529,21 @@ interface MeshExtractionOptions {
|
|
|
529
529
|
parsing?: MeshBatchParsingOptions;
|
|
530
530
|
/** Apply scaling based on model units. Defaults to true. */
|
|
531
531
|
allowScaling?: boolean;
|
|
532
|
-
/**
|
|
532
|
+
/**
|
|
533
|
+
* Drop geometry so its lowest point sits on the ground plane. **Defaults to `false`** — content
|
|
534
|
+
* renders at its true Rhino coordinates, so the viewer matches the Grasshopper definition.
|
|
535
|
+
*
|
|
536
|
+
* Set `true` to always seat the model on the grid regardless of where it sits in Rhino. Note
|
|
537
|
+
* this shifts objects, so anything read back out of the scene (bounds, measured or picked
|
|
538
|
+
* positions) no longer corresponds to the model's Rhino coordinates.
|
|
539
|
+
*/
|
|
533
540
|
allowAutoPosition?: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* The scene's up axis, used by the `allowAutoPosition` grounding to decide which component to
|
|
543
|
+
* drop to zero. Defaults to `'z'` — the frame Rhino geometry arrives in. Only set this if the
|
|
544
|
+
* viewer is configured with a non-default `sceneUp`.
|
|
545
|
+
*/
|
|
546
|
+
groundAxis?: 'x' | 'y' | 'z';
|
|
534
547
|
/**
|
|
535
548
|
* rhino3dm instance for decoding curve display items. selva-compute does not own the WASM
|
|
536
549
|
* instance; the host threads it in. Omit to skip curves (points still render).
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRFE763NGcjs = require('./chunk-RFE763NG.cjs');require('./chunk-H3FZW6OX.cjs');exports.BINARY_MESH_MAGIC = _chunkRFE763NGcjs.F; exports.BINARY_MESH_VERSION = _chunkRFE763NGcjs.H; exports.COMPRESSED_MESH_MAGIC = _chunkRFE763NGcjs.G; exports.EDGES_SKIPPED_TRIANGLE_CAP = _chunkRFE763NGcjs.o; exports.EDGE_USERDATA_KIND = _chunkRFE763NGcjs.n; exports.FLAG_DELTA_ENCODED = _chunkRFE763NGcjs.L; exports.FLAG_FLOAT32 = _chunkRFE763NGcjs.J; exports.FLAG_HAS_UVS = _chunkRFE763NGcjs.M; exports.FLAG_HAS_VERTEX_COLORS = _chunkRFE763NGcjs.N; exports.FLAG_UINT16_INDICES = _chunkRFE763NGcjs.K; exports.LOOKS = _chunkRFE763NGcjs.D; exports.MIN_SUPPORTED_VERSION = _chunkRFE763NGcjs.I; exports.Materials = _chunkRFE763NGcjs.a; exports.SCALE_FACTORS = _chunkRFE763NGcjs.U; exports.TEXTURE_CACHE_MAX_ENTRIES = _chunkRFE763NGcjs.y; exports.UV_FORMAT_FLOAT32 = _chunkRFE763NGcjs.P; exports.UV_FORMAT_UINT16 = _chunkRFE763NGcjs.O; exports.addEdges = _chunkRFE763NGcjs.q; exports.addEdgesAsync = _chunkRFE763NGcjs.r; exports.applyOffset = _chunkRFE763NGcjs.i; exports.buildUpBasis = _chunkRFE763NGcjs.b; exports.clearTextureCache = _chunkRFE763NGcjs.A; exports.computeCombinedBoundingBox = _chunkRFE763NGcjs.j; exports.createCameraController = _chunkRFE763NGcjs.k; exports.createGrid = _chunkRFE763NGcjs.l; exports.createLabelLayer = _chunkRFE763NGcjs.v; exports.createMeasureTool = _chunkRFE763NGcjs.x; exports.createRenderPipeline = _chunkRFE763NGcjs.u; exports.createViewGizmo = _chunkRFE763NGcjs.m; exports.environmentRotationFor = _chunkRFE763NGcjs.e; exports.getThreeMeshesFromComputeResponse = _chunkRFE763NGcjs.V; exports.initThree = _chunkRFE763NGcjs.C; exports.isEdgeOverlay = _chunkRFE763NGcjs.p; exports.isoOffset = _chunkRFE763NGcjs.c; exports.materialAppearanceForLook = _chunkRFE763NGcjs.B; exports.parseBinaryMeshBatch = _chunkRFE763NGcjs.Q; exports.parseColor = _chunkRFE763NGcjs.h; exports.parseDisplayItems = _chunkRFE763NGcjs.E; exports.parseMeshBatch = _chunkRFE763NGcjs.R; exports.parseMeshBatchBlob = _chunkRFE763NGcjs.T; exports.parseMeshBatchObject = _chunkRFE763NGcjs.S; exports.removeEdges = _chunkRFE763NGcjs.s; exports.setTextureAnisotropy = _chunkRFE763NGcjs.z; exports.snapToVertex = _chunkRFE763NGcjs.w; exports.sunOffset = _chunkRFE763NGcjs.d; exports.upToAxis = _chunkRFE763NGcjs.f; exports.updateScene = _chunkRFE763NGcjs.g;
|
|
2
|
+
//# sourceMappingURL=visualization-E6BTQZCA.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/selva/selva/packages/compute/dist/visualization-E6BTQZCA.cjs"],"names":[],"mappings":"AAAA,iIAA0W,gCAA6B,qtEAAwhC","file":"/home/runner/work/selva/selva/packages/compute/dist/visualization-E6BTQZCA.cjs"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A as j,B as S,C as I,D as L,E as R,F as D,G as B,H as G,I as u,J as P,K as F,L as b,M as N,N as U,O as V,P as v,Q as H,R as w,S as z,T as k,U as K,V as X,a as e,b as r,c as o,d as t,e as s,f as a,g as p,h as i,i as n,j as m,k as l,l as f,m as y,n as x,o as E,p as d,q as C,r as h,s as M,u as _,v as A,w as O,x as c,y as g,z as T}from"./chunk-N2WCSETE.js";import"./chunk-Y3M7P3BW.js";export{D as BINARY_MESH_MAGIC,G as BINARY_MESH_VERSION,B as COMPRESSED_MESH_MAGIC,E as EDGES_SKIPPED_TRIANGLE_CAP,x as EDGE_USERDATA_KIND,b as FLAG_DELTA_ENCODED,P as FLAG_FLOAT32,N as FLAG_HAS_UVS,U as FLAG_HAS_VERTEX_COLORS,F as FLAG_UINT16_INDICES,L as LOOKS,u as MIN_SUPPORTED_VERSION,e as Materials,K as SCALE_FACTORS,g as TEXTURE_CACHE_MAX_ENTRIES,v as UV_FORMAT_FLOAT32,V as UV_FORMAT_UINT16,C as addEdges,h as addEdgesAsync,n as applyOffset,r as buildUpBasis,j as clearTextureCache,m as computeCombinedBoundingBox,l as createCameraController,f as createGrid,A as createLabelLayer,c as createMeasureTool,_ as createRenderPipeline,y as createViewGizmo,s as environmentRotationFor,X as getThreeMeshesFromComputeResponse,I as initThree,d as isEdgeOverlay,o as isoOffset,S as materialAppearanceForLook,H as parseBinaryMeshBatch,i as parseColor,R as parseDisplayItems,w as parseMeshBatch,k as parseMeshBatchBlob,z as parseMeshBatchObject,M as removeEdges,T as setTextureAnisotropy,O as snapToVertex,t as sunOffset,a as upToAxis,p as updateScene};
|
|
2
|
+
//# sourceMappingURL=visualization-HDBKPJGQ.js.map
|
package/dist/visualization.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRFE763NGcjs = require('./chunk-RFE763NG.cjs');require('./chunk-H3FZW6OX.cjs');exports.EDGES_SKIPPED_TRIANGLE_CAP = _chunkRFE763NGcjs.o; exports.EDGE_USERDATA_KIND = _chunkRFE763NGcjs.n; exports.EdgeDetectionPass = _chunkRFE763NGcjs.t; exports.LOOKS = _chunkRFE763NGcjs.D; exports.Materials = _chunkRFE763NGcjs.a; exports.SCALE_FACTORS = _chunkRFE763NGcjs.U; exports.addEdges = _chunkRFE763NGcjs.q; exports.addEdgesAsync = _chunkRFE763NGcjs.r; exports.applyOffset = _chunkRFE763NGcjs.i; exports.buildUpBasis = _chunkRFE763NGcjs.b; exports.computeCombinedBoundingBox = _chunkRFE763NGcjs.j; exports.createCameraController = _chunkRFE763NGcjs.k; exports.createGrid = _chunkRFE763NGcjs.l; exports.createLabelLayer = _chunkRFE763NGcjs.v; exports.createMeasureTool = _chunkRFE763NGcjs.x; exports.createRenderPipeline = _chunkRFE763NGcjs.u; exports.createViewGizmo = _chunkRFE763NGcjs.m; exports.environmentRotationFor = _chunkRFE763NGcjs.e; exports.getThreeMeshesFromComputeResponse = _chunkRFE763NGcjs.V; exports.initThree = _chunkRFE763NGcjs.C; exports.isEdgeOverlay = _chunkRFE763NGcjs.p; exports.isoOffset = _chunkRFE763NGcjs.c; exports.parseColor = _chunkRFE763NGcjs.h; exports.parseDisplayItems = _chunkRFE763NGcjs.E; exports.parseMeshBatchBlob = _chunkRFE763NGcjs.T; exports.parseMeshBatchObject = _chunkRFE763NGcjs.S; exports.removeEdges = _chunkRFE763NGcjs.s; exports.snapToVertex = _chunkRFE763NGcjs.w; exports.sunOffset = _chunkRFE763NGcjs.d; exports.upToAxis = _chunkRFE763NGcjs.f; exports.updateScene = _chunkRFE763NGcjs.g;
|
|
2
2
|
//# sourceMappingURL=visualization.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/selva/selva/packages/compute/dist/visualization.cjs"],"names":[],"mappings":"AAAA,iIAAqP,gCAA6B,26CAA8oB","file":"/home/runner/work/selva/selva/packages/compute/dist/visualization.cjs"}
|