Viewer 3D API
Releases
r152
Release channel: Development - March 7, 2024
March 6, 2024
- Implemented
activeClippingPlaneBorderColor
viewer setting
March 1, 2024
- Add
setMeasureSettings
andgetMeasureSettings
, and deprecatemeasureOptions
February 28, 2024
- Add
shading
togetRenderSettings
andsetRenderSettings
January 24, 2024
- Fix point clouds breaking when a content fetch fails
August 23, 2023
- Fix headers being stripped out when loading point clouds
June 16, 2023
- Update to three.js r152
r149
Release channel: Stable - April 27, 2023
March 30, 2023
- Fix contour sometimes displaying a shadow artifact in orthographic mode.
- Fix clipping plane widget not rotating in orthographic mode.
March 27, 2023
- Fix contour sometimes not working in orthographic mode.
March 14, 2023
- Fix poor performance on projects containing many (hidden) grids.
- Make grid loads faster.
March 9, 2023
- Fix viewer hanging on load if grid is invalid.
- Fix translucent state not being applied to selected objects
March 6, 2023
- Fix expanding of laser measure ignoring extruded grid axes.
- Fix laser measure tool's perpendicular raycast sometimes failing.
March 1, 2023
- Fix grids shaking when camera moves on some models.
February 24, 2023
- Fix geometry sometimes disappearing after taking 3D snapshot.
February 21, 2023
- Fix grids/axes not being clipped by clipping plane in 3D snapshot.
February 20, 2023
- Always rotate around point beneath mouse.
February 16, 2023
- Fix precision issues on large projects.
- Add 'setAppearanceSettings' method.
r144
February 13, 2023
- Fix issue where hidden grids reappear when selecting an object.
- Fix issue where hidden objects reappear when opening the settings menu.
- Hide axis extrusions of hidden grids.
February 2, 2023
- Select grid by clicking on curve or axis extrusion.
- Highlight selected grids.
January 30, 2023
- Support clipping planes as navigation target.
January 27, 2023
- Measure tools: Hide cursor on drag.
- Trigger measure on left click only.
January 25, 2023
- Fix camera zooming through planes.
December 23, 2022
- Fix issue where object is not visible when double clicked (because of camera zoom).
- Fix measurement labels not being visible in snapshot.
December 22, 2022
- Fix crash when loading grid.
- Add 'modelId' to 'getProducts' method.
- Fix an issue where contours are not shown.
December 19, 2022
- Add 'addShape', 'removeShape' and 'clearShapes' methods.
December 14, 2022
- Fix exception triggered when mouse buttons
3
and4
are clicked.
December 13, 2022
- Add 'getProducts' method.
December 12, 2022
- Fix an issue where a clipping plane removed using Delete key was still returned by 'getClippingPlanes'.
November 30, 2022
- Update to three.js r144
r143
December 12, 2022
- Fix an issue where a clipping plane removed using Delete key was still returned by 'getClippingPlanes'.
November 21, 2022
- Select a better initial viewpoint on large projects and projects containing misplaced geometry.
November 18, 2022
- Add 'showClippingPlaneWidget' and 'hideClippingPlaneWidget' methods.
November 11, 2022
- Fix crash when loading grid.
- Ignore empty grid axes when loading models.
- Add
initialState
setting to 'loadModel', for setting initial visibility state of grids.
November 8, 2022
- Add
globalId
to grids (returned from 'getGrids').
November 7, 2022
- Add
depthBuffer
setting to 'RenderSettings', with support for logarithmic depth.
November 4, 2022
- Add 'setCameraSettings' and 'getCameraSettings' methods.
November 3, 2022
- Increased default view range from 2000 to 5000.
- Add
modelId
to grids (returned from 'getGrids').
October 26, 2022
- Update to three.js r143
r142
Release channel: Stable - November 29, 2022
December 12, 2022
- Fix an issue where a clipping plane removed using Delete key was still returned by 'getClippingPlanes'.
October 24, 2022
- Add 'getGrids' method.
- Add 'getGridAxisState/setGridAxisState' methods.
- Add 'axis' field to ClippingPlaneParams to assign a grid axis to a clipping plane. Clipping planes with an assigned axis will follow the axis curve when dragged in the viewer.
- Clipping planes will now cut away grids.
- Avoid setting initial viewpoint when opening models without geometry.
September 6, 2022
- Deprecate 'screenshot'. Replaced by 'captureScreenshot'.
September 5, 2022
- Deprecate 'each'. Replaced by 'getObjects'.
- Deprecate 'eachSelected'. Replaced by 'getSelected'.
September 1, 2022
- Fix an issue where grid axis extrusions had bad geometry.
- Deprecate 'translucent'. Replaced by 'makeTranslucent'.
- Deprecate 'translucentAll'. Replaced by 'makeAllTranslucent'.
- Deprecate 'opaque'. Replaced by 'makeOpaque'.
- Deprecate 'opaqueAll'. Replaced by 'makeAllOpaque'.
- Deprecate 'loadUrl'. Replaced by 'loadModelsFromToken'.
- Deprecate 'transformModel'. Replaced by 'setTransform'.
- Deprecate 'color'. Replaced by 'getObjectColors' and 'setObjectColors'.
- Deprecate 'resetColors'. Replaced by 'resetObjectColors'.
- Deprecate 'clippingPlanes'. Replaced by 'getClippingPlanes' and 'setClippingPlanes'.
August 30, 2022
- Update to three.js r142
r141
Discontinued - November 29, 2022
September 1, 2022
- Fix an issue where grid axis extrusions had bad geometry.
June 30, 2022
- Update to three.js r141
r140
Discontinued - October 7, 2022
September 1, 2022
- Fix an issue where grid axis extrusions had bad geometry.
June 29, 2022
- Improve appearance of measurement lines.
- Add viewer.clippingplanes event.
- Improve appearance of clipping plane intersection curves.
- Prevent Z-fighting when drawing clipping planes.
- Fix an issue where hidden line shader was not applied to transparent objects.
- Fix an issue where gesture animations were not updated.
June 3, 2022
- Add 'viewer.clippingplanes' event.
May 31, 2022
- Fix an issue where point clouds were not properly unloaded.
May 11, 2022
- Fix an issue where lables where missing in screenshots when using DOM text rendering.
- Disable WebGL2 support in Safari due to large performance regression.
May 9, 2022
- Hide measure labels behind camera when using DOM text rendering.
May 4, 2022
- Update to three.js r140
r139
Discontinued - September 7, 2022
*September 1, 2022
- Fix an issue where grid axis extrusions had bad geometry.
*June 29, 2022
- Improve appearance of measurement lines.
- Add viewer.clippingplanes event.
- Improve appearance of clipping plane intersection curves.
- Prevent Z-fighting when drawing clipping planes.
- Fix an issue where hidden line shader was not applied to transparent objects.
- Fix an issue where gesture animations were not updated.
May 31, 2022
- Fix an issue where point clouds were not properly unloaded.
May 11, 2022
- Fix an issue where lables where missing in screenshots when using DOM text rendering.
- Disable WebGL2 support in Safari due to large performance regression.
May 9, 2022
- Hide measure labels behind camera when using DOM text rendering.
May 3, 2022
- Fix an issue where jQuery plug-in was depending on
$
existing in the global context.
May 2, 2022
- Fix an issue where image added by 'images' methods where not displayed.
April 29, 2022
- Fix an issue where 'boundingBox' method returned an empty box instead of the scene bounding box when passing null as argument.
- Fix an issue where viewer.click event was missing 'clientX'/'clientY' fields on Safari 12 (iOS 12 or earlier).
- Fix an issue causing the canvas to always be blank in Safari 12 (iOS 12 or earlier).
April 5, 2022
- Fix an issue where pixel ratio is reset on window resize.
March 31, 2022
- Fix an issue where viewer.click was triggered multiple times on touch events when embedded in iOS web view.
March 30, 2022
- Update to three.js r139
r138
Discontinued - June 30, 2022
May 31, 2022
- Fix an issue where point clouds were not properly unloaded.
May 11, 2022
- Fix an issue where lables where missing in screenshots when using DOM text rendering.
- Disable WebGL2 support in Safari due to large performance regression.
May 9, 2022
- Hide measure labels behind camera when using DOM text rendering.
May 3, 2022
- Fix an issue where jQuery plug-in was depending on
$
existing in the global context.
May 2, 2022
- Fix an issue where image added by 'images' methods where not displayed.
April 29, 2022
- Fix an issue where 'boundingBox' method returned an empty box instead of the scene bounding box when passing null as argument.
- Fix an issue where viewer.click event was missing 'clientX'/'clientY' fields in Safari 12 (iOS 12 or earlier).
- Fix an issue causing the canvas to always be blank in Safari 12 (iOS 12 or earlier).
April 5, 2022
- Fix an issue where pixel ratio is reset on window resize.
March 31, 2022
- Fix an issue where viewer.click was triggered multiple times on touch events when embedded in iOS web view.
March 15, 2022
- Add pixelRatio to render settings
- Fix dragging clipping plane on thouch devices
- Fix updating clipping plane intersection curves
March 2, 2022
- Update to three.js r138
r137
Discontinued - April 29, 2022
Stable - March 30, 2022
April 5, 2022
- Fix an issue where pixel ratio is reset on window resize.
March 31, 2022
- Fix an issue where viewer.click was triggered multiple times on touch events when embedded in iOS web view.
March 15, 2022
- Add pixelRatio to render settings
- Fix dragging clipping plane on thouch devices
- Fix updating clipping plane intersection curves
March 2, 2022
- Update to three.js r137
- Support DOM text rendering
- Minor measurement improvements