@selvajs/compute 3.1.0-beta.5 → 3.1.0-beta.6

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 (51) hide show
  1. package/dist/chunk-727SRM4E.cjs +62 -0
  2. package/dist/chunk-727SRM4E.cjs.map +1 -0
  3. package/dist/{chunk-GF6ZIJWX.cjs → chunk-CUQQ3ZBV.cjs} +1 -1
  4. package/dist/chunk-CUQQ3ZBV.cjs.map +1 -0
  5. package/dist/chunk-CWODTGNH.js +62 -0
  6. package/dist/chunk-CWODTGNH.js.map +1 -0
  7. package/dist/{chunk-PJATLYMU.js → chunk-JNFNLKFO.js} +2 -2
  8. package/dist/chunk-JNFNLKFO.js.map +1 -0
  9. package/dist/{chunk-54O6BO24.js → chunk-WPB2LKCD.js} +1 -1
  10. package/dist/chunk-WPB2LKCD.js.map +1 -0
  11. package/dist/{chunk-7KFBCOZM.cjs → chunk-Y5E6RIEH.cjs} +2 -2
  12. package/dist/{chunk-7KFBCOZM.cjs.map → chunk-Y5E6RIEH.cjs.map} +1 -1
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.d.cts +3 -3
  15. package/dist/core.d.ts +3 -3
  16. package/dist/core.js +1 -1
  17. package/dist/grasshopper.cjs +1 -1
  18. package/dist/grasshopper.d.cts +8 -18
  19. package/dist/grasshopper.d.ts +8 -18
  20. package/dist/grasshopper.js +1 -1
  21. package/dist/{handle-files-DMnx92gr.d.ts → handle-files-BISo_wob.d.cts} +17 -69
  22. package/dist/{handle-files-DMnx92gr.d.cts → handle-files-BISo_wob.d.ts} +17 -69
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.d.cts +3 -3
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +1 -1
  27. package/dist/types-BGhtYxZ-.d.cts +45 -0
  28. package/dist/types-BGhtYxZ-.d.ts +45 -0
  29. package/dist/{types-DuOh5XqS.d.ts → types-C8XWc4Ab.d.cts} +9 -56
  30. package/dist/{types-Ci8Z0-hF.d.cts → types-Dtok-mVq.d.ts} +9 -56
  31. package/dist/visualization-36IV2CVU.cjs +2 -0
  32. package/dist/visualization-36IV2CVU.cjs.map +1 -0
  33. package/dist/visualization-QCI36RHC.js +2 -0
  34. package/dist/visualization.cjs +1 -1
  35. package/dist/visualization.d.cts +91 -49
  36. package/dist/visualization.d.ts +91 -49
  37. package/dist/visualization.js +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-54O6BO24.js.map +0 -1
  40. package/dist/chunk-EZRBMUXT.cjs +0 -62
  41. package/dist/chunk-EZRBMUXT.cjs.map +0 -1
  42. package/dist/chunk-GF6ZIJWX.cjs.map +0 -1
  43. package/dist/chunk-ORGJSKR4.js +0 -62
  44. package/dist/chunk-ORGJSKR4.js.map +0 -1
  45. package/dist/chunk-PJATLYMU.js.map +0 -1
  46. package/dist/types-C9YpTbr3.d.cts +0 -121
  47. package/dist/types-C9YpTbr3.d.ts +0 -121
  48. package/dist/visualization-C3YOGQTW.js +0 -2
  49. package/dist/visualization-CERJ6XDX.cjs +0 -2
  50. package/dist/visualization-CERJ6XDX.cjs.map +0 -1
  51. /package/dist/{visualization-C3YOGQTW.js.map → visualization-QCI36RHC.js.map} +0 -0
@@ -302,9 +302,6 @@ declare class ComputeServerStats {
302
302
  private ensureNotDisposed;
303
303
  }
304
304
 
305
- /**
306
- * Error types and codes for `@selvajs/compute`.
307
- */
308
305
  declare const ErrorCodes: {
309
306
  readonly NETWORK_ERROR: "NETWORK_ERROR";
310
307
  readonly AUTH_ERROR: "AUTH_ERROR";
@@ -385,102 +382,53 @@ declare class RhinoComputeError extends Error {
385
382
  }
386
383
 
387
384
  /**
388
- * Represents raw file data from Grasshopper/Rhino Compute response.
389
- *
390
- * This type encapsulates file output from compute operations, with metadata
391
- * for processing (decoding, naming, organization). Files are typically combined
392
- * with additional files and packaged into a ZIP archive for download.
393
- *
394
- * @see {@link ProcessedFile} for the normalized format after processing
385
+ * Raw file data from Grasshopper/Rhino Compute response, with metadata for processing.
386
+ * Files are typically combined with additional files and packaged into a ZIP archive.
395
387
  * @see {@link extractFilesFromComputeResponse} for extraction from compute responses
396
388
  */
397
389
  type FileData = {
398
390
  /** Base filename without extension (e.g., "model") */
399
391
  fileName: string;
400
- /** File content as a base64-encoded or plain string, depending on {@link FileData.isBase64Encoded} */
392
+ /** File content, base64-encoded or plain string depending on isBase64Encoded flag */
401
393
  data: string;
402
- /** File extension including the dot (e.g., ".3dm", ".json"). Appended to {@link FileData.fileName} to create the full filename */
394
+ /** File extension including the dot (e.g., ".3dm", ".json"). Appended to fileName to create the full filename */
403
395
  fileType: string;
404
- /** Whether {@link FileData.data} is base64-encoded. If true, must be decoded to binary before use. If false, can be used as a plain text string */
396
+ /** Whether data is base64-encoded. If true, must be decoded to binary before use */
405
397
  isBase64Encoded: boolean;
406
- /** Directory path for organizing the file in archive structures (e.g., ZIP). Typically empty string for root-level files, or a path like "subfolder/nested" */
398
+ /** Directory path for archive organization (e.g., "subfolder/nested"). Empty string for root-level files */
407
399
  subFolder: string;
408
- /** Arbitrary user-supplied metadata (e.g. tags, indexing keys) attached in Grasshopper. Not interpreted by compute; passed through for downstream consumers. May be absent on older payloads. */
400
+ /** Arbitrary metadata attached in Grasshopper. Not interpreted by compute; passed through for downstream consumers. May be absent on older payloads */
409
401
  metadata?: Record<string, string>;
410
402
  };
411
403
  /**
412
- * Represents a normalized, processed file ready for consumption or archival.
413
- *
414
- * This is the unified intermediate format produced by processing both {@link FileData}
415
- * and {@link FileBaseInfo}. Files in this format are ready to be packaged into archives
416
- * (e.g., ZIP files) or returned to callers for programmatic use.
417
- *
418
- * @see {@link FileData} for raw compute response files
419
- * @see {@link FileBaseInfo} for external file references
404
+ * Normalized file ready for consumption or archival.
405
+ * Unified intermediate format from FileData or FileBaseInfo, ready to be packaged into archives or returned to callers.
420
406
  */
421
407
  type ProcessedFile = {
422
408
  /** Full filename including extension (e.g., "model.3dm") */
423
409
  fileName: string;
424
- /** File content as either binary data or text. Binary format (Uint8Array) is used for decoded base64 or fetched binary files; text format is used for plain text content */
410
+ /** File content as binary data (Uint8Array for decoded base64 or fetched binary) or text */
425
411
  content: Uint8Array | string;
426
- /** File path for archive organization (e.g., "subfolder/model.3dm"). Used when creating ZIP archives or other hierarchical structures */
412
+ /** File path for archive organization (e.g., "subfolder/model.3dm") */
427
413
  path: string;
428
414
  };
429
415
  /**
430
- * Represents a reference to an external file to be included in file operations.
431
- *
432
- * This type is used to specify additional files (beyond compute response files)
433
- * that should be fetched and included when processing files. The file is fetched
434
- * from the provided URL and processed as a {@link ProcessedFile}.
435
- *
436
- *
437
- * @see {@link FileData} for files from compute responses
438
- * @see {@link fetchRemoteFiles} for how FileBaseInfo is processed (fetched and converted)
416
+ * Reference to an external file to be fetched and included in file operations.
417
+ * Specifies additional files (beyond compute response files) to fetch and process as ProcessedFile.
418
+ * @see {@link fetchRemoteFiles} for how FileBaseInfo is fetched and converted
439
419
  */
440
420
  type FileBaseInfo = {
441
421
  /** Destination filename for the file in the archive or result set (e.g., "additional-data.json") */
442
422
  fileName: string;
443
423
  /** URL to fetch the file from. Must be accessible from the runtime environment */
444
424
  filePath: string;
445
- /** Optional directory path for organizing the fetched file in archive structures (e.g., "extras/docs"). When omitted, the file lands at the archive root. Sanitized the same way as {@link FileData.subFolder} */
425
+ /** Optional directory path for archive organization (e.g., "extras/docs"). When omitted, file lands at archive root */
446
426
  subFolder?: string;
447
427
  };
448
428
 
449
- /**
450
- * Extracts and processes files from compute response data without downloading them.
451
- * Returns an array of ProcessedFile objects that can be used programmatically.
452
- *
453
- * @param downloadableFiles - An array of FileData items from the compute response.
454
- * @param additionalFiles - Optional additional files to include (fetched from URLs).
455
- * @returns A Promise resolving to an array of ProcessedFile objects.
456
- * @throws Will throw an error if file processing fails.
457
- *
458
- * @example
459
- * const files = await extractFilesFromComputeResponse(fileData);
460
- * files.forEach(file => {
461
- * console.log(`File: ${file.fileName}, Size: ${file.content.length}`);
462
- * });
463
- */
429
+ /** Extracts and processes files from compute response data without downloading them. */
464
430
  declare const extractFilesFromComputeResponse: (downloadableFiles: FileData[], additionalFiles?: FileBaseInfo[] | FileBaseInfo | null) => Promise<ProcessedFile[]>;
465
- /**
466
- * Downloads files from a compute response as a ZIP archive.
467
- * Packages multiple files into a single ZIP file and triggers a browser download.
468
- *
469
- * @param downloadableFiles - An array of FileData items from the compute response.
470
- * @param fileFoldername - The name of the ZIP file (without extension).
471
- * @param additionalFiles - Optional additional files to include in the ZIP (fetched from URLs).
472
- * @throws Will throw an error if the file handling or download fails.
473
- *
474
- * @example
475
- * await downloadFileData(fileData, 'my-export');
476
- * // Downloads 'my-export.zip'
477
- *
478
- * @example
479
- * await downloadFileData(fileData, 'my-export', [
480
- * { fileName: 'readme.txt', filePath: 'https://example.com/readme.txt' }
481
- * ]);
482
- * // Downloads 'my-export.zip' including the fetched readme.txt
483
- */
431
+ /** Downloads files from a compute response as a ZIP archive. */
484
432
  declare const downloadFileData: (downloadableFiles: FileData[], fileFoldername: string, additionalFiles?: FileBaseInfo[] | FileBaseInfo | null) => Promise<void>;
485
433
 
486
434
  export { ComputeServerStats as C, type ErrorCode as E, type FileBaseInfo as F, type ProcessedFile as P, RhinoComputeError as R, ErrorCodes as a, type FileData as b, downloadFileData as d, extractFilesFromComputeResponse as e };
@@ -302,9 +302,6 @@ declare class ComputeServerStats {
302
302
  private ensureNotDisposed;
303
303
  }
304
304
 
305
- /**
306
- * Error types and codes for `@selvajs/compute`.
307
- */
308
305
  declare const ErrorCodes: {
309
306
  readonly NETWORK_ERROR: "NETWORK_ERROR";
310
307
  readonly AUTH_ERROR: "AUTH_ERROR";
@@ -385,102 +382,53 @@ declare class RhinoComputeError extends Error {
385
382
  }
386
383
 
387
384
  /**
388
- * Represents raw file data from Grasshopper/Rhino Compute response.
389
- *
390
- * This type encapsulates file output from compute operations, with metadata
391
- * for processing (decoding, naming, organization). Files are typically combined
392
- * with additional files and packaged into a ZIP archive for download.
393
- *
394
- * @see {@link ProcessedFile} for the normalized format after processing
385
+ * Raw file data from Grasshopper/Rhino Compute response, with metadata for processing.
386
+ * Files are typically combined with additional files and packaged into a ZIP archive.
395
387
  * @see {@link extractFilesFromComputeResponse} for extraction from compute responses
396
388
  */
397
389
  type FileData = {
398
390
  /** Base filename without extension (e.g., "model") */
399
391
  fileName: string;
400
- /** File content as a base64-encoded or plain string, depending on {@link FileData.isBase64Encoded} */
392
+ /** File content, base64-encoded or plain string depending on isBase64Encoded flag */
401
393
  data: string;
402
- /** File extension including the dot (e.g., ".3dm", ".json"). Appended to {@link FileData.fileName} to create the full filename */
394
+ /** File extension including the dot (e.g., ".3dm", ".json"). Appended to fileName to create the full filename */
403
395
  fileType: string;
404
- /** Whether {@link FileData.data} is base64-encoded. If true, must be decoded to binary before use. If false, can be used as a plain text string */
396
+ /** Whether data is base64-encoded. If true, must be decoded to binary before use */
405
397
  isBase64Encoded: boolean;
406
- /** Directory path for organizing the file in archive structures (e.g., ZIP). Typically empty string for root-level files, or a path like "subfolder/nested" */
398
+ /** Directory path for archive organization (e.g., "subfolder/nested"). Empty string for root-level files */
407
399
  subFolder: string;
408
- /** Arbitrary user-supplied metadata (e.g. tags, indexing keys) attached in Grasshopper. Not interpreted by compute; passed through for downstream consumers. May be absent on older payloads. */
400
+ /** Arbitrary metadata attached in Grasshopper. Not interpreted by compute; passed through for downstream consumers. May be absent on older payloads */
409
401
  metadata?: Record<string, string>;
410
402
  };
411
403
  /**
412
- * Represents a normalized, processed file ready for consumption or archival.
413
- *
414
- * This is the unified intermediate format produced by processing both {@link FileData}
415
- * and {@link FileBaseInfo}. Files in this format are ready to be packaged into archives
416
- * (e.g., ZIP files) or returned to callers for programmatic use.
417
- *
418
- * @see {@link FileData} for raw compute response files
419
- * @see {@link FileBaseInfo} for external file references
404
+ * Normalized file ready for consumption or archival.
405
+ * Unified intermediate format from FileData or FileBaseInfo, ready to be packaged into archives or returned to callers.
420
406
  */
421
407
  type ProcessedFile = {
422
408
  /** Full filename including extension (e.g., "model.3dm") */
423
409
  fileName: string;
424
- /** File content as either binary data or text. Binary format (Uint8Array) is used for decoded base64 or fetched binary files; text format is used for plain text content */
410
+ /** File content as binary data (Uint8Array for decoded base64 or fetched binary) or text */
425
411
  content: Uint8Array | string;
426
- /** File path for archive organization (e.g., "subfolder/model.3dm"). Used when creating ZIP archives or other hierarchical structures */
412
+ /** File path for archive organization (e.g., "subfolder/model.3dm") */
427
413
  path: string;
428
414
  };
429
415
  /**
430
- * Represents a reference to an external file to be included in file operations.
431
- *
432
- * This type is used to specify additional files (beyond compute response files)
433
- * that should be fetched and included when processing files. The file is fetched
434
- * from the provided URL and processed as a {@link ProcessedFile}.
435
- *
436
- *
437
- * @see {@link FileData} for files from compute responses
438
- * @see {@link fetchRemoteFiles} for how FileBaseInfo is processed (fetched and converted)
416
+ * Reference to an external file to be fetched and included in file operations.
417
+ * Specifies additional files (beyond compute response files) to fetch and process as ProcessedFile.
418
+ * @see {@link fetchRemoteFiles} for how FileBaseInfo is fetched and converted
439
419
  */
440
420
  type FileBaseInfo = {
441
421
  /** Destination filename for the file in the archive or result set (e.g., "additional-data.json") */
442
422
  fileName: string;
443
423
  /** URL to fetch the file from. Must be accessible from the runtime environment */
444
424
  filePath: string;
445
- /** Optional directory path for organizing the fetched file in archive structures (e.g., "extras/docs"). When omitted, the file lands at the archive root. Sanitized the same way as {@link FileData.subFolder} */
425
+ /** Optional directory path for archive organization (e.g., "extras/docs"). When omitted, file lands at archive root */
446
426
  subFolder?: string;
447
427
  };
448
428
 
449
- /**
450
- * Extracts and processes files from compute response data without downloading them.
451
- * Returns an array of ProcessedFile objects that can be used programmatically.
452
- *
453
- * @param downloadableFiles - An array of FileData items from the compute response.
454
- * @param additionalFiles - Optional additional files to include (fetched from URLs).
455
- * @returns A Promise resolving to an array of ProcessedFile objects.
456
- * @throws Will throw an error if file processing fails.
457
- *
458
- * @example
459
- * const files = await extractFilesFromComputeResponse(fileData);
460
- * files.forEach(file => {
461
- * console.log(`File: ${file.fileName}, Size: ${file.content.length}`);
462
- * });
463
- */
429
+ /** Extracts and processes files from compute response data without downloading them. */
464
430
  declare const extractFilesFromComputeResponse: (downloadableFiles: FileData[], additionalFiles?: FileBaseInfo[] | FileBaseInfo | null) => Promise<ProcessedFile[]>;
465
- /**
466
- * Downloads files from a compute response as a ZIP archive.
467
- * Packages multiple files into a single ZIP file and triggers a browser download.
468
- *
469
- * @param downloadableFiles - An array of FileData items from the compute response.
470
- * @param fileFoldername - The name of the ZIP file (without extension).
471
- * @param additionalFiles - Optional additional files to include in the ZIP (fetched from URLs).
472
- * @throws Will throw an error if the file handling or download fails.
473
- *
474
- * @example
475
- * await downloadFileData(fileData, 'my-export');
476
- * // Downloads 'my-export.zip'
477
- *
478
- * @example
479
- * await downloadFileData(fileData, 'my-export', [
480
- * { fileName: 'readme.txt', filePath: 'https://example.com/readme.txt' }
481
- * ]);
482
- * // Downloads 'my-export.zip' including the fetched readme.txt
483
- */
431
+ /** Downloads files from a compute response as a ZIP archive. */
484
432
  declare const downloadFileData: (downloadableFiles: FileData[], fileFoldername: string, additionalFiles?: FileBaseInfo[] | FileBaseInfo | null) => Promise<void>;
485
433
 
486
434
  export { ComputeServerStats as C, type ErrorCode as E, type FileBaseInfo as F, type ProcessedFile as P, RhinoComputeError as R, ErrorCodes as a, type FileData as b, downloadFileData as d, extractFilesFromComputeResponse as e };
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7KFBCOZMcjs = require('./chunk-7KFBCOZM.cjs');var _chunkGF6ZIJWXcjs = require('./chunk-GF6ZIJWX.cjs');exports.ComputeServerStats = _chunkGF6ZIJWXcjs.n; exports.ErrorCodes = _chunkGF6ZIJWXcjs.c; exports.GrasshopperClient = _chunk7KFBCOZMcjs.g; exports.GrasshopperResponseProcessor = _chunk7KFBCOZMcjs.h; exports.RhinoComputeError = _chunkGF6ZIJWXcjs.d; exports.SolveScheduler = _chunk7KFBCOZMcjs.f; exports.TreeBuilder = _chunk7KFBCOZMcjs.m; exports.camelcaseKeys = _chunkGF6ZIJWXcjs.p; exports.downloadFileData = _chunkGF6ZIJWXcjs.t; exports.enableDebugLogging = _chunkGF6ZIJWXcjs.g; exports.extractFilesFromComputeResponse = _chunkGF6ZIJWXcjs.s; exports.fetchDefinitionIO = _chunk7KFBCOZMcjs.k; exports.fetchParsedDefinitionIO = _chunk7KFBCOZMcjs.l; exports.fetchRhinoCompute = _chunkGF6ZIJWXcjs.l; exports.getLogger = _chunkGF6ZIJWXcjs.e; exports.hashDefinition = _chunk7KFBCOZMcjs.e; exports.hashSolveInput = _chunk7KFBCOZMcjs.d; exports.isDefinitionRef = _chunk7KFBCOZMcjs.a; exports.processInput = _chunk7KFBCOZMcjs.i; exports.processInputs = _chunk7KFBCOZMcjs.j; exports.setLogger = _chunkGF6ZIJWXcjs.f; exports.solveGrasshopperDefinition = _chunk7KFBCOZMcjs.b; exports.stableStringify = _chunk7KFBCOZMcjs.c; exports.toCamelCase = _chunkGF6ZIJWXcjs.o;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkY5E6RIEHcjs = require('./chunk-Y5E6RIEH.cjs');var _chunkCUQQ3ZBVcjs = require('./chunk-CUQQ3ZBV.cjs');exports.ComputeServerStats = _chunkCUQQ3ZBVcjs.n; exports.ErrorCodes = _chunkCUQQ3ZBVcjs.c; exports.GrasshopperClient = _chunkY5E6RIEHcjs.g; exports.GrasshopperResponseProcessor = _chunkY5E6RIEHcjs.h; exports.RhinoComputeError = _chunkCUQQ3ZBVcjs.d; exports.SolveScheduler = _chunkY5E6RIEHcjs.f; exports.TreeBuilder = _chunkY5E6RIEHcjs.m; exports.camelcaseKeys = _chunkCUQQ3ZBVcjs.p; exports.downloadFileData = _chunkCUQQ3ZBVcjs.t; exports.enableDebugLogging = _chunkCUQQ3ZBVcjs.g; exports.extractFilesFromComputeResponse = _chunkCUQQ3ZBVcjs.s; exports.fetchDefinitionIO = _chunkY5E6RIEHcjs.k; exports.fetchParsedDefinitionIO = _chunkY5E6RIEHcjs.l; exports.fetchRhinoCompute = _chunkCUQQ3ZBVcjs.l; exports.getLogger = _chunkCUQQ3ZBVcjs.e; exports.hashDefinition = _chunkY5E6RIEHcjs.e; exports.hashSolveInput = _chunkY5E6RIEHcjs.d; exports.isDefinitionRef = _chunkY5E6RIEHcjs.a; exports.processInput = _chunkY5E6RIEHcjs.i; exports.processInputs = _chunkY5E6RIEHcjs.j; exports.setLogger = _chunkCUQQ3ZBVcjs.f; exports.solveGrasshopperDefinition = _chunkY5E6RIEHcjs.b; exports.stableStringify = _chunkY5E6RIEHcjs.c; exports.toCamelCase = _chunkCUQQ3ZBVcjs.o;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, setLogger, toCamelCase } from './core.cjs';
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-DMnx92gr.cjs';
3
- export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-C9YpTbr3.cjs';
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
+ 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-Ci8Z0-hF.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-C8XWc4Ab.cjs';
6
6
  import 'three';
7
7
  import 'rhino3dm';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, setLogger, toCamelCase } from './core.js';
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-DMnx92gr.js';
3
- export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-C9YpTbr3.js';
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
+ 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-DuOh5XqS.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-Dtok-mVq.js';
6
6
  import 'three';
7
7
  import 'rhino3dm';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as d,b as g,c as h,d as i,e as j,f as k,g as l,h as n,i as q,j as s,k as u,l as v,m as w}from"./chunk-PJATLYMU.js";import{c as o,d as r,e,f,g as m,l as p,n as t,o as x,p as a,s as b,t as c}from"./chunk-54O6BO24.js";export{t as ComputeServerStats,o as ErrorCodes,l as GrasshopperClient,n as GrasshopperResponseProcessor,r as RhinoComputeError,k as SolveScheduler,w as TreeBuilder,a as camelcaseKeys,c as downloadFileData,m as enableDebugLogging,b as extractFilesFromComputeResponse,u as fetchDefinitionIO,v as fetchParsedDefinitionIO,p as fetchRhinoCompute,e as getLogger,j as hashDefinition,i as hashSolveInput,d as isDefinitionRef,q as processInput,s as processInputs,f as setLogger,g as solveGrasshopperDefinition,h as stableStringify,x as toCamelCase};
1
+ import{a as d,b as g,c as h,d as i,e as j,f as k,g as l,h as n,i as q,j as s,k as u,l as v,m as w}from"./chunk-JNFNLKFO.js";import{c as o,d as r,e,f,g as m,l as p,n as t,o as x,p as a,s as b,t as c}from"./chunk-WPB2LKCD.js";export{t as ComputeServerStats,o as ErrorCodes,l as GrasshopperClient,n as GrasshopperResponseProcessor,r as RhinoComputeError,k as SolveScheduler,w as TreeBuilder,a as camelcaseKeys,c as downloadFileData,m as enableDebugLogging,b as extractFilesFromComputeResponse,u as fetchDefinitionIO,v as fetchParsedDefinitionIO,p as fetchRhinoCompute,e as getLogger,j as hashDefinition,i as hashSolveInput,d as isDefinitionRef,q as processInput,s as processInputs,f as setLogger,g as solveGrasshopperDefinition,h as stableStringify,x as toCamelCase};
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,45 @@
1
+ type RhinoModelUnit = 'None' | 'Microns' | 'Millimeters' | 'Centimeters' | 'Meters' | 'Kilometers' | 'Microinches' | 'Mils' | 'Inches' | 'Feet' | 'Miles' | 'CustomUnits' | 'Angstroms' | 'Nanometers' | 'Decimeters' | 'Dekameters' | 'Hectometers' | 'Megameters' | 'Gigameters' | 'Yards' | 'PrinterPoints' | 'PrinterPicas' | 'NauticalMiles' | 'AstronomicalUnits' | 'LightYears' | 'Parsecs' | 'Unset';
2
+ interface RetryPolicy {
3
+ /** Maximum number of retry attempts after the initial request (default: 0). */
4
+ attempts?: number;
5
+ /** Base delay in milliseconds for exponential backoff (default: 500). */
6
+ baseDelayMs?: number;
7
+ /** Upper bound for backoff delay (default: 30_000). */
8
+ maxDelayMs?: number;
9
+ /** Whether to retry on 429 responses (default: true — honors Retry-After). */
10
+ retryOn429?: boolean;
11
+ }
12
+ interface ComputeConfig {
13
+ serverUrl: string;
14
+ /** Optional API key for authenticating with the server (RhinoComputeKey) */
15
+ apiKey?: string;
16
+ /** Optional Bearer token for authentication (e.g., when behind a proxy or API gateway) */
17
+ authToken?: string;
18
+ headers?: Record<string, string>;
19
+ /** Enable debug logging to the console */
20
+ debug?: boolean;
21
+ /** Suppress browser security warnings in the console */
22
+ suppressBrowserWarning?: boolean;
23
+ /** @deprecated Renamed to `suppressBrowserWarning`. */
24
+ suppressClientSideWarning?: boolean;
25
+ timeoutMs?: number;
26
+ /**
27
+ * Retry policy for transient errors. Default: no retries.
28
+ */
29
+ retry?: RetryPolicy;
30
+ /**
31
+ * Optional caller-supplied AbortSignal. Composes with the internal timeout —
32
+ * whichever fires first wins. Lets callers cancel in-flight requests
33
+ * (e.g. on component unmount or when superseding a stale solve).
34
+ */
35
+ signal?: AbortSignal;
36
+ onServerTiming?: (timing: ServerTiming, requestId: string) => void;
37
+ }
38
+ interface ServerTiming {
39
+ decode?: number;
40
+ solve?: number;
41
+ encode?: number;
42
+ raw: string;
43
+ }
44
+
45
+ export type { ComputeConfig as C, RetryPolicy as R, ServerTiming as S, RhinoModelUnit as a };
@@ -0,0 +1,45 @@
1
+ type RhinoModelUnit = 'None' | 'Microns' | 'Millimeters' | 'Centimeters' | 'Meters' | 'Kilometers' | 'Microinches' | 'Mils' | 'Inches' | 'Feet' | 'Miles' | 'CustomUnits' | 'Angstroms' | 'Nanometers' | 'Decimeters' | 'Dekameters' | 'Hectometers' | 'Megameters' | 'Gigameters' | 'Yards' | 'PrinterPoints' | 'PrinterPicas' | 'NauticalMiles' | 'AstronomicalUnits' | 'LightYears' | 'Parsecs' | 'Unset';
2
+ interface RetryPolicy {
3
+ /** Maximum number of retry attempts after the initial request (default: 0). */
4
+ attempts?: number;
5
+ /** Base delay in milliseconds for exponential backoff (default: 500). */
6
+ baseDelayMs?: number;
7
+ /** Upper bound for backoff delay (default: 30_000). */
8
+ maxDelayMs?: number;
9
+ /** Whether to retry on 429 responses (default: true — honors Retry-After). */
10
+ retryOn429?: boolean;
11
+ }
12
+ interface ComputeConfig {
13
+ serverUrl: string;
14
+ /** Optional API key for authenticating with the server (RhinoComputeKey) */
15
+ apiKey?: string;
16
+ /** Optional Bearer token for authentication (e.g., when behind a proxy or API gateway) */
17
+ authToken?: string;
18
+ headers?: Record<string, string>;
19
+ /** Enable debug logging to the console */
20
+ debug?: boolean;
21
+ /** Suppress browser security warnings in the console */
22
+ suppressBrowserWarning?: boolean;
23
+ /** @deprecated Renamed to `suppressBrowserWarning`. */
24
+ suppressClientSideWarning?: boolean;
25
+ timeoutMs?: number;
26
+ /**
27
+ * Retry policy for transient errors. Default: no retries.
28
+ */
29
+ retry?: RetryPolicy;
30
+ /**
31
+ * Optional caller-supplied AbortSignal. Composes with the internal timeout —
32
+ * whichever fires first wins. Lets callers cancel in-flight requests
33
+ * (e.g. on component unmount or when superseding a stale solve).
34
+ */
35
+ signal?: AbortSignal;
36
+ onServerTiming?: (timing: ServerTiming, requestId: string) => void;
37
+ }
38
+ interface ServerTiming {
39
+ decode?: number;
40
+ solve?: number;
41
+ encode?: number;
42
+ raw: string;
43
+ }
44
+
45
+ export type { ComputeConfig as C, RetryPolicy as R, ServerTiming as S, RhinoModelUnit as a };
@@ -1,43 +1,15 @@
1
- import { C as ComputeConfig, a as RhinoModelUnit } from './types-C9YpTbr3.js';
1
+ import { C as ComputeConfig, a as RhinoModelUnit } from './types-BGhtYxZ-.cjs';
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
  };
@@ -66,14 +38,6 @@ interface DataTree {
66
38
  /** camelCase — sent instead of `ParamName` by camelCase server forks. */
67
39
  paramName?: string;
68
40
  }
69
- /**
70
- * Output types supported from Grasshopper/Rhino Compute.
71
- *
72
- * The trailing `(string & {})` keeps the union open — servers can return any
73
- * GOO type name — without collapsing the whole union to `string` the way a
74
- * bare `| string` does, so the known literals keep driving autocomplete and
75
- * `Extract<>`-style narrowing.
76
- */
77
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 & {});
78
42
  /**
79
43
  * Union type for all possible default value types
@@ -366,14 +330,9 @@ interface GrasshopperParsedIO {
366
330
  }
367
331
 
368
332
  /**
369
- * Non-mesh display items: curves, points, and later labels/icons.
370
- *
371
- * These ride as JSON inside a {@link DisplayBatch} alongside the binary mesh blob — they are a
372
- * separate pipeline from the SLVA mesh path in `../webdisplay`. Curves arrive as Rhino-native JSON
373
- * (decoded via rhino3dm and tessellated on the web); points arrive as raw `{X,Y,Z}` positions.
374
- *
375
- * The union is STRICT and discriminated on `kind`. The parser narrows on it and uses a
376
- * `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.
377
336
  */
378
337
  /**
379
338
  * Identity + tagging shared by every display thing — meshes (via an adapter over `MeshMetadata`)
@@ -511,11 +470,8 @@ interface MaterialGroup {
511
470
  * later labels/icons) also travel — those ride as JSON alongside the mesh blob, not inside it.
512
471
  */
513
472
  interface DisplayBatch {
514
- /** Array of unique materials */
515
473
  materials: SerializableMaterial[];
516
- /** Groups of meshes organized by material */
517
474
  groups: MaterialGroup[];
518
- /** Base64-encoded binary blob (SLVA wire format). */
519
475
  compressedData: string;
520
476
  /** InstanceGuid of the WebDisplay GH component that produced this batch.
521
477
  * Combined with MeshMetadata.originalIndex to backtrack any mesh to its GH source. */
@@ -533,20 +489,17 @@ interface DisplayBatch {
533
489
  * This alias keeps existing imports compiling; remove it once consumers migrate.
534
490
  */
535
491
  type MeshBatch = DisplayBatch;
536
- /**
537
- * Options for parsing mesh batch data.
538
- */
539
492
  interface MeshBatchParsingOptions {
540
- /** 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. */
541
494
  mergeByMaterial?: boolean;
542
- /** Apply coordinate system transformations (Rhino Z-up to Three.js Y-up). Defaults to true. */
495
+ /** Apply coordinate system transformations. Defaults to true. */
543
496
  applyTransforms?: boolean;
544
- /** Enable performance monitoring in console. Defaults to false. */
497
+ /** Enable performance monitoring. Defaults to false. */
545
498
  debug?: boolean;
546
499
  /**
547
- * Appearance dials applied to every material built from this batch. These drive how "rendered"
500
+ * Appearance dials applied to every material built from this batch. These drive how "studio"
548
501
  * vs "matte technical" the meshes look; they are set once at parse time (materials are rebuilt
549
- * per solve). Runtime restyling of an already-built scene lives in the viewer's `setRenderStyle`.
502
+ * per solve). Runtime restyling of an already-built scene lives in the viewer's `setLook`.
550
503
  */
551
504
  material?: MaterialAppearanceOptions;
552
505
  }
@@ -1,43 +1,15 @@
1
- import { C as ComputeConfig, a as RhinoModelUnit } from './types-C9YpTbr3.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
  };
@@ -66,14 +38,6 @@ interface DataTree {
66
38
  /** camelCase — sent instead of `ParamName` by camelCase server forks. */
67
39
  paramName?: string;
68
40
  }
69
- /**
70
- * Output types supported from Grasshopper/Rhino Compute.
71
- *
72
- * The trailing `(string & {})` keeps the union open — servers can return any
73
- * GOO type name — without collapsing the whole union to `string` the way a
74
- * bare `| string` does, so the known literals keep driving autocomplete and
75
- * `Extract<>`-style narrowing.
76
- */
77
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 & {});
78
42
  /**
79
43
  * Union type for all possible default value types
@@ -366,14 +330,9 @@ interface GrasshopperParsedIO {
366
330
  }
367
331
 
368
332
  /**
369
- * Non-mesh display items: curves, points, and later labels/icons.
370
- *
371
- * These ride as JSON inside a {@link DisplayBatch} alongside the binary mesh blob — they are a
372
- * separate pipeline from the SLVA mesh path in `../webdisplay`. Curves arrive as Rhino-native JSON
373
- * (decoded via rhino3dm and tessellated on the web); points arrive as raw `{X,Y,Z}` positions.
374
- *
375
- * The union is STRICT and discriminated on `kind`. The parser narrows on it and uses a
376
- * `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.
377
336
  */
378
337
  /**
379
338
  * Identity + tagging shared by every display thing — meshes (via an adapter over `MeshMetadata`)
@@ -511,11 +470,8 @@ interface MaterialGroup {
511
470
  * later labels/icons) also travel — those ride as JSON alongside the mesh blob, not inside it.
512
471
  */
513
472
  interface DisplayBatch {
514
- /** Array of unique materials */
515
473
  materials: SerializableMaterial[];
516
- /** Groups of meshes organized by material */
517
474
  groups: MaterialGroup[];
518
- /** Base64-encoded binary blob (SLVA wire format). */
519
475
  compressedData: string;
520
476
  /** InstanceGuid of the WebDisplay GH component that produced this batch.
521
477
  * Combined with MeshMetadata.originalIndex to backtrack any mesh to its GH source. */
@@ -533,20 +489,17 @@ interface DisplayBatch {
533
489
  * This alias keeps existing imports compiling; remove it once consumers migrate.
534
490
  */
535
491
  type MeshBatch = DisplayBatch;
536
- /**
537
- * Options for parsing mesh batch data.
538
- */
539
492
  interface MeshBatchParsingOptions {
540
- /** 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. */
541
494
  mergeByMaterial?: boolean;
542
- /** Apply coordinate system transformations (Rhino Z-up to Three.js Y-up). Defaults to true. */
495
+ /** Apply coordinate system transformations. Defaults to true. */
543
496
  applyTransforms?: boolean;
544
- /** Enable performance monitoring in console. Defaults to false. */
497
+ /** Enable performance monitoring. Defaults to false. */
545
498
  debug?: boolean;
546
499
  /**
547
- * Appearance dials applied to every material built from this batch. These drive how "rendered"
500
+ * Appearance dials applied to every material built from this batch. These drive how "studio"
548
501
  * vs "matte technical" the meshes look; they are set once at parse time (materials are rebuilt
549
- * per solve). Runtime restyling of an already-built scene lives in the viewer's `setRenderStyle`.
502
+ * per solve). Runtime restyling of an already-built scene lives in the viewer's `setLook`.
550
503
  */
551
504
  material?: MaterialAppearanceOptions;
552
505
  }
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk727SRM4Ecjs = require('./chunk-727SRM4E.cjs');require('./chunk-CUQQ3ZBV.cjs');exports.BINARY_MESH_MAGIC = _chunk727SRM4Ecjs.w; exports.BINARY_MESH_VERSION = _chunk727SRM4Ecjs.y; exports.COMPRESSED_MESH_MAGIC = _chunk727SRM4Ecjs.x; exports.EDGE_USERDATA_KIND = _chunk727SRM4Ecjs.i; exports.FLAG_DELTA_ENCODED = _chunk727SRM4Ecjs.C; exports.FLAG_FLOAT32 = _chunk727SRM4Ecjs.A; exports.FLAG_HAS_UVS = _chunk727SRM4Ecjs.D; exports.FLAG_HAS_VERTEX_COLORS = _chunk727SRM4Ecjs.E; exports.FLAG_UINT16_INDICES = _chunk727SRM4Ecjs.B; exports.MIN_SUPPORTED_VERSION = _chunk727SRM4Ecjs.z; exports.Materials = _chunk727SRM4Ecjs.a; exports.SCALE_FACTORS = _chunk727SRM4Ecjs.L; exports.TEXTURE_CACHE_MAX_ENTRIES = _chunk727SRM4Ecjs.q; exports.UV_FORMAT_FLOAT32 = _chunk727SRM4Ecjs.G; exports.UV_FORMAT_UINT16 = _chunk727SRM4Ecjs.F; exports.addEdges = _chunk727SRM4Ecjs.j; exports.applyOffset = _chunk727SRM4Ecjs.d; exports.clearTextureCache = _chunk727SRM4Ecjs.s; exports.computeCombinedBoundingBox = _chunk727SRM4Ecjs.e; exports.createCameraController = _chunk727SRM4Ecjs.f; exports.createGrid = _chunk727SRM4Ecjs.g; exports.createLabelLayer = _chunk727SRM4Ecjs.n; exports.createMeasureTool = _chunk727SRM4Ecjs.p; exports.createRenderPipeline = _chunk727SRM4Ecjs.m; exports.createViewGizmo = _chunk727SRM4Ecjs.h; exports.getThreeMeshesFromComputeResponse = _chunk727SRM4Ecjs.M; exports.initThree = _chunk727SRM4Ecjs.u; exports.isEdgeOverlay = _chunk727SRM4Ecjs.k; exports.materialAppearanceForLook = _chunk727SRM4Ecjs.t; exports.parseBinaryMeshBatch = _chunk727SRM4Ecjs.H; exports.parseColor = _chunk727SRM4Ecjs.c; exports.parseDisplayItems = _chunk727SRM4Ecjs.v; exports.parseMeshBatch = _chunk727SRM4Ecjs.I; exports.parseMeshBatchBlob = _chunk727SRM4Ecjs.K; exports.parseMeshBatchObject = _chunk727SRM4Ecjs.J; exports.removeEdges = _chunk727SRM4Ecjs.l; exports.setTextureAnisotropy = _chunk727SRM4Ecjs.r; exports.snapToVertex = _chunk727SRM4Ecjs.o; exports.updateScene = _chunk727SRM4Ecjs.b;
2
+ //# sourceMappingURL=visualization-36IV2CVU.cjs.map