@procore/bim-webviewer-sdk 7.9.0 → 8.0.0-rc.1

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,28 @@ 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
+ ## [8.0.0] - 2023-09-05
9
+
10
+ ### Added
11
+
12
+ - Add support for Safari and Safari-based browsers.
13
+ - Add ability to isolate in section box to context menu.
14
+
15
+ ### Changed
16
+
17
+ - [BREAKING CHANGE] `model.getSections` now requires a `format` param of either `'autodesk'` or `'bcf'`. Both of these return data formatted differently than in prior versions.
18
+ - `'bcf'` returns an array of planes as described by the BCF format https://github.com/buildingSMART/BCF-API#3526-clipping-plane
19
+ - `'autodesk'` returns a format based on the viewpoints from Autodesk Navisworks
20
+ - [BREAKING CHANGE] Several methods were returning/expecting to receive coordinates that were not consistent with the model coordinates from the source file. Prior to this change, to get the correct coordinates you would need to add the result of `model.getGlobalOffset` to them. This would affect models that are significantly offset from the origin, which we refer to as being in "world coordinates". As of this change, most instances of not returning "world coordinates" have been fixed.
21
+ - `camera.getPosition` now returns a point in world coordinates.
22
+ - `camera.setPosition` now expects a point in world coordinates.
23
+ - `camera.getLookAt` now returns a point in world coordinates.
24
+ - `camera.setLookAt` now expects a point in world coordinates.
25
+ - NOTE: this method has a return value that is still NOT in world coordinates. Prefer using `camera.getPosition/getLookAt/getBcfCamera` if you want the resulting position after a set.
26
+ - `camera.getBcfCamera`'s return value's `camera_view_point` is now in world coordinates.
27
+ - `camera.setBcfCamera` took a second boolean argument that defaulted to receiving local coordinates. If you were passing `false` or nothing here it will no longer be consistent with the coordinates from other methods. If you were passing `true` then no change required.
28
+ - `model.ModelToMapSpace` now expects a `point` parameter in world coordinates.
29
+
8
30
  ## [7.9.0] - 2023-08-22
9
31
 
10
32
  ### Added
@@ -15,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
37
 
16
38
  - Fixed issue where drag cursor for Section Box tool is not correct on back facing arrows when planes are hidden.
17
39
  - Fixed issue where inside the section box hover on arrow still show hover effects.
40
+ - Fixed issue a user could see outside of the default section (applied through Web Viewer options `min_boundary`, `max_boundary`, `rotation`) by resizing the Section Box Display to be outside of the default section. The default section is now correctly also applied in addition to the Section Box Display's sectioning.
18
41
  - Fixed issue backface cut fill is not showing in some model.
19
42
 
20
43
  ### Changed