x_ite 10.1.0 → 10.2.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/README.md +18 -18
- package/dist/X3DUOM.xml +69 -11
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +16 -16
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +39 -27
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +51 -35
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +34 -34
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +25 -25
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +26 -26
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +40 -42
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +28 -28
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +1254 -1053
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/assets/fonts/PT_Sans/OFL.txt +94 -0
- package/dist/assets/fonts/PT_Sans/PTSans-Bold.ttf +0 -0
- package/dist/assets/fonts/PT_Sans/PTSans-BoldItalic.ttf +0 -0
- package/dist/assets/fonts/PT_Sans/PTSans-Italic.ttf +0 -0
- package/dist/assets/fonts/PT_Sans/PTSans-Regular.ttf +0 -0
- package/dist/assets/lib/mikktspace_bg.wasm +0 -0
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +60 -11
- package/dist/x_ite.js +851 -600
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +851 -600
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
- /package/dist/assets/fonts/{DroidSerif Apache License.txt → Droid/DroidSerif Apache License.txt} +0 -0
- /package/dist/assets/fonts/{DroidSerif-Bold.ttf → Droid/DroidSerif-Bold.ttf} +0 -0
- /package/dist/assets/fonts/{DroidSerif-BoldItalic.ttf → Droid/DroidSerif-BoldItalic.ttf} +0 -0
- /package/dist/assets/fonts/{DroidSerif-Italic.ttf → Droid/DroidSerif-Italic.ttf} +0 -0
- /package/dist/assets/fonts/{DroidSerif-Regular.ttf → Droid/DroidSerif-Regular.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu LICENCE.txt → Ubuntu/Ubuntu LICENCE.txt} +0 -0
- /package/dist/assets/fonts/{Ubuntu-B.ttf → Ubuntu/Ubuntu-B.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu-BI.ttf → Ubuntu/Ubuntu-BI.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu-R.ttf → Ubuntu/Ubuntu-R.ttf} +0 -0
- /package/dist/assets/fonts/{Ubuntu-RI.ttf → Ubuntu/Ubuntu-RI.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-B.ttf → Ubuntu/UbuntuMono-B.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-BI.ttf → Ubuntu/UbuntuMono-BI.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-R.ttf → Ubuntu/UbuntuMono-R.ttf} +0 -0
- /package/dist/assets/fonts/{UbuntuMono-RI.ttf → Ubuntu/UbuntuMono-RI.ttf} +0 -0
package/README.md
CHANGED
|
@@ -12,6 +12,10 @@ X_ITE is a robust X3D JavaScript WebGL browser that is compatible with all major
|
|
|
12
12
|
|
|
13
13
|
🚀 For more information and a live preview, please visit our [home page](https://create3000.github.io/x_ite/).
|
|
14
14
|
|
|
15
|
+
## Funding
|
|
16
|
+
|
|
17
|
+
X_ITE needs your support. If you become a [Patreon](https://patreon.com/X_ITE), we can improve X_ITE even better.
|
|
18
|
+
|
|
15
19
|
## Quick Links
|
|
16
20
|
|
|
17
21
|
* [Getting Started](https://create3000.github.io/x_ite/)
|
|
@@ -32,15 +36,25 @@ If you are going to use X_ITE in a production environment, you should use a fixe
|
|
|
32
36
|
jsDelivr is an open-source content delivery network (CDN) renowned for its no-cost access, swift performance, and reliable service.
|
|
33
37
|
|
|
34
38
|
```html
|
|
35
|
-
<script src="https://cdn.jsdelivr.net/npm/x_ite@10.
|
|
39
|
+
<script src="https://cdn.jsdelivr.net/npm/x_ite@10.2.0/dist/x_ite.min.js"></script>
|
|
36
40
|
<!-- or as ES module for use in scripts -->
|
|
37
41
|
<script type="module">
|
|
38
|
-
import X3D from "https://cdn.jsdelivr.net/npm/x_ite@10.
|
|
42
|
+
import X3D from "https://cdn.jsdelivr.net/npm/x_ite@10.2.0/dist/x_ite.min.mjs";
|
|
39
43
|
</script>
|
|
40
44
|
```
|
|
41
45
|
|
|
42
46
|
>**Info:** It is no longer necessary to include the CSS file.
|
|
43
47
|
|
|
48
|
+
## Get it from NPM
|
|
49
|
+
|
|
50
|
+
To install, use the following command:
|
|
51
|
+
|
|
52
|
+
```console
|
|
53
|
+
$ npm install x_ite
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Maybe you are curious now [how to use X_ITE with Electron](https://create3000.github.io/x_ite/how-to-use-x-ite-with-electron)?
|
|
57
|
+
|
|
44
58
|
## Usage
|
|
45
59
|
|
|
46
60
|
This script initializes an X3D canvas within an HTML page, configuring it to contain a scene, a camera and a geometric cube with default material properties. It then animates the rotation of the cube within the scene, ensuring that the camera captures the dynamic action.
|
|
@@ -48,7 +62,7 @@ This script initializes an X3D canvas within an HTML page, configuring it to con
|
|
|
48
62
|
### Declarative Syntax
|
|
49
63
|
|
|
50
64
|
```html
|
|
51
|
-
<script src="https://cdn.jsdelivr.net/npm/x_ite@10.
|
|
65
|
+
<script src="https://cdn.jsdelivr.net/npm/x_ite@10.2.0/dist/x_ite.min.js"></script>
|
|
52
66
|
<x3d-canvas>
|
|
53
67
|
<X3D profile='Interchange' version='4.0'>
|
|
54
68
|
<head>
|
|
@@ -87,7 +101,7 @@ The same scene can also be created using pure JavaScript:
|
|
|
87
101
|
|
|
88
102
|
```html
|
|
89
103
|
<script type="module">
|
|
90
|
-
import X3D from "https://cdn.jsdelivr.net/npm/x_ite@10.
|
|
104
|
+
import X3D from "https://cdn.jsdelivr.net/npm/x_ite@10.2.0/dist/x_ite.min.mjs";
|
|
91
105
|
|
|
92
106
|
const
|
|
93
107
|
browser = X3D .getBrowser (),
|
|
@@ -156,20 +170,6 @@ scene .addRoute (interpolatorNode, "value_changed", transformNode, "set_ro
|
|
|
156
170
|
<x3d-canvas></x3d-canvas>
|
|
157
171
|
```
|
|
158
172
|
|
|
159
|
-
## NPM Usage
|
|
160
|
-
|
|
161
|
-
To install, use the following command:
|
|
162
|
-
|
|
163
|
-
```console
|
|
164
|
-
$ npm install x_ite
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
Maybe you are curious now [how to use X_ITE with Electron](https://create3000.github.io/x_ite/how-to-use-x-ite-with-electron)?
|
|
168
|
-
|
|
169
|
-
## Funding
|
|
170
|
-
|
|
171
|
-
X_ITE needs your support. If you become a [Patreon](https://patreon.com/X_ITE), we can improve X_ITE even better.
|
|
172
|
-
|
|
173
173
|
## License
|
|
174
174
|
|
|
175
175
|
X_ITE is free software: you can redistribute it and/or modify it under the terms of the [GNU General Public License version 3](LICENSE.md) only, as published by the Free Software Foundation.
|
package/dist/X3DUOM.xml
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<ConcreteNode name="EnvironmentLight">
|
|
10
10
|
<InterfaceDefinition
|
|
11
11
|
specificationUrl="https://create3000.github.io/x_ite/components/lighting/environmentlight"
|
|
12
|
-
appinfo="EnvironmentLight ... This node only affects PhysicalMaterial
|
|
12
|
+
appinfo="EnvironmentLight ... This node only affects the PhysicalMaterial and SpecularGlossinessMaterial nodes.">
|
|
13
13
|
<componentInfo name="Lighting" level="3" />
|
|
14
14
|
<Inheritance baseType="X3DLightNode" />
|
|
15
15
|
<field name="metadata"
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
<ConcreteNode name="AnisotropyMaterialExtension">
|
|
216
216
|
<InterfaceDefinition
|
|
217
217
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/anisotropymaterialextension"
|
|
218
|
-
appinfo="AnisotropyMaterialExtension is an extension for PhysicalMaterial
|
|
218
|
+
appinfo="AnisotropyMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
219
219
|
<componentInfo name="X_ITE" level="1" />
|
|
220
220
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
221
221
|
<field name="metadata"
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
<ConcreteNode name="ClearcoatMaterialExtension">
|
|
406
406
|
<InterfaceDefinition
|
|
407
407
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/clearcoatmaterialextension"
|
|
408
|
-
appinfo="ClearcoatMaterialExtension is an extension for PhysicalMaterial
|
|
408
|
+
appinfo="ClearcoatMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
409
409
|
<componentInfo name="X_ITE" level="1" />
|
|
410
410
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
411
411
|
<field name="metadata"
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
<ConcreteNode name="DispersionMaterialExtension">
|
|
531
531
|
<InterfaceDefinition
|
|
532
532
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/dispersionmaterialextension"
|
|
533
|
-
appinfo="DispersionMaterialExtension is an extension for PhysicalMaterial
|
|
533
|
+
appinfo="DispersionMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
534
534
|
<componentInfo name="X_ITE" level="1" />
|
|
535
535
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
536
536
|
<field name="metadata"
|
|
@@ -553,7 +553,7 @@
|
|
|
553
553
|
<ConcreteNode name="EmissiveStrengthMaterialExtension">
|
|
554
554
|
<InterfaceDefinition
|
|
555
555
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/emissivestrengthmaterialextension"
|
|
556
|
-
appinfo="EmissiveStrengthMaterialExtension is an extension for PhysicalMaterial
|
|
556
|
+
appinfo="EmissiveStrengthMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes.">
|
|
557
557
|
<componentInfo name="X_ITE" level="1" />
|
|
558
558
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
559
559
|
<field name="metadata"
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
<ConcreteNode name="IORMaterialExtension">
|
|
577
577
|
<InterfaceDefinition
|
|
578
578
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/iormaterialextension"
|
|
579
|
-
appinfo="IORMaterialExtension is an extension for PhysicalMaterial
|
|
579
|
+
appinfo="IORMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
580
580
|
<componentInfo name="X_ITE" level="1" />
|
|
581
581
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
582
582
|
<field name="metadata"
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
<ConcreteNode name="IridescenceMaterialExtension">
|
|
682
682
|
<InterfaceDefinition
|
|
683
683
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/iridescencematerialextension"
|
|
684
|
-
appinfo="IridescenceMaterialExtension is an extension for PhysicalMaterial
|
|
684
|
+
appinfo="IridescenceMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
685
685
|
<componentInfo name="X_ITE" level="1" />
|
|
686
686
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
687
687
|
<field name="metadata"
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
<ConcreteNode name="SheenMaterialExtension">
|
|
752
752
|
<InterfaceDefinition
|
|
753
753
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/sheenmaterialextension"
|
|
754
|
-
appinfo="SheenMaterialExtension is an extension for PhysicalMaterial
|
|
754
|
+
appinfo="SheenMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
755
755
|
<componentInfo name="X_ITE" level="1" />
|
|
756
756
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
757
757
|
<field name="metadata"
|
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
<ConcreteNode name="SpecularMaterialExtension">
|
|
951
951
|
<InterfaceDefinition
|
|
952
952
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/specularmaterialextension"
|
|
953
|
-
appinfo="SpecularMaterialExtension is an extension for PhysicalMaterial
|
|
953
|
+
appinfo="SpecularMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
954
954
|
<componentInfo name="X_ITE" level="1" />
|
|
955
955
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
956
956
|
<field name="metadata"
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
<ConcreteNode name="TransmissionMaterialExtension">
|
|
1008
1008
|
<InterfaceDefinition
|
|
1009
1009
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/transmissionmaterialextension"
|
|
1010
|
-
appinfo="TransmissionMaterialExtension is an extension for PhysicalMaterial
|
|
1010
|
+
appinfo="TransmissionMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
1011
1011
|
<componentInfo name="X_ITE" level="1" />
|
|
1012
1012
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
1013
1013
|
<field name="metadata"
|
|
@@ -1043,7 +1043,7 @@
|
|
|
1043
1043
|
<ConcreteNode name="VolumeMaterialExtension">
|
|
1044
1044
|
<InterfaceDefinition
|
|
1045
1045
|
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/volumematerialextension"
|
|
1046
|
-
appinfo="VolumeMaterialExtension is an extension for PhysicalMaterial
|
|
1046
|
+
appinfo="VolumeMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
1047
1047
|
<componentInfo name="X_ITE" level="1" />
|
|
1048
1048
|
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
1049
1049
|
<field name="metadata"
|
|
@@ -1092,5 +1092,63 @@
|
|
|
1092
1092
|
</InterfaceDefinition>
|
|
1093
1093
|
</ConcreteNode>
|
|
1094
1094
|
|
|
1095
|
+
<ConcreteNode name="DiffuseTransmissionMaterialExtension">
|
|
1096
|
+
<InterfaceDefinition
|
|
1097
|
+
specificationUrl="https://create3000.github.io/x_ite/components/x-ite/diffusetransmissionmaterialextension"
|
|
1098
|
+
appinfo="DiffuseTransmissionMaterialExtension is an extension for the PhysicalMaterial and SpecularGlossinessMaterial nodes. For this node to have an effect, add an EnvironmentLight node.">
|
|
1099
|
+
<componentInfo name="X_ITE" level="1" />
|
|
1100
|
+
<Inheritance baseType="X3DMaterialExtensionNode" />
|
|
1101
|
+
<field name="metadata"
|
|
1102
|
+
type="SFNode"
|
|
1103
|
+
accessType="inputOutput"
|
|
1104
|
+
default="NULL"
|
|
1105
|
+
inheritedFrom="X3DMetadataObject"
|
|
1106
|
+
description="Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node."
|
|
1107
|
+
></field>
|
|
1108
|
+
<field name="diffuseTransmission"
|
|
1109
|
+
type="SFFloat"
|
|
1110
|
+
accessType="inputOutput"
|
|
1111
|
+
default="0"
|
|
1112
|
+
minInclusive="0"
|
|
1113
|
+
description="The percentage of reflected, non-specularly reflected light that is transmitted through the surface via the Lambertian diffuse transmission, i.e., the strength of the diffuse transmission effect."
|
|
1114
|
+
></field>
|
|
1115
|
+
<field name="diffuseTransmissionTextureMapping"
|
|
1116
|
+
type="SFString"
|
|
1117
|
+
accessType="inputOutput"
|
|
1118
|
+
default=""
|
|
1119
|
+
description="Input/Output field *diffuseTransmissionTextureMapping*."
|
|
1120
|
+
></field>
|
|
1121
|
+
<field name="diffuseTransmissionTexture"
|
|
1122
|
+
type="SFNode"
|
|
1123
|
+
accessType="inputOutput"
|
|
1124
|
+
default="NULL"
|
|
1125
|
+
inheritedFrom="X3DSingleTextureNode"
|
|
1126
|
+
description="A texture that defines the strength of the diffuse transmission effect, stored in the alpha (A) channel. Will be multiplied by the diffuseTransmissionFactor."
|
|
1127
|
+
></field>
|
|
1128
|
+
<field name="diffuseTransmissionColor"
|
|
1129
|
+
type="SFColor"
|
|
1130
|
+
accessType="inputOutput"
|
|
1131
|
+
default="1 1 1"
|
|
1132
|
+
minInclusive="0"
|
|
1133
|
+
maxInclusive="1"
|
|
1134
|
+
description="The color of the transmitted light."
|
|
1135
|
+
></field>
|
|
1136
|
+
<field name="diffuseTransmissionColorTextureMapping"
|
|
1137
|
+
type="SFString"
|
|
1138
|
+
accessType="inputOutput"
|
|
1139
|
+
default=""
|
|
1140
|
+
description="Input/Output field *diffuseTransmissionColorTextureMapping*."
|
|
1141
|
+
></field>
|
|
1142
|
+
<field name="diffuseTransmissionColorTexture"
|
|
1143
|
+
type="SFNode"
|
|
1144
|
+
accessType="inputOutput"
|
|
1145
|
+
default="NULL"
|
|
1146
|
+
inheritedFrom="X3DSingleTextureNode"
|
|
1147
|
+
description="A texture that defines the color of the transmitted light, stored in the RGB channels and encoded in sRGB. This texture will be multiplied by diffuseTransmissionColorFactor."
|
|
1148
|
+
></field>
|
|
1149
|
+
<containerField default="extensions" type="xs:NMTOKEN" />
|
|
1150
|
+
</InterfaceDefinition>
|
|
1151
|
+
</ConcreteNode>
|
|
1152
|
+
|
|
1095
1153
|
</ConcreteNodes>
|
|
1096
1154
|
</X3dUnifiedObjectModel>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.
|
|
1
|
+
/* X_ITE v10.2.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -38,31 +38,31 @@
|
|
|
38
38
|
// UNUSED EXPORTS: default
|
|
39
39
|
|
|
40
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
41
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components");
|
|
42
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
43
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
44
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
44
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Fields");
|
|
45
45
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
46
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
47
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
47
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
48
48
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
49
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
50
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
50
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
51
51
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
52
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
|
|
53
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
53
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
54
54
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
55
55
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
56
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
56
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
57
57
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
58
58
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
59
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
59
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/Group");
|
|
60
60
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
61
61
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
62
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
62
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DConstants");
|
|
63
63
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
64
64
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
65
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
65
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Namespace");
|
|
66
66
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
67
67
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationLayer.js
|
|
68
68
|
/*******************************************************************************
|
|
@@ -179,7 +179,7 @@ const __default__ = AnnotationLayer;
|
|
|
179
179
|
Namespace_default().add ("AnnotationLayer", "x_ite/Components/Annotation/AnnotationLayer", __default__);
|
|
180
180
|
/* harmony default export */ const Annotation_AnnotationLayer = (__default__);
|
|
181
181
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
182
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
182
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
183
183
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
184
184
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
|
|
185
185
|
/*******************************************************************************
|
|
@@ -291,7 +291,7 @@ const AnnotationTarget_default_ = AnnotationTarget;
|
|
|
291
291
|
Namespace_default().add ("AnnotationTarget", "x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
|
|
292
292
|
/* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
|
|
293
293
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
294
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
294
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
295
295
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
296
296
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
|
|
297
297
|
/*******************************************************************************
|
|
@@ -503,7 +503,7 @@ const GroupAnnotation_default_ = GroupAnnotation;
|
|
|
503
503
|
Namespace_default().add ("GroupAnnotation", "x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
|
|
504
504
|
/* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
|
|
505
505
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
506
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
506
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
507
507
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
508
508
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
|
|
509
509
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v10.
|
|
1
|
+
/* X_ITE v10.2.0 */(()=>{"use strict";var e={n:n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},d:(n,t)=>{for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components");var t=e.n(n);const o=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Fields");var i=e.n(o);const a=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DFieldDefinition");var r=e.n(a);const p=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(p);const u=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Layering/X3DLayerNode");var s=e.n(u);const c=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Navigation/Viewpoint");var d=e.n(c);const w=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Grouping/Group");var m=e.n(w);const y=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DConstants");var b=e.n(y);const f=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Namespace");var O=e.n(f);function v(e){s().call(this,e,new(d())(e),new(m())(e)),this.addType(b().AnnotationLayer)}Object.assign(Object.setPrototypeOf(v.prototype,s().prototype),{initialize(){s().prototype.initialize.call(this)}}),Object.defineProperties(v,{typeName:{value:"AnnotationLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze({from:"4.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"isPickable",new(i().SFBool)(!0)),new(r())(b().inputOutput,"layoutPolicy",new(i().MFString)),new(r())(b().inputOutput,"shownGroupID",new(i().MFString)),new(r())(b().inputOutput,"viewport",new(i().SFNode))]),enumerable:!0}});const S=v;O().add("AnnotationLayer","x_ite/Components/Annotation/AnnotationLayer",S);const F=S,A=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Core/X3DChildNode");var h=e.n(A);function g(e){h().call(this,e),this.addType(b().AnnotationTarget)}Object.assign(Object.setPrototypeOf(g.prototype,h().prototype),{initialize(){h().prototype.initialize.call(this)}}),Object.defineProperties(g,{typeName:{value:"AnnotationTarget",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"4.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"referencePoint",new(i().SFVec3f)),new(r())(b().inputOutput,"leadLineStyle",new(i().SFNode)),new(r())(b().inputOutput,"marker",new(i().SFNode)),new(r())(b().inputOutput,"annotations",new(i().MFNode))]),enumerable:!0}});const j=g;O().add("AnnotationTarget","x_ite/Components/Annotation/AnnotationTarget",j);const D=j,N=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var I=e.n(N);function X(e){h().call(this,e),this.addType(b().X3DAnnotationNode)}Object.assign(Object.setPrototypeOf(X.prototype,h().prototype),{initialize(){h().prototype.initialize.call(this)}}),Object.defineProperties(X,{typeName:{value:"X3DAnnotationNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0}});const _=X;O().add("X3DAnnotationNode","x_ite/Components/Annotation/X3DAnnotationNode",_);const z=_;function T(e){I().call(this,e),z.call(this,e),this.addType(b().GroupAnnotation)}Object.assign(Object.setPrototypeOf(T.prototype,I().prototype),z.prototype,{initialize(){I().prototype.initialize.call(this),z.prototype.initialize.call(this)},dispose(){z.prototype.dispose.call(this),I().prototype.dispose.call(this)}}),Object.defineProperties(T,{typeName:{value:"GroupAnnotation",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"4.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"visible",new(i().SFBool)(!0)),new(r())(b().inputOutput,"bboxDisplay",new(i().SFBool)),new(r())(b().initializeOnly,"bboxSize",new(i().SFVec3f)(-1,-1,-1)),new(r())(b().initializeOnly,"bboxCenter",new(i().SFVec3f)),new(r())(b().inputOnly,"addChildren",new(i().MFNode)),new(r())(b().inputOnly,"removeChildren",new(i().MFNode)),new(r())(b().inputOutput,"children",new(i().MFNode))]),enumerable:!0}});const x=T;O().add("GroupAnnotation","x_ite/Components/Annotation/GroupAnnotation",x);const P=x,C=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Networking/X3DUrlObject");var E=e.n(C);function R(e){z.call(this,e),E().call(this,e),this.addType(b().IconAnnotation)}Object.assign(Object.setPrototypeOf(R.prototype,z.prototype),E().prototype,{initialize(){z.prototype.initialize.call(this),E().prototype.initialize.call(this)},requestImmediateLoad(e=!0){},dispose(){E().prototype.dispose.call(this),z.prototype.dispose.call(this)}}),Object.defineProperties(R,{typeName:{value:"IconAnnotation",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"4.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"url",new(i().MFString)),new(r())(b().inputOutput,"autoRefresh",new(i().SFTime)),new(r())(b().inputOutput,"autoRefreshTimeLimit",new(i().SFTime)(3600))]),enumerable:!0}});const q=R;O().add("IconAnnotation","x_ite/Components/Annotation/IconAnnotation",q);const G=q;function L(e){z.call(this,e),this.addType(b().TextAnnotation)}Object.assign(Object.setPrototypeOf(L.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this)}}),Object.defineProperties(L,{typeName:{value:"TextAnnotation",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"4.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"contentType",new(i().SFString)("text/plain")),new(r())(b().inputOutput,"text",new(i().SFString))]),enumerable:!0}});const B=L;O().add("TextAnnotation","x_ite/Components/Annotation/TextAnnotation",B);const M=B;function V(e){z.call(this,e),this.addType(b().URLAnnotation)}Object.assign(Object.setPrototypeOf(V.prototype,z.prototype),{initialize(){z.prototype.initialize.call(this)}}),Object.defineProperties(V,{typeName:{value:"URLAnnotation",enumerable:!0},componentInfo:{value:Object.freeze({name:"Annotation",level:1}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"4.0",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(l())([new(r())(b().inputOutput,"metadata",new(i().SFNode)),new(r())(b().inputOutput,"enabled",new(i().SFBool)(!0)),new(r())(b().inputOutput,"annotationGroupID",new(i().SFString)),new(r())(b().inputOutput,"displayPolicy",new(i().SFString)("NEVER")),new(r())(b().inputOutput,"url",new(i().MFString))]),enumerable:!0}});const U=V;O().add("URLAnnotation","x_ite/Components/Annotation/URLAnnotation",U);const k=U;t().add({name:"Annotation",concreteNodes:[F,D,P,G,M,k],abstractNodes:[z]});const H=void 0;O().add("Annotation","assets/components/Annotation",H)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.
|
|
1
|
+
/* X_ITE v10.2.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -38,28 +38,28 @@
|
|
|
38
38
|
// UNUSED EXPORTS: default
|
|
39
39
|
|
|
40
40
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
41
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
41
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components");
|
|
42
42
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
43
43
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
44
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
44
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Fields");
|
|
45
45
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
46
46
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
47
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
47
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
48
48
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
49
49
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
50
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
50
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
51
51
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
52
52
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
53
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
53
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
54
54
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
55
55
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
56
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
56
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
57
57
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
58
58
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
59
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
59
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DConstants");
|
|
60
60
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
61
61
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
62
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
62
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Namespace");
|
|
63
63
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
64
64
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js
|
|
65
65
|
/*******************************************************************************
|
|
@@ -253,13 +253,13 @@ const CADAssembly_default_ = CADAssembly;
|
|
|
253
253
|
Namespace_default().add ("CADAssembly", "x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
|
|
254
254
|
/* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
|
|
255
255
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
256
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
256
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
257
257
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
258
258
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
259
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
259
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Rendering/TraverseType");
|
|
260
260
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
261
261
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
262
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
262
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Base/X3DCast");
|
|
263
263
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
264
264
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
|
|
265
265
|
/*******************************************************************************
|
|
@@ -625,7 +625,7 @@ const CADLayer_default_ = CADLayer;
|
|
|
625
625
|
Namespace_default().add ("CADLayer", "x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
|
|
626
626
|
/* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
|
|
627
627
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
|
|
628
|
-
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
628
|
+
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Grouping/X3DTransformNode");
|
|
629
629
|
var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
|
|
630
630
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
|
|
631
631
|
/*******************************************************************************
|
|
@@ -745,7 +745,7 @@ const CADPart_default_ = CADPart;
|
|
|
745
745
|
Namespace_default().add ("CADPart", "x_ite/Components/CADGeometry/CADPart", CADPart_default_);
|
|
746
746
|
/* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
|
|
747
747
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
|
|
748
|
-
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.
|
|
748
|
+
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.2.0")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
|
|
749
749
|
var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
|
|
750
750
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
|
|
751
751
|
/*******************************************************************************
|
|
@@ -880,8 +880,8 @@ Object .defineProperties (IndexedQuadSet,
|
|
|
880
880
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "fogCoord", new (Fields_default()).SFNode ()),
|
|
881
881
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "color", new (Fields_default()).SFNode ()),
|
|
882
882
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
|
|
883
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
884
883
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tangent", new (Fields_default()).SFNode ()), // experimental
|
|
884
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
885
885
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "coord", new (Fields_default()).SFNode ()),
|
|
886
886
|
]),
|
|
887
887
|
enumerable: true,
|
|
@@ -1021,8 +1021,8 @@ Object .defineProperties (QuadSet,
|
|
|
1021
1021
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "fogCoord", new (Fields_default()).SFNode ()),
|
|
1022
1022
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "color", new (Fields_default()).SFNode ()),
|
|
1023
1023
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "texCoord", new (Fields_default()).SFNode ()),
|
|
1024
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
1025
1024
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "tangent", new (Fields_default()).SFNode ()), // experimental
|
|
1025
|
+
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "normal", new (Fields_default()).SFNode ()),
|
|
1026
1026
|
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "coord", new (Fields_default()).SFNode ()),
|
|
1027
1027
|
]),
|
|
1028
1028
|
enumerable: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v10.1.0 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const l=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/FieldDefinitionArray");var s=e.n(l);const u=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Namespace");var y=e.n(m);function h(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(h.prototype,c().prototype),Object.defineProperties(h,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0}});const O=h;y().add("X3DProductStructureChildNode","x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const f=O;function _(e){d().call(this,e),f.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(_.prototype,d().prototype),{}),Object.defineProperties(_,{typeName:{value:"CADAssembly",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const S=_;y().add("CADAssembly","x_ite/Components/CADGeometry/CADAssembly",S);const v=S,D=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var N=e.n(D);const C=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Rendering/TraverseType");var F=e.n(C);const x=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Base/X3DCast");var g=e.n(x);function j(e){f.call(this,e),N().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(j.prototype,f.prototype),N().prototype,{initialize(){f.prototype.initialize.call(this),N().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._display.removeInterest("set_display__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;const e=g()(w().X3DChildNode,this._shape);if(e){const t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case w().LOD:case w().Transform:case w().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._display.addInterest("set_display__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_display__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(this.visibleNode?.isPickableObject())},set_display__(){this.childNode?this.visibleNode=this.childNode._display.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse(e,t){switch(e){case F().POINTER:case F().CAMERA:case F().SHADOW:return void this.visibleNode?.traverse(e,t);case F().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case F().COLLISION:return void this.visibleNode?.traverse(e,t);case F().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){N().prototype.dispose.call(this),f.prototype.dispose.call(this)}}),Object.defineProperties(j,{typeName:{value:"CADFace",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOutput,"shape",new(o().SFNode))]),enumerable:!0}});const I=j;y().add("CADFace","x_ite/Components/CADGeometry/CADFace",I);const z=I;function A(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(A.prototype,d().prototype),Object.defineProperties(A,{typeName:{value:"CADLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const P=A;y().add("CADLayer","x_ite/Components/CADGeometry/CADLayer",P);const X=P,B=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Grouping/X3DTransformNode");var T=e.n(B);function V(e){T().call(this,e),f.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(V.prototype,T().prototype),{}),Object.defineProperties(V,{typeName:{value:"CADPart",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"translation",new(o().SFVec3f)),new(a())(w().inputOutput,"rotation",new(o().SFRotation)),new(a())(w().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(a())(w().inputOutput,"scaleOrientation",new(o().SFRotation)),new(a())(w().inputOutput,"center",new(o().SFVec3f)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const G=V;y().add("CADPart","x_ite/Components/CADGeometry/CADPart",G);const M=G,E=window[Symbol.for("X_ITE.X3D-10.1.0")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var q=e.n(E);function R(e){q().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(R.prototype,q().prototype),{initialize(){q().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},getVerticesPerPolygon:()=>4,getNumVertices(){return this._index.length},build(){let e=this._index.length;e-=e%4,q().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(R,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOnly,"set_index",new(o().MFInt32)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"index",new(o().MFInt32)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"tangent",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const L=R;y().add("IndexedQuadSet","x_ite/Components/CADGeometry/IndexedQuadSet",L);const Q=L;function k(e){q().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,q().prototype),{getTriangleIndex(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getVerticesPerPolygon:()=>4,getNumVertices(){return this.getCoord()?.getSize()},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,q().prototype.build.call(this,4,e,6,e/4*6)},createNormals(e,t){return this.createFaceNormals(e,t)}}),Object.defineProperties(k,{typeName:{value:"QuadSet",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"tangent",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const H=k;y().add("QuadSet","x_ite/Components/CADGeometry/QuadSet",H);const K=H;n().add({name:"CADGeometry",concreteNodes:[v,z,X,M,Q,K],abstractNodes:[f]});const W=void 0;y().add("CADGeometry","assets/components/CADGeometry",W)})();
|
|
1
|
+
/* X_ITE v10.2.0 */(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const l=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/FieldDefinitionArray");var s=e.n(l);const u=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Namespace");var y=e.n(m);function h(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(h.prototype,c().prototype),Object.defineProperties(h,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0}});const O=h;y().add("X3DProductStructureChildNode","x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const f=O;function _(e){d().call(this,e),f.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(_.prototype,d().prototype),{}),Object.defineProperties(_,{typeName:{value:"CADAssembly",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const S=_;y().add("CADAssembly","x_ite/Components/CADGeometry/CADAssembly",S);const v=S,D=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var N=e.n(D);const C=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Rendering/TraverseType");var F=e.n(C);const x=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Base/X3DCast");var g=e.n(x);function j(e){f.call(this,e),N().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(j.prototype,f.prototype),N().prototype,{initialize(){f.prototype.initialize.call(this),N().prototype.initialize.call(this),this._shape.addInterest("set_shape__",this),this.set_shape__()},getBBox(e,t){return this._bboxSize.getValue().equals(this.getDefaultBBoxSize())?this.visibleNode?.getBBox(e,t)??e.set():e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_shape__(){this.childNode&&(this.childNode._isCameraObject.removeInterest("set_cameraObject__",this),this.childNode._isPickableObject.removeInterest("set_transformSensors__",this),this.childNode._display.removeInterest("set_display__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;const e=g()(w().X3DChildNode,this._shape);if(e){const t=e.getType();for(let n=t.length-1;n>=0;--n){switch(t[n]){case w().LOD:case w().Transform:case w().X3DShapeNode:e._isCameraObject.addInterest("set_cameraObject__",this),e._isPickableObject.addInterest("set_transformSensors__",this),e._display.addInterest("set_display__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_display__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(this.visibleNode?.isPickableObject())},set_display__(){this.childNode?this.visibleNode=this.childNode._display.getValue()?this.childNode:null:this.visibleNode=null,this.set_cameraObject__(),this.set_transformSensors__()},set_bboxDisplay__(){this.childNode?this.boundedObject=this.childNode._bboxDisplay.getValue()?this.childNode:null:this.boundedObject=null},traverse(e,t){switch(e){case F().POINTER:case F().CAMERA:case F().SHADOW:return void this.visibleNode?.traverse(e,t);case F().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case F().COLLISION:return void this.visibleNode?.traverse(e,t);case F().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){N().prototype.dispose.call(this),f.prototype.dispose.call(this)}}),Object.defineProperties(j,{typeName:{value:"CADFace",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOutput,"shape",new(o().SFNode))]),enumerable:!0}});const I=j;y().add("CADFace","x_ite/Components/CADGeometry/CADFace",I);const z=I;function A(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(A.prototype,d().prototype),Object.defineProperties(A,{typeName:{value:"CADLayer",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const P=A;y().add("CADLayer","x_ite/Components/CADGeometry/CADLayer",P);const X=P,B=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Grouping/X3DTransformNode");var T=e.n(B);function V(e){T().call(this,e),f.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(V.prototype,T().prototype),{}),Object.defineProperties(V,{typeName:{value:"CADPart",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:2}),enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOutput,"name",new(o().SFString)),new(a())(w().inputOutput,"translation",new(o().SFVec3f)),new(a())(w().inputOutput,"rotation",new(o().SFRotation)),new(a())(w().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(a())(w().inputOutput,"scaleOrientation",new(o().SFRotation)),new(a())(w().inputOutput,"center",new(o().SFVec3f)),new(a())(w().inputOutput,"visible",new(o().SFBool)(!0)),new(a())(w().inputOutput,"bboxDisplay",new(o().SFBool)),new(a())(w().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(a())(w().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(a())(w().inputOnly,"addChildren",new(o().MFNode)),new(a())(w().inputOnly,"removeChildren",new(o().MFNode)),new(a())(w().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const G=V;y().add("CADPart","x_ite/Components/CADGeometry/CADPart",G);const M=G,E=window[Symbol.for("X_ITE.X3D-10.2.0")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var q=e.n(E);function R(e){q().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(R.prototype,q().prototype),{initialize(){q().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},getVerticesPerPolygon:()=>4,getNumVertices(){return this._index.length},build(){let e=this._index.length;e-=e%4,q().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(R,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().inputOnly,"set_index",new(o().MFInt32)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"index",new(o().MFInt32)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"tangent",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const L=R;y().add("IndexedQuadSet","x_ite/Components/CADGeometry/IndexedQuadSet",L);const Q=L;function k(e){q().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,q().prototype),{getTriangleIndex(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getVerticesPerPolygon:()=>4,getNumVertices(){return this.getCoord()?.getSize()},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,q().prototype.build.call(this,4,e,6,e/4*6)},createNormals(e,t){return this.createFaceNormals(e,t)}}),Object.defineProperties(k,{typeName:{value:"QuadSet",enumerable:!0},componentInfo:{value:Object.freeze({name:"CADGeometry",level:1}),enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze({from:"3.1",to:"Infinity"}),enumerable:!0},fieldDefinitions:{value:new(s())([new(a())(w().inputOutput,"metadata",new(o().SFNode)),new(a())(w().initializeOnly,"solid",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"ccw",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(a())(w().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(a())(w().inputOutput,"attrib",new(o().MFNode)),new(a())(w().inputOutput,"fogCoord",new(o().SFNode)),new(a())(w().inputOutput,"color",new(o().SFNode)),new(a())(w().inputOutput,"texCoord",new(o().SFNode)),new(a())(w().inputOutput,"tangent",new(o().SFNode)),new(a())(w().inputOutput,"normal",new(o().SFNode)),new(a())(w().inputOutput,"coord",new(o().SFNode))]),enumerable:!0}});const H=k;y().add("QuadSet","x_ite/Components/CADGeometry/QuadSet",H);const K=H;n().add({name:"CADGeometry",concreteNodes:[v,z,X,M,Q,K],abstractNodes:[f]});const W=void 0;y().add("CADGeometry","assets/components/CADGeometry",W)})();
|