@xeokit/xeokit-sdk 2.6.66 → 2.6.67

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.
Files changed (36) hide show
  1. package/{LICENSE.txt → LICENSE} +30 -27
  2. package/README.md +13 -6
  3. package/dist/xeokit-sdk.cjs.js +50236 -25849
  4. package/dist/xeokit-sdk.es.js +50236 -25849
  5. package/dist/xeokit-sdk.es5.js +7977 -4826
  6. package/dist/xeokit-sdk.min.cjs.js +5 -5
  7. package/dist/xeokit-sdk.min.es.js +5 -5
  8. package/dist/xeokit-sdk.min.es5.js +4 -4
  9. package/package.json +34 -32
  10. package/src/plugins/AnnotationsPlugin/Annotation.js +45 -5
  11. package/src/plugins/CityJSONLoaderPlugin/CityJSONLoaderPlugin.js +1 -1
  12. package/src/plugins/GLTFLoaderPlugin/GLTFSceneModelLoader.js +3 -2
  13. package/src/plugins/LASLoaderPlugin/LASLoaderPlugin.js +1 -1
  14. package/src/plugins/XKTLoaderPlugin/XKTLoaderPlugin.js +57 -2
  15. package/src/plugins/XKTLoaderPlugin/parsers/ParserV10.js +6 -0
  16. package/src/plugins/XKTLoaderPlugin/parsers/ParserV11.js +6 -0
  17. package/src/plugins/XKTLoaderPlugin/parsers/ParserV12.js +822 -0
  18. package/src/plugins/XKTLoaderPlugin/parsers/ParserV6.js +6 -0
  19. package/src/plugins/XKTLoaderPlugin/parsers/ParserV7.js +6 -0
  20. package/src/plugins/XKTLoaderPlugin/parsers/ParserV8.js +6 -0
  21. package/src/plugins/XKTLoaderPlugin/parsers/ParserV9.js +6 -0
  22. package/src/{plugins/lib → viewer/scene/libs}/earcut.js +194 -189
  23. package/src/viewer/scene/materials/EmphasisMaterial.js +5 -1
  24. package/src/viewer/scene/math/math.js +6 -2
  25. package/src/viewer/scene/model/SceneModelEntity.js +26 -0
  26. package/src/viewer/scene/model/SceneModelMesh.js +4 -0
  27. package/src/viewer/scene/model/dtx/triangles/DTXTrianglesLayer.js +1 -1
  28. package/src/viewer/scene/model/vbo/batching/triangles/VBOBatchingTrianglesLayer.js +1 -1
  29. package/src/viewer/scene/model/vbo/instancing/triangles/VBOInstancingTrianglesLayer.js +1 -1
  30. package/src/viewer/scene/scene/Scene.js +50 -6
  31. package/src/viewer/scene/sectionCaps/SectionCaps.js +774 -0
  32. package/src/viewer/scene/sectionCaps/index.js +1 -0
  33. package/src/viewer/scene/webgl/Renderer.js +10 -7
  34. package/types/plugins/WebIFCLoaderPlugin/WebIFCLoaderPlugin.d.ts +2 -1
  35. package/types/plugins/XKTLoaderPlugin/XKTLoaderPlugin.d.ts +28 -0
  36. package/types/viewer/scene/models/SceneModelMesh.d.ts +7 -0
@@ -1,33 +1,7 @@
1
- -------------------------------------------------------------------------
2
- The xeokit SDK is licensed under the Affero GPL V3 license.
3
-
4
- Custom licenses are also available for enterprises that wish to avoid the
5
- copy-left restrictions of the AGPL3 - see: https://xeokit.io/index.html#pricing
6
-
7
- xeokit also contains the following components with MIT and GNU Lesser
8
- General Public License v3.0:
9
-
10
- Canvas2Image v0.1
11
- Copyright (c) 2008 Jacob Seidelin, cupboy@gmail.com
12
- MIT License [http://www.opensource.org/licenses/mit-license.php]
13
-
14
- K3D.js V1.0
15
- Copyright (c) 2012 Ivan Kuckir
16
- MIT License [http://www.opensource.org/licenses/mit-license.php]
17
-
18
- Pako
19
- Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
20
- MIT License [http://www.opensource.org/licenses/mit-license.php]
21
-
22
- web-ifc
23
- Copyright (c) 2020-2021 web-ifc contributors
24
- Mozilla Public License Version 2.0 [https://www.mozilla.org/en-US/MPL/2.0/]
25
- -------------------------------------------------------------------------
26
-
27
1
  GNU AFFERO GENERAL PUBLIC LICENSE
28
2
  Version 3, 19 November 2007
29
3
 
30
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
31
5
  Everyone is permitted to copy and distribute verbatim copies
32
6
  of this license document, but changing it is not allowed.
33
7
 
@@ -643,3 +617,32 @@ Program, unless a warranty or assumption of liability accompanies a
643
617
  copy of the Program in return for a fee.
644
618
 
645
619
  END OF TERMS AND CONDITIONS
620
+
621
+ ---
622
+ xeokit also contains the following components with MIT and GNU Lesser
623
+ General Public License v3.0:
624
+
625
+ Canvas2Image v0.1
626
+ Copyright (c) 2008 Jacob Seidelin, cupboy@gmail.com
627
+ MIT License [http://www.opensource.org/licenses/mit-license.php]
628
+
629
+ K3D.js V1.0
630
+ Copyright (c) 2012 Ivan Kuckir
631
+ MIT License [http://www.opensource.org/licenses/mit-license.php]
632
+
633
+ web-ifc
634
+ Copyright (c) 2020-2021 web-ifc contributors
635
+ Mozilla Public License Version 2.0 [https://www.mozilla.org/en-US/MPL/2.0/]
636
+
637
+ Pako
638
+ Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
639
+ MIT License [http://www.opensource.org/licenses/mit-license.php]
640
+ ---
641
+
642
+ ## 📜 Licensing & Commercial Use
643
+
644
+ xeokit SDK is licensed under AGPLv3, which requires that any modifications or integrations of xeokit SDK into a project must also be open-sourced under AGPLv3.
645
+
646
+ 🪧 Need a commercial license? If your company requires xeokit SDK under a different licensing model for proprietary or closed-source applications, we offer flexible commercial licensing options.
647
+
648
+ 📩 Contact us at contact@creoox.com or visit xeokit.io for more information.
package/README.md CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40xeokit%2Fxeokit-sdk.svg)](https://badge.fury.io/js/%40xeokit%2Fxeokit-sdk)
4
4
  [![](https://data.jsdelivr.com/v1/package/npm/@xeokit/xeokit-sdk/badge)](https://www.jsdelivr.com/package/npm/@xeokit/xeokit-sdk)
5
+ [![@xeokit/xeokit-sdk](https://snyk.io/advisor/npm-package/@xeokit/xeokit-sdk/badge.svg)](/advisor/npm-package/@xeokit/xeokit-sdk)
5
6
  [![CodeSee](https://github.com/xeokit/xeokit-sdk/actions/workflows/codesee-arch-diagram.yml/badge.svg)](https://github.com/xeokit/xeokit-sdk/actions/workflows/codesee-arch-diagram.yml)
6
7
 
7
- [xeokit](http://xeokit.io) is a JavaScript software development kit created by [xeolabs](http://xeolabs.com) for viewing
8
+ [xeokit](http://xeokit.io) is a JavaScript software development kit created by [xeolabs](http://xeolabs.com) and supported by [Creoox AG](https://creoox.com) for viewing
8
9
  high-detail, full-precision 3D engineering and BIM models in the browser.
9
10
 
10
11
  ## Resources
@@ -18,6 +19,12 @@ high-detail, full-precision 3D engineering and BIM models in the browser.
18
19
  * [FAQ](https://xeokit.io/index.html?foo=1#faq)
19
20
  * [License](https://xeokit.io/index.html#pricing)
20
21
 
22
+ ---
23
+ If you are interested in a **ready-to-use 3D/BIM Viewing Ecosystem for Your Own Solution**, be sure to also check out:
24
+ * [xeoVision - view your models now!](https://xeo.vision/)
25
+ * [xeoServices](https://docs.xeo.vision/)
26
+ ---
27
+
21
28
  ## Installing
22
29
 
23
30
  ````bash
@@ -100,11 +107,11 @@ and [OBJ](https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/OBJLoaderPl
100
107
  </script>
101
108
  </html>
102
109
  ````
110
+ ---
111
+ ## 📜 Licensing & Commercial Use
103
112
 
113
+ xeokit SDK is licensed under **AGPLv3**, which requires that any modifications or integrations of xeokit SDK into a project must also be open-sourced under AGPLv3.
104
114
 
115
+ 🪧 **Need a commercial license?** If your company requires xeokit SDK under a different licensing model for **proprietary or closed-source** applications, we offer **flexible commercial licensing options**.
105
116
 
106
-
107
-
108
-
109
-
110
-
117
+ 📩 **Contact us** at [contact@creoox.com](mailto:contact@creoox.com) or visit [xeokit.io](https://xeokit.io/index.html#pricing) for more information.