OptionalambientEnable ambient occlusion.
OptionalantialiasingEnable anti-aliasing. Can be one of:
false - Disable anti-aliasing.true - Enable anti-aliasing using MSAA.fxaa - Enable Fast Approximate anti-aliasing (FXAA).smaa - Enable Subpixel Morphological anti-aliasing (SMAA).msaa - Enable Multisample anti-aliasing (MSAA), if the underlying WebGL context supports it.OptionalcameraEnable camera animation.
OptionalcameraCamera speed on X axis.
OptionalcameraCamera speed on Y axis.
OptionalcameraCamera projection mode:
perspective - Perspective camera with field of view.orthographic - Orthographic camera with parallel projection.OptionalcuttingCutting planes fill color.
Show the edges of the model:
false - No model edges are displayed. Usefull for less memory consumption.true - Display isolines.OptionaledgesEdges highlight color.
OptionaledgesShow highlighted edges over drawing.
OptionaledgesShow highlighted edges.
OptionalenableEnable custom highlight settings.
Enable touch gestures.
This option will be ignored when mouse wheel zooming is disabled, since gestures contains touch zoom.
OptionalenableEnable partial streaming mode to be able open large drawing.
In partial streaming mode, the viewer keeps only visible objects in memory and loads other objects when the camera changes.
Only used if streaming is enabled. If partial streaming is enabled, then scene graph will be disabled.
OptionalenableEnable streaming of drawings from the server.
If streaming is disabled, the file/assembly will be loaded in one go. The viewer will only update once the loading is complete, which may take a while.
If streaming is enabled, partial streaming mode may be enabled as well.
Enable mouse wheel zooming.
OptionalfacesFaces highlight color.
OptionalfacesShow highlighted faces over drawing.
OptionalfacesHighlighted faces transparency value, from 0 to 255.
OptionalgeometryPreferred viewer for newely uploaded files. Can be one of:
vsfx - VSFX (default), for opening a file in VisualizeJS viewer.gltf - glTF, for opening a file in Three.js viewer.OptionalgroundShow ground shadows below the model.
OptionalmemoryThe size of the memory buffer for graphics data, in bytes.
OptionalresetResets options to default values.
Optionalfields: string[]Name of fields to be reset.
Reverse the mouse wheel direction for zooming:
false - Moving the wheel up zooms in, moving down zooms out.true - Moving the wheel up zooms out, moving down zooms in.OptionalrulerNumber of decimal places to display in ruler measurements.
Controls the precision of distance values shown by the ruler tool. Higher values provide more precision but may clutter the display with unnecessary digits.
Available values:
Default - Use file's native units precision, if supported, otherwise use 2 digits.Auto - Automatically choose precision based on distance value.0...10 - Use specified number of decimal places (range 0-10, inclusive).OptionalrulerUnit of measurement for the ruler tool (distance measurements).
When set to Default, the ruler uses the file's native units. Otherwise, distances are
automatically converted to the specified unit.
Available values:
Default - Use file's native units (recommended)Millimeters, mm - Metric: 0.001 mCentimeters, cm - Metric: 0.01 mMeters, m - Metric: 1 m (base unit)Kilometers, km - Metric: 1000 mMicrometers, µm - Metric: 0.000001 mInches, in - Imperial: 0.0254 mFeet, ft - Imperial: 0.3048 mYards, yd - Imperial: 0.9144 mMiles, mi - Imperial: 1609.344 mMils, mil - Imperial: 0.0000254 mMicroInches, µin - Imperial: 0.0000000254 mEnable scene graph.
Scene graph increases perfomance improvement, but consumes memory. If scene graph is enabled, then partial streaming mode will be disabled.
OptionalshadowsEnable ambient shadows.
OptionalshowShow the world coordinate system axes in the bottom-left corner of the viewer.
OptionalsnapshotDefault MIME type for snapshot images.
Supported formats:
image/png - PNG format with lossless compression (recommended for quality)image/jpeg - JPEG format with lossy compression (smaller file size)image/webp - WebP format (modern browsers only)OptionalsnapshotDefault quality level for snapshot images when using lossy formats (JPEG, WebP).
A number between 0 and 1, where:
0 - Lowest quality, smallest file size1 - Highest quality, largest file size0.25 - Good balance between quality and size (recommended)This parameter is ignored for lossless formats like PNG.
Viewer options interface.