Skip to main content

interface.MeasureImports

API > MeasureImports

Interface: MeasureImports

Core3D bundler/build resource imports.

Remarks

In order to adapt to any build/bundler system and inlining preferences, we declare all non-javascript imported resources here. These must be created by some external function that is specific to your build/bundler environment.

Properties

measureWorker

readonly measureWorker: URL

The measure load/parse worker.

Remarks

This worker root can be found in measure/measureWorker.js.

See

Worker: Worker() constructor

Source

@novorender/measure/imports.ts:19


nurbsWasm

readonly nurbsWasm: ArrayBuffer

The nurbs web assembly instance.

Remarks

This web assembly can be found in measure/nurbs.wasm.

See

Loading and running WebAssembly code

Source

@novorender/measure/imports.ts:13