@selvajs/compute 3.0.1 → 3.1.0-beta.10

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.
Files changed (60) hide show
  1. package/dist/chunk-2KQHHQZW.js +2 -0
  2. package/dist/chunk-2KQHHQZW.js.map +1 -0
  3. package/dist/chunk-7XMD5YXP.cjs +62 -0
  4. package/dist/chunk-7XMD5YXP.cjs.map +1 -0
  5. package/dist/chunk-CUQQ3ZBV.cjs +4 -0
  6. package/dist/chunk-CUQQ3ZBV.cjs.map +1 -0
  7. package/dist/chunk-HOWV4A5D.cjs +2 -0
  8. package/dist/chunk-HOWV4A5D.cjs.map +1 -0
  9. package/dist/chunk-PX2YTSHJ.js +62 -0
  10. package/dist/chunk-PX2YTSHJ.js.map +1 -0
  11. package/dist/chunk-WPB2LKCD.js +4 -0
  12. package/dist/chunk-WPB2LKCD.js.map +1 -0
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.cjs.map +1 -1
  15. package/dist/core.d.cts +49 -3
  16. package/dist/core.d.ts +49 -3
  17. package/dist/core.js +1 -1
  18. package/dist/grasshopper.cjs +1 -1
  19. package/dist/grasshopper.cjs.map +1 -1
  20. package/dist/grasshopper.d.cts +222 -32
  21. package/dist/grasshopper.d.ts +222 -32
  22. package/dist/grasshopper.js +1 -1
  23. package/dist/{handle-files-Bu2qmaPj.d.ts → handle-files-BISo_wob.d.cts} +53 -69
  24. package/dist/{handle-files-Bu2qmaPj.d.cts → handle-files-BISo_wob.d.ts} +53 -69
  25. package/dist/index.cjs +1 -1
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +4 -4
  28. package/dist/index.d.ts +4 -4
  29. package/dist/index.js +1 -1
  30. package/dist/types-BGhtYxZ-.d.cts +45 -0
  31. package/dist/types-BGhtYxZ-.d.ts +45 -0
  32. package/dist/{types-DxT3hSkx.d.ts → types-C8XWc4Ab.d.cts} +99 -67
  33. package/dist/{types-D-HQ-gWI.d.cts → types-Dtok-mVq.d.ts} +99 -67
  34. package/dist/visualization-4RSUYQG2.cjs +2 -0
  35. package/dist/visualization-4RSUYQG2.cjs.map +1 -0
  36. package/dist/visualization-MOYO6MDN.js +2 -0
  37. package/dist/visualization.cjs +1 -1
  38. package/dist/visualization.cjs.map +1 -1
  39. package/dist/visualization.d.cts +200 -37
  40. package/dist/visualization.d.ts +200 -37
  41. package/dist/visualization.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/chunk-6LCAIDQV.cjs +0 -4
  44. package/dist/chunk-6LCAIDQV.cjs.map +0 -1
  45. package/dist/chunk-CFBKO3HX.cjs +0 -2
  46. package/dist/chunk-CFBKO3HX.cjs.map +0 -1
  47. package/dist/chunk-JF5MZTOU.cjs +0 -55
  48. package/dist/chunk-JF5MZTOU.cjs.map +0 -1
  49. package/dist/chunk-LUP3B2DK.js +0 -55
  50. package/dist/chunk-LUP3B2DK.js.map +0 -1
  51. package/dist/chunk-O55PTKMV.js +0 -4
  52. package/dist/chunk-O55PTKMV.js.map +0 -1
  53. package/dist/chunk-UAL4YXRX.js +0 -2
  54. package/dist/chunk-UAL4YXRX.js.map +0 -1
  55. package/dist/types-ChF690kY.d.cts +0 -88
  56. package/dist/types-ChF690kY.d.ts +0 -88
  57. package/dist/visualization-LZ4XZPYZ.cjs +0 -2
  58. package/dist/visualization-LZ4XZPYZ.cjs.map +0 -1
  59. package/dist/visualization-SV4BTHXJ.js +0 -2
  60. /package/dist/{visualization-SV4BTHXJ.js.map → visualization-MOYO6MDN.js.map} +0 -0
@@ -1,57 +1,44 @@
1
- import { C as ComputeConfig, a as RhinoModelUnit } from './types-ChF690kY.cjs';
1
+ import { C as ComputeConfig, a as RhinoModelUnit } from './types-BGhtYxZ-.js';
2
2
  import { RhinoModule } from 'rhino3dm';
3
3
 
4
- /**
5
- * Grasshopper types
6
- */
7
-
8
- /**
9
- * Grasshopper-style data tree branch path
10
- * @example "{0}", "{0;0}", "{0;1;2}"
11
- */
12
4
  type DataTreePath = `{${string}}`;
13
- /**
14
- * Represents a data item in a data tree
15
- */
16
5
  interface DataItem {
17
- /** The type of the data, inferred from the Grasshopper GOO class */
18
6
  type: string;
19
- /** The actual returned data as a string that may need to be parsed */
20
7
  data: string;
21
- /** The grasshopper refrence id of the output */
22
8
  id: string;
23
9
  }
24
- /**
25
- * Grasshopper-style data tree for input defaults
26
- * @example
27
- * ```typescript
28
- * const numericTree: DataTreeDefault<number> = {
29
- * "{0}": [1, 2, 3],
30
- * "{0;0}": [4, 5],
31
- * "{1}": [6]
32
- * };
33
- * ```
34
- */
35
10
  type DataTreeDefault<T = any> = {
36
11
  [K in DataTreePath]?: T[];
37
12
  };
38
- /**
39
- * Data structure for InnerTreeData matching Rhino Compute responses
40
- */
41
13
  type InnerTreeData = {
42
14
  [path in DataTreePath]: DataItem[];
43
15
  };
44
16
  /**
45
- * Tree with parameter metadata (used in compute responses)
17
+ * Tree with parameter metadata (used in compute requests and responses).
18
+ *
19
+ * Field casing varies by server branch: stock mcneel compute (8.x/9.x)
20
+ * serializes `Resthopper.IO.DataTree` in PascalCase (`ParamName`/`InnerTree`
21
+ * — the C# class carries no `[JsonProperty]` attributes), while
22
+ * camelCase-serializing forks return `paramName`/`innerTree` instead. This
23
+ * client always *sends* PascalCase (see `DataTree.toCompute()` in
24
+ * `data-tree.ts`), so the PascalCase fields remain the canonical/required
25
+ * shape; the optional camelCase fields exist so responses from camelCase
26
+ * forks are representable without casts. Code that must read trees across
27
+ * both server families should use `readField`/`hasField`
28
+ * (`@/core/utils/read-field`, case-insensitive) rather than direct property
29
+ * access — `warnOnEmptyInnerTrees` in `solve.ts` is the reference example.
46
30
  */
47
31
  interface DataTree {
32
+ /** PascalCase — stock mcneel servers, and the request shape this client sends. */
48
33
  InnerTree: InnerTreeData;
34
+ /** PascalCase — stock mcneel servers, and the request shape this client sends. */
49
35
  ParamName: string;
36
+ /** camelCase — sent instead of `InnerTree` by camelCase server forks. */
37
+ innerTree?: InnerTreeData;
38
+ /** camelCase — sent instead of `ParamName` by camelCase server forks. */
39
+ paramName?: string;
50
40
  }
51
- /**
52
- * Output types supported from Grasshopper/Rhino Compute
53
- */
54
- type OutputType = 'System.String' | 'System.Double' | 'System.Int32' | 'System.Boolean' | 'Rhino.Geometry.Point3d' | 'Rhino.Geometry.Line' | 'Rhino.Geometry.Circle' | 'Rhino.Geometry.Arc' | 'Rhino.Geometry.NurbsCurve' | 'Rhino.Geometry.Brep' | 'Rhino.Geometry.Mesh' | 'Rhino.Geometry.Vector3d' | 'Rhino.Geometry.Plane' | 'Rhino.Geometry.Box' | string;
41
+ type OutputType = 'System.String' | 'System.Double' | 'System.Int32' | 'System.Boolean' | 'Rhino.Geometry.Point3d' | 'Rhino.Geometry.Line' | 'Rhino.Geometry.Circle' | 'Rhino.Geometry.Arc' | 'Rhino.Geometry.NurbsCurve' | 'Rhino.Geometry.Brep' | 'Rhino.Geometry.Mesh' | 'Rhino.Geometry.Vector3d' | 'Rhino.Geometry.Plane' | 'Rhino.Geometry.Box' | (string & {});
55
42
  /**
56
43
  * Union type for all possible default value types
57
44
  */
@@ -207,18 +194,34 @@ interface GrasshopperRequestSchema extends GrasshopperBaseSchema, GrasshopperDef
207
194
  /**
208
195
  * Response from Grasshopper compute server
209
196
  * Includes all schema fields + computed results
197
+ *
198
+ * `pointer` is deliberately excluded (`Omit`): the solve layer (`runSolve` in
199
+ * `solve.ts`) splits the server's echoed `pointer` off as the solve's
200
+ * `cacheKey` and strips it from the returned response, so client-returned
201
+ * responses never carry it.
202
+ *
203
+ * The schema-echo fields (`cachesolve`/`modelunits`/`dataversion`) stay
204
+ * optional as inherited from {@link GrasshopperBaseSchema}: the server echoes
205
+ * them back when set, but nothing client-side enforces their presence — don't
206
+ * rely on them without a fallback.
210
207
  */
211
- interface GrasshopperComputeResponse extends GrasshopperBaseSchema, GrasshopperDefinitionSource {
212
- /** Whether cache was used (always present in response) */
213
- cachesolve: boolean;
214
- /** Model units (always present in response) */
208
+ interface GrasshopperComputeResponse extends GrasshopperBaseSchema, Omit<GrasshopperDefinitionSource, 'pointer'> {
209
+ /**
210
+ * Model units the definition was solved in. Every conforming server response
211
+ * carries this (it drives downstream scaling, e.g. the webdisplay parser),
212
+ * but note it is not validated client-side — a non-conforming server or
213
+ * hand-built mock may omit it at runtime.
214
+ */
215
215
  modelunits: RhinoModelUnit;
216
- /** Base64 encoded algorithm (always present in response) */
217
- algo: string;
216
+ /**
217
+ * The server echoes the request's full base64 definition back as `algo`, but the client strips
218
+ * it before returning — retaining it would pin a multi-MB copy of the definition per response,
219
+ * multiplied by every cache that holds responses. Always `undefined` on client-returned
220
+ * responses (inherited optional field from {@link GrasshopperDefinitionSource}).
221
+ */
222
+ algo?: string | null;
218
223
  /** Filename of the definition (always present in response) */
219
224
  filename: string | null;
220
- /** Data version */
221
- dataversion: 7 | 8;
222
225
  /** Recursion level used */
223
226
  recursionlevel?: number;
224
227
  /** Output values organized by parameter */
@@ -327,14 +330,9 @@ interface GrasshopperParsedIO {
327
330
  }
328
331
 
329
332
  /**
330
- * Non-mesh display items: curves, points, and later labels/icons.
331
- *
332
- * These ride as JSON inside a {@link DisplayBatch} alongside the binary mesh blob — they are a
333
- * separate pipeline from the SLVA mesh path in `../webdisplay`. Curves arrive as Rhino-native JSON
334
- * (decoded via rhino3dm and tessellated on the web); points arrive as raw `{X,Y,Z}` positions.
335
- *
336
- * The union is STRICT and discriminated on `kind`. The parser narrows on it and uses a
337
- * `never`-exhaustiveness check, so adding a new kind is a compile error until it is handled.
333
+ * Non-mesh display items: curves and points. Ride as JSON inside {@link DisplayBatch} alongside
334
+ * the binary mesh blob. The union is STRICT and discriminated on `kind`; the parser uses a
335
+ * `never`-exhaustiveness check, so adding a new kind is a compile error until handled.
338
336
  */
339
337
  /**
340
338
  * Identity + tagging shared by every display thing — meshes (via an adapter over `MeshMetadata`)
@@ -362,7 +360,10 @@ interface DisplayItemBase extends DisplayIdentity {
362
360
  /** Opacity 0–1. Omitted means fully opaque. */
363
361
  opacity?: number;
364
362
  }
365
- /** A world position in Rhino's Z-up frame, in Rhino's `{X,Y,Z}` casing. Rotated to Three on parse. */
363
+ /**
364
+ * A world position in Rhino's Z-up frame, in Rhino's `{X,Y,Z}` casing. Used unchanged on parse —
365
+ * the Three scene IS Rhino's Z-up frame, so no rotation is applied (see `../coordinate-transform.ts`).
366
+ */
366
367
  interface DisplayPosition {
367
368
  X: number;
368
369
  Y: number;
@@ -385,7 +386,7 @@ interface DisplayCurve extends DisplayItemBase {
385
386
  /** A single point, shipped raw (no rhino3dm decode), rendered as one vertex of a `THREE.Points`. */
386
387
  interface DisplayPoint extends DisplayItemBase {
387
388
  kind: 'point';
388
- /** World position in Rhino Z-up; the shared Rhino→Three transform is applied on parse. */
389
+ /** World position in Rhino Z-up, used directly — the Three scene shares Rhino's Z-up frame. */
389
390
  position: DisplayPosition;
390
391
  }
391
392
  /**
@@ -404,16 +405,29 @@ interface SerializableMaterial {
404
405
  roughness: number;
405
406
  opacity: number;
406
407
  transparent: boolean;
408
+ /**
409
+ * Optional color-map texture reference: an http(s) URL, a data URI, or a plugin asset URL
410
+ * (`http://localhost:{port}/assets/{hash}`). Absent for untextured materials — the field is
411
+ * omitted from JSON entirely, so pre-texture payloads are unchanged. When set, the mesh blob
412
+ * also carries per-vertex UVs (FLAG_HAS_UVS) for meshes using this material.
413
+ */
414
+ map?: string;
407
415
  }
408
416
  /**
409
417
  * Metadata for a single mesh within a batch.
410
418
  *
411
419
  * Offsets and counts are expressed in **vertex-count units** (not float components) and
412
- * **index-count units**. To address the typed-array storage:
413
- * - vertex component offset = `vertexStart * 3`
414
- * - vertex component count = `vertexCount * 3`
415
- * - index byte offset = `indexStart * 4`
416
- * - index count = `indexCount`
420
+ * **index-count units** — i.e. element offsets into the decoded typed arrays, which is how
421
+ * consumers address them (`indices.subarray(indexStart, indexStart + indexCount)`). To address
422
+ * the typed-array storage:
423
+ * - vertex component offset = `vertexStart * 3`
424
+ * - vertex component count = `vertexCount * 3`
425
+ * - index element offset = `indexStart`
426
+ * - index count = `indexCount`
427
+ *
428
+ * If you need *byte* offsets, multiply by the element size, which depends on the blob's flags:
429
+ * indices are 2 bytes each for `FLAG_UINT16_INDICES` (wire v2+) blobs and 4 bytes for uint32
430
+ * blobs; vertex components are 2 bytes (int16 quantized) or 4 bytes (`FLAG_FLOAT32`).
417
431
  */
418
432
  interface MeshMetadata {
419
433
  name: string;
@@ -456,11 +470,8 @@ interface MaterialGroup {
456
470
  * later labels/icons) also travel — those ride as JSON alongside the mesh blob, not inside it.
457
471
  */
458
472
  interface DisplayBatch {
459
- /** Array of unique materials */
460
473
  materials: SerializableMaterial[];
461
- /** Groups of meshes organized by material */
462
474
  groups: MaterialGroup[];
463
- /** Base64-encoded binary blob (SLVA wire format). */
464
475
  compressedData: string;
465
476
  /** InstanceGuid of the WebDisplay GH component that produced this batch.
466
477
  * Combined with MeshMetadata.originalIndex to backtrack any mesh to its GH source. */
@@ -478,16 +489,37 @@ interface DisplayBatch {
478
489
  * This alias keeps existing imports compiling; remove it once consumers migrate.
479
490
  */
480
491
  type MeshBatch = DisplayBatch;
481
- /**
482
- * Options for parsing mesh batch data.
483
- */
484
492
  interface MeshBatchParsingOptions {
485
- /** Merge meshes with same material into single geometry (better performance). Defaults to true. */
493
+ /** Merge meshes with same material into single geometry. Defaults to true. */
486
494
  mergeByMaterial?: boolean;
487
- /** Apply coordinate system transformations (Rhino Z-up to Three.js Y-up). Defaults to true. */
495
+ /** Apply coordinate system transformations. Defaults to true. */
488
496
  applyTransforms?: boolean;
489
- /** Enable performance monitoring in console. Defaults to false. */
497
+ /** Enable performance monitoring. Defaults to false. */
490
498
  debug?: boolean;
499
+ /**
500
+ * Appearance dials applied to every material built from this batch. These drive how "studio"
501
+ * vs "matte technical" the meshes look; they are set once at parse time (materials are rebuilt
502
+ * per solve). Runtime restyling of an already-built scene lives in the viewer's `setLook`.
503
+ */
504
+ material?: MaterialAppearanceOptions;
505
+ }
506
+ /**
507
+ * How compute meshes read visually. Bundled so a caller can pick a coherent look ('technical' vs
508
+ * 'rendered') by setting all three together rather than dialing each in isolation.
509
+ */
510
+ interface MaterialAppearanceOptions {
511
+ /**
512
+ * Multiplier on the HDR image-based-lighting reflection strength. ~0.5 reads matte/technical,
513
+ * ~1.3 reads glossy/presentation. Default 1 (three.js's own default — unchanged look).
514
+ */
515
+ envMapIntensity?: number;
516
+ /**
517
+ * Cull back faces (`THREE.FrontSide`) instead of rendering both sides (`THREE.DoubleSide`).
518
+ * FrontSide gives cleaner interior shading, a crisper silhouette, and less overdraw on closed
519
+ * solids — but open surfaces (which Rhino also emits) then vanish when viewed from behind.
520
+ * Default false (keep DoubleSide) to stay safe for surface geometry.
521
+ */
522
+ cullBackfaces?: boolean;
491
523
  }
492
524
  /**
493
525
  * Options for extracting and processing meshes from compute responses.
@@ -508,4 +540,4 @@ interface MeshExtractionOptions {
508
540
  debug?: boolean;
509
541
  }
510
542
 
511
- export type { BooleanInputType as B, DataItem as D, FileInputType as F, GeometryInputType as G, InnerTreeData as I, MeshExtractionOptions as M, NumericInputType as N, OutputParamSchema as O, TextInputType as T, ValueListInputType as V, DataTree as a, DataTreeDefault as b, DataTreePath as c, DefaultValue as d, GrasshopperComputeConfig as e, GrasshopperComputeResponse as f, GrasshopperParsedIO as g, GrasshopperParsedIORaw as h, GrasshopperRequestSchema as i, InputParam as j, InputParamSchema as k, OutputType as l, MeshBatchParsingOptions as m, DisplayBatch as n, DisplayItem as o, DisplayCurve as p, DisplayIdentity as q, DisplayItemBase as r, DisplayPoint as s, DisplayPosition as t, MeshBatch as u };
543
+ export type { BooleanInputType as B, DataItem as D, FileInputType as F, GeometryInputType as G, InnerTreeData as I, MaterialAppearanceOptions as M, NumericInputType as N, OutputParamSchema as O, TextInputType as T, ValueListInputType as V, DataTree as a, DataTreeDefault as b, DataTreePath as c, DefaultValue as d, GrasshopperComputeConfig as e, GrasshopperComputeResponse as f, GrasshopperParsedIO as g, GrasshopperParsedIORaw as h, GrasshopperRequestSchema as i, InputParam as j, InputParamSchema as k, OutputType as l, MeshExtractionOptions as m, MeshBatchParsingOptions as n, DisplayBatch as o, DisplayItem as p, DisplayCurve as q, DisplayIdentity as r, DisplayItemBase as s, DisplayPoint as t, DisplayPosition as u, MeshBatch as v };
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7XMD5YXPcjs = require('./chunk-7XMD5YXP.cjs');require('./chunk-CUQQ3ZBV.cjs');exports.BINARY_MESH_MAGIC = _chunk7XMD5YXPcjs.x; exports.BINARY_MESH_VERSION = _chunk7XMD5YXPcjs.z; exports.COMPRESSED_MESH_MAGIC = _chunk7XMD5YXPcjs.y; exports.EDGE_USERDATA_KIND = _chunk7XMD5YXPcjs.i; exports.FLAG_DELTA_ENCODED = _chunk7XMD5YXPcjs.D; exports.FLAG_FLOAT32 = _chunk7XMD5YXPcjs.B; exports.FLAG_HAS_UVS = _chunk7XMD5YXPcjs.E; exports.FLAG_HAS_VERTEX_COLORS = _chunk7XMD5YXPcjs.F; exports.FLAG_UINT16_INDICES = _chunk7XMD5YXPcjs.C; exports.LOOKS = _chunk7XMD5YXPcjs.v; exports.MIN_SUPPORTED_VERSION = _chunk7XMD5YXPcjs.A; exports.Materials = _chunk7XMD5YXPcjs.a; exports.SCALE_FACTORS = _chunk7XMD5YXPcjs.M; exports.TEXTURE_CACHE_MAX_ENTRIES = _chunk7XMD5YXPcjs.q; exports.UV_FORMAT_FLOAT32 = _chunk7XMD5YXPcjs.H; exports.UV_FORMAT_UINT16 = _chunk7XMD5YXPcjs.G; exports.addEdges = _chunk7XMD5YXPcjs.j; exports.applyOffset = _chunk7XMD5YXPcjs.d; exports.clearTextureCache = _chunk7XMD5YXPcjs.s; exports.computeCombinedBoundingBox = _chunk7XMD5YXPcjs.e; exports.createCameraController = _chunk7XMD5YXPcjs.f; exports.createGrid = _chunk7XMD5YXPcjs.g; exports.createLabelLayer = _chunk7XMD5YXPcjs.n; exports.createMeasureTool = _chunk7XMD5YXPcjs.p; exports.createRenderPipeline = _chunk7XMD5YXPcjs.m; exports.createViewGizmo = _chunk7XMD5YXPcjs.h; exports.getThreeMeshesFromComputeResponse = _chunk7XMD5YXPcjs.N; exports.initThree = _chunk7XMD5YXPcjs.u; exports.isEdgeOverlay = _chunk7XMD5YXPcjs.k; exports.materialAppearanceForLook = _chunk7XMD5YXPcjs.t; exports.parseBinaryMeshBatch = _chunk7XMD5YXPcjs.I; exports.parseColor = _chunk7XMD5YXPcjs.c; exports.parseDisplayItems = _chunk7XMD5YXPcjs.w; exports.parseMeshBatch = _chunk7XMD5YXPcjs.J; exports.parseMeshBatchBlob = _chunk7XMD5YXPcjs.L; exports.parseMeshBatchObject = _chunk7XMD5YXPcjs.K; exports.removeEdges = _chunk7XMD5YXPcjs.l; exports.setTextureAnisotropy = _chunk7XMD5YXPcjs.r; exports.snapToVertex = _chunk7XMD5YXPcjs.o; exports.updateScene = _chunk7XMD5YXPcjs.b;
2
+ //# sourceMappingURL=visualization-4RSUYQG2.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["d:\\Coding\\selva-compute\\dist\\visualization-4RSUYQG2.cjs"],"names":[],"mappings":"AAAA,iIAAoT,gCAA6B,k5DAA24B","file":"D:\\Coding\\selva-compute\\dist\\visualization-4RSUYQG2.cjs"}
@@ -0,0 +1,2 @@
1
+ import{A as L,B as S,C as I,D as R,E as D,F as B,G,H as P,I as u,J as F,K as b,L as N,M as V,N as U,a as e,b as r,c as o,d as t,e as a,f as s,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 C,p as d,q as h,r as E,s as M,t as _,u as O,v as c,w as A,x as g,y as T,z as j}from"./chunk-PX2YTSHJ.js";import"./chunk-WPB2LKCD.js";export{g as BINARY_MESH_MAGIC,j as BINARY_MESH_VERSION,T as COMPRESSED_MESH_MAGIC,n as EDGE_USERDATA_KIND,R as FLAG_DELTA_ENCODED,S as FLAG_FLOAT32,D as FLAG_HAS_UVS,B as FLAG_HAS_VERTEX_COLORS,I as FLAG_UINT16_INDICES,c as LOOKS,L as MIN_SUPPORTED_VERSION,e as Materials,V as SCALE_FACTORS,h as TEXTURE_CACHE_MAX_ENTRIES,P as UV_FORMAT_FLOAT32,G as UV_FORMAT_UINT16,m as addEdges,t as applyOffset,M as clearTextureCache,a as computeCombinedBoundingBox,s as createCameraController,p as createGrid,x as createLabelLayer,d as createMeasureTool,y as createRenderPipeline,i as createViewGizmo,U as getThreeMeshesFromComputeResponse,O as initThree,l as isEdgeOverlay,_ as materialAppearanceForLook,u as parseBinaryMeshBatch,o as parseColor,A as parseDisplayItems,F as parseMeshBatch,N as parseMeshBatchBlob,b as parseMeshBatchObject,f as removeEdges,E as setTextureAnisotropy,C as snapToVertex,r as updateScene};
2
+ //# sourceMappingURL=visualization-MOYO6MDN.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJF5MZTOUcjs = require('./chunk-JF5MZTOU.cjs');require('./chunk-6LCAIDQV.cjs');exports.EDGE_USERDATA_KIND = _chunkJF5MZTOUcjs.h; exports.Materials = _chunkJF5MZTOUcjs.q; exports.SCALE_FACTORS = _chunkJF5MZTOUcjs.z; exports.addEdges = _chunkJF5MZTOUcjs.i; exports.applyOffset = _chunkJF5MZTOUcjs.c; exports.computeCombinedBoundingBox = _chunkJF5MZTOUcjs.d; exports.createCameraController = _chunkJF5MZTOUcjs.e; exports.createGrid = _chunkJF5MZTOUcjs.f; exports.createLabelLayer = _chunkJF5MZTOUcjs.m; exports.createMeasureTool = _chunkJF5MZTOUcjs.o; exports.createRenderPipeline = _chunkJF5MZTOUcjs.l; exports.createViewGizmo = _chunkJF5MZTOUcjs.g; exports.getThreeMeshesFromComputeResponse = _chunkJF5MZTOUcjs.A; exports.initThree = _chunkJF5MZTOUcjs.p; exports.isEdgeOverlay = _chunkJF5MZTOUcjs.j; exports.parseColor = _chunkJF5MZTOUcjs.b; exports.parseDisplayItems = _chunkJF5MZTOUcjs.r; exports.parseMeshBatchBlob = _chunkJF5MZTOUcjs.y; exports.parseMeshBatchObject = _chunkJF5MZTOUcjs.x; exports.removeEdges = _chunkJF5MZTOUcjs.k; exports.snapToVertex = _chunkJF5MZTOUcjs.n; exports.updateScene = _chunkJF5MZTOUcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7XMD5YXPcjs = require('./chunk-7XMD5YXP.cjs');require('./chunk-CUQQ3ZBV.cjs');exports.EDGE_USERDATA_KIND = _chunk7XMD5YXPcjs.i; exports.LOOKS = _chunk7XMD5YXPcjs.v; exports.Materials = _chunk7XMD5YXPcjs.a; exports.SCALE_FACTORS = _chunk7XMD5YXPcjs.M; exports.addEdges = _chunk7XMD5YXPcjs.j; exports.applyOffset = _chunk7XMD5YXPcjs.d; exports.computeCombinedBoundingBox = _chunk7XMD5YXPcjs.e; exports.createCameraController = _chunk7XMD5YXPcjs.f; exports.createGrid = _chunk7XMD5YXPcjs.g; exports.createLabelLayer = _chunk7XMD5YXPcjs.n; exports.createMeasureTool = _chunk7XMD5YXPcjs.p; exports.createRenderPipeline = _chunk7XMD5YXPcjs.m; exports.createViewGizmo = _chunk7XMD5YXPcjs.h; exports.getThreeMeshesFromComputeResponse = _chunk7XMD5YXPcjs.N; exports.initThree = _chunk7XMD5YXPcjs.u; exports.isEdgeOverlay = _chunk7XMD5YXPcjs.k; exports.parseColor = _chunk7XMD5YXPcjs.c; exports.parseDisplayItems = _chunk7XMD5YXPcjs.w; exports.parseMeshBatchBlob = _chunk7XMD5YXPcjs.L; exports.parseMeshBatchObject = _chunk7XMD5YXPcjs.K; exports.removeEdges = _chunk7XMD5YXPcjs.l; exports.snapToVertex = _chunk7XMD5YXPcjs.o; exports.updateScene = _chunk7XMD5YXPcjs.b;
2
2
  //# sourceMappingURL=visualization.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/selva-compute/selva-compute/dist/visualization.cjs"],"names":[],"mappings":"AAAA,iIAA2L,gCAA6B,khCAA+d","file":"/home/runner/work/selva-compute/selva-compute/dist/visualization.cjs"}
1
+ {"version":3,"sources":["d:\\Coding\\selva-compute\\dist\\visualization.cjs"],"names":[],"mappings":"AAAA,iIAAkM,gCAA6B,ujCAA0e","file":"D:\\Coding\\selva-compute\\dist\\visualization.cjs"}