@procore/bim-webviewer-sdk 9.1.0-rc.0 → 9.1.1-BIM-test-section-snapshot.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
7
7
|
|
|
8
|
+
## [9.1.1] - 2023-11-27
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `model.getSnapshot` and `model.getSnapshotDataUrl` now produce images that do not contain the section box display (orange box) if it is enabled when the snapshot is taken. The clipping planes it represents are still enabled.
|
|
13
|
+
|
|
8
14
|
## [9.1.0] - 2023-11-13
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -12,9 +18,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
12
18
|
- Add new SDK methods and events to control the section box display
|
|
13
19
|
- new method: `model.configureSectionBoxDisplay` - sets state for how the section box display will appear
|
|
14
20
|
- new method: `model.toggleSectionBoxDisplay` - turns on/off the section box display feature, respecting the configuration set by `configureSectionBoxDisplay`
|
|
21
|
+
- changed method: `model.setSectionBox` - now takes a fourth argument `showCoachmark` which is a boolean that determines whether the "Sectioning Applied" coachmark is shown when the section box is set. Defaults to true, which was was the behavior before when it was not exposed as an argument.
|
|
22
|
+
- Full signature now looks like: `model.setSectionBox(min: Vector3, max: Vector3, rotation: Vector3, showCoachmark?: boolean)`
|
|
23
|
+
- Where `Vector3 = { x: number, y: number, z: number }`
|
|
15
24
|
- new event: `sectionBoxDisplayConfigured` - fired when the section box display configuration changes
|
|
16
25
|
- new event: `sectionBoxDisplayToggled` - fired when the section box display is toggled
|
|
17
26
|
- new event: `globalBoundingBoxInitialized` - fired when the global bounding box of the model has been determined. This is used to implement the Sectioning dropdown's Reset Planes button.
|
|
27
|
+
- new payload for event: `sectionBoxSet` - now includes the box that was set in its payload.
|
|
18
28
|
|
|
19
29
|
## [9.0.0] - 2023-10-30
|
|
20
30
|
|