x_ite 8.10.1 → 8.11.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/Makefile +3 -0
- package/build/bin/version.pl +28 -20
- package/build/docs/glTF-samples.pl +151 -0
- package/build/docs/nodes.pl +1 -1
- package/build/src/nodes.pl +41 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +30 -26
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +14 -14
- 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 +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +394 -30
- 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 +26 -26
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +73 -74
- 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 +18 -18
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +55 -63
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +35 -31
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +20 -20
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +1456 -844
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +2 -2
- package/docs/_posts/components/Core/MetadataBoolean.md +6 -4
- package/docs/_posts/components/Core/MetadataDouble.md +6 -4
- package/docs/_posts/components/Core/MetadataFloat.md +6 -4
- package/docs/_posts/components/Core/MetadataInteger.md +6 -4
- package/docs/_posts/components/Core/MetadataSet.md +6 -4
- package/docs/_posts/components/Core/MetadataString.md +6 -4
- package/docs/_posts/components/DIS/DISEntityTypeMapping.md +1 -1
- package/docs/_posts/components/HAnim/HAnimMotion.md +48 -48
- package/docs/_posts/components/RigidBodyPhysics/Contact.md +1 -1
- package/docs/_posts/getting-started.md +45 -35
- package/docs/_posts/reference/browser-services.md +6 -0
- package/docs/_tabs/playground.html +215 -15
- package/docs/assets/css/style.scss +35 -2
- package/docs/assets/js/example.js +95 -3
- package/docs/laboratory/gltf-sample-viewer.html +603 -235
- package/package.json +2 -2
- package/src/assets/shaders/Types.glsl.js +4 -0
- package/src/assets/shaders/webgl1/include/Hatch.glsl.js +2 -3
- package/src/assets/shaders/webgl2/Compose.fs.js +29 -0
- package/src/assets/shaders/webgl2/Compose.vs.js +14 -0
- package/src/assets/shaders/webgl2/include/Fragment.glsl.js +24 -2
- package/src/assets/shaders/webgl2/include/Hatch.glsl.js +2 -3
- package/src/assets/shaders/webgl2/include/Stipple.glsl.js +5 -3
- package/src/bookmarks.js +92 -5
- package/src/examples.js +1 -0
- package/src/standard/Math/Numbers/Quaternion.js +191 -13
- package/src/standard/Math/Numbers/Rotation4.js +23 -0
- package/src/standard/Time/{MicroTime.js → Time.js} +21 -28
- package/src/x_ite/Base/X3DChildObject.js +5 -4
- package/src/x_ite/Browser/Core/BrowserOptions.js +71 -60
- package/src/x_ite/Browser/Core/Context.js +2 -2
- package/src/x_ite/Browser/Core/X3DCoreContext.js +6 -0
- package/src/x_ite/Browser/DOMIntegration.js +0 -17
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +5 -4
- package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +7 -4
- package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +20 -15
- package/src/x_ite/Browser/Shaders/Shaders.js +19 -15
- package/src/x_ite/Browser/Text/X3DTextContext.js +16 -16
- package/src/x_ite/Browser/Time/X3DTimeContext.js +3 -2
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/VolumeMaterial.js +2 -2
- package/src/x_ite/Browser/X3DBrowser.js +1 -2
- package/src/x_ite/Browser/X3DBrowserContext.js +0 -5
- package/src/x_ite/Components/Core/MetadataBoolean.js +8 -1
- package/src/x_ite/Components/Core/MetadataDouble.js +8 -1
- package/src/x_ite/Components/Core/MetadataFloat.js +8 -1
- package/src/x_ite/Components/Core/MetadataInteger.js +8 -1
- package/src/x_ite/Components/Core/MetadataSet.js +8 -1
- package/src/x_ite/Components/Core/MetadataString.js +8 -1
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +9 -6
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +2 -1
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +1 -1
- package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +5 -1
- package/src/x_ite/Components/Grouping/X3DGroupingNode.js +2 -0
- package/src/x_ite/Components/HAnim/HAnimHumanoid.js +34 -2
- package/src/x_ite/Components/HAnim/HAnimMotion.js +331 -15
- package/src/x_ite/Components/Lighting/DirectionalLight.js +1 -3
- package/src/x_ite/Components/Lighting/PointLight.js +1 -3
- package/src/x_ite/Components/Lighting/SpotLight.js +1 -3
- package/src/x_ite/Components/Networking/X3DUrlObject.js +5 -4
- package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +47 -51
- package/src/x_ite/Components/Rendering/X3DGeometryNode.js +4 -2
- package/src/x_ite/Components/RigidBodyPhysics/Contact.js +1 -1
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +1 -1
- package/src/x_ite/Components/Shape/FillProperties.js +4 -0
- package/src/x_ite/Components/Shape/LineProperties.js +4 -0
- package/src/x_ite/Components/Shape/PointProperties.js +4 -0
- package/src/x_ite/Components/Shape/X3DMaterialNode.js +44 -20
- package/src/x_ite/Components/Sound/AudioClip.js +2 -1
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +13 -23
- package/src/x_ite/Components/Texturing/ImageTexture.js +2 -1
- package/src/x_ite/Components/Texturing/MovieTexture.js +2 -1
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +2 -1
- package/src/x_ite/Components/Time/TimeSensor.js +25 -24
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +5 -4
- package/src/x_ite/Execution/BindableList.js +3 -3
- package/src/x_ite/Execution/X3DScene.js +2 -0
- package/src/x_ite/Parser/XMLParser.js +12 -2
- package/src/x_ite/Rendering/MultiSampleFrameBuffer.js +264 -26
- package/src/x_ite/Rendering/PointingBuffer.js +5 -7
- package/src/x_ite/Rendering/TextureBuffer.js +6 -14
- package/src/x_ite/Rendering/X3DRenderObject.js +28 -28
- package/src/x_ite/X3D.js +0 -1
- package/src/x_ite/X3DCanvasElement.js +2 -0
- package/src/x_ite.html +23 -24
- package/x_ite.min.html +23 -24
- /package/build/{bin → docs}/tags.pl +0 -0
package/Makefile
CHANGED
package/build/bin/version.pl
CHANGED
|
@@ -105,40 +105,48 @@ sub other {
|
|
|
105
105
|
system "make", "publish";
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
if (`git branch --show-current` ne "
|
|
108
|
+
if (`git branch --show-current` ne "development\n")
|
|
109
109
|
{
|
|
110
|
-
say "Wrong branch, cannot release version!";
|
|
111
|
-
exit;
|
|
110
|
+
say "Wrong branch, must be development, cannot release version!";
|
|
111
|
+
exit 1;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
say "Waiting for confirmation ...";
|
|
115
115
|
|
|
116
116
|
my $result = system "zenity", "--question", "--text=Do you really want to publish X_ITE X3D v$VERSION now?", "--ok-label=Yes", "--cancel-label=No";
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
{
|
|
120
|
-
say "Publishing X_ITE X3D v$VERSION now.";
|
|
118
|
+
exit 1 unless $result == 0;
|
|
121
119
|
|
|
122
|
-
|
|
120
|
+
say "Publishing X_ITE X3D v$VERSION now.";
|
|
123
121
|
|
|
124
|
-
|
|
122
|
+
system "git", "checkout", "main";
|
|
123
|
+
system "git", "merge", "development";
|
|
125
124
|
|
|
126
|
-
|
|
125
|
+
# docs
|
|
127
126
|
|
|
128
|
-
|
|
127
|
+
docs ($VERSION) unless $ALPHA;
|
|
129
128
|
|
|
130
|
-
|
|
131
|
-
publish ($VERSION) unless $ALPHA;
|
|
132
|
-
publish ("latest") unless $ALPHA;
|
|
129
|
+
# tags
|
|
133
130
|
|
|
134
|
-
|
|
131
|
+
commit;
|
|
135
132
|
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
publish ("alpha");
|
|
134
|
+
publish ($VERSION) unless $ALPHA;
|
|
135
|
+
publish ("latest") unless $ALPHA;
|
|
138
136
|
|
|
139
|
-
|
|
137
|
+
# code
|
|
140
138
|
|
|
141
|
-
|
|
139
|
+
update ("alpha");
|
|
140
|
+
update ("latest") unless $ALPHA;
|
|
142
141
|
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
upload;
|
|
143
|
+
|
|
144
|
+
# x3d-tidy and Sunrize
|
|
145
|
+
|
|
146
|
+
other unless $ALPHA;
|
|
147
|
+
|
|
148
|
+
# switch to development branch
|
|
149
|
+
|
|
150
|
+
system "git", "checkout", "development";
|
|
151
|
+
system "git", "merge", "main";
|
|
152
|
+
system "git", "push", "origin";
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
#!/usr/bin/perl
|
|
2
|
+
use v5.10.0;
|
|
3
|
+
use utf8;
|
|
4
|
+
use open qw/:std :utf8/;
|
|
5
|
+
|
|
6
|
+
use Cwd;
|
|
7
|
+
|
|
8
|
+
say "Updating glTF examples ...";
|
|
9
|
+
|
|
10
|
+
$cwd = getcwd ();
|
|
11
|
+
|
|
12
|
+
$page = $cwd . "/docs/laboratory/gltf-sample-viewer.html";
|
|
13
|
+
$viewer = `cat $page`;
|
|
14
|
+
$random = $cwd . "/../media/docs/glTF/";
|
|
15
|
+
$samples = "/Volumes/Home/X3D/glTF/";
|
|
16
|
+
$media = "https://create3000.github.io/media/glTF";
|
|
17
|
+
$khronos = "https://raw.githubusercontent.com/KhronosGroup";
|
|
18
|
+
|
|
19
|
+
sub media {
|
|
20
|
+
say "Getting media files ...";
|
|
21
|
+
|
|
22
|
+
@files = `find '$random' -type f -name "*.gltf" -o -name "*.glb" | sort`;
|
|
23
|
+
|
|
24
|
+
my $string = "const models = [\n";
|
|
25
|
+
|
|
26
|
+
foreach (map { s|$random/||r } @files)
|
|
27
|
+
{
|
|
28
|
+
chomp;
|
|
29
|
+
$string .= " \"$media/$_\",\n";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
$string .= "];\n";
|
|
33
|
+
|
|
34
|
+
return $string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
sub glTF {
|
|
38
|
+
say "Getting glTF files ...";
|
|
39
|
+
|
|
40
|
+
@models = `find '$samples/glTF-Sample-Models/2.0' -type f -name "*.gltf" -not -path '*/\.*' | grep "/glTF/" | sort`;
|
|
41
|
+
@assets = `find '$samples/glTF-Sample-Assets/Models' -type f -name "*.gltf" -not -path '*/\.*' | grep "/glTF/" | sort`;
|
|
42
|
+
@files = (@models, @assets);
|
|
43
|
+
|
|
44
|
+
s|/glTF-Sample-Models/|/glTF-Sample-Models/master/| foreach @files;
|
|
45
|
+
s|/glTF-Sample-Assets/|/glTF-Sample-Assets/master/| foreach @files;
|
|
46
|
+
|
|
47
|
+
my $string = "const glTF = [\n";
|
|
48
|
+
|
|
49
|
+
foreach (map { s|$samples/||r } @files)
|
|
50
|
+
{
|
|
51
|
+
chomp;
|
|
52
|
+
$string .= " \"$khronos/$_\",\n";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
$string .= "];\n";
|
|
56
|
+
|
|
57
|
+
return $string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
sub glb {
|
|
61
|
+
say "Getting glTF-Binary files ...";
|
|
62
|
+
|
|
63
|
+
@models = `find '$samples/glTF-Sample-Models/2.0' -type f -name "*.glb" -not -path '*/\.*' | grep "/glTF-Binary/" | sort`;
|
|
64
|
+
@assets = `find '$samples/glTF-Sample-Assets/Models' -type f -name "*.glb" -not -path '*/\.*' | grep "/glTF-Binary/" | sort`;
|
|
65
|
+
@files = (@models, @assets);
|
|
66
|
+
|
|
67
|
+
s|/glTF-Sample-Models/|/glTF-Sample-Models/master/| foreach @files;
|
|
68
|
+
s|/glTF-Sample-Assets/|/glTF-Sample-Assets/master/| foreach @files;
|
|
69
|
+
|
|
70
|
+
my $string = "const glb = [\n";
|
|
71
|
+
|
|
72
|
+
foreach (map { s|$samples/||r } @files)
|
|
73
|
+
{
|
|
74
|
+
chomp;
|
|
75
|
+
$string .= " \"$khronos/$_\",\n";
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
$string .= "];\n";
|
|
79
|
+
|
|
80
|
+
return $string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
sub draco {
|
|
84
|
+
say "Getting glTF-Draco files ...";
|
|
85
|
+
|
|
86
|
+
@models = `find '$samples/glTF-Sample-Models/2.0' -type f -name "*.gltf" -not -path '*/\.*' | grep "/glTF-Draco/" | sort`;
|
|
87
|
+
@assets = `find '$samples/glTF-Sample-Assets/Models' -type f -name "*.gltf" -not -path '*/\.*' | grep "/glTF-Draco/" | sort`;
|
|
88
|
+
@files = (@models, @assets);
|
|
89
|
+
|
|
90
|
+
s|/glTF-Sample-Models/|/glTF-Sample-Models/master/| foreach @files;
|
|
91
|
+
s|/glTF-Sample-Assets/|/glTF-Sample-Assets/master/| foreach @files;
|
|
92
|
+
|
|
93
|
+
my $string = "const draco = [\n";
|
|
94
|
+
|
|
95
|
+
foreach (map { s|$samples/||r } @files)
|
|
96
|
+
{
|
|
97
|
+
chomp;
|
|
98
|
+
$string .= " \"$khronos/$_\",\n";
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
$string .= "];\n";
|
|
102
|
+
|
|
103
|
+
return $string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
sub embedded {
|
|
107
|
+
say "Getting glTF-Embedded files ...";
|
|
108
|
+
|
|
109
|
+
@models = `find '$samples/glTF-Sample-Models/2.0' -type f -name "*.gltf" -not -path '*/\.*' | grep "/glTF-Embedded/" | sort`;
|
|
110
|
+
@assets = `find '$samples/glTF-Sample-Assets/Models' -type f -name "*.gltf" -not -path '*/\.*' | grep "/glTF-Embedded/" | sort`;
|
|
111
|
+
@files = (@models, @assets);
|
|
112
|
+
|
|
113
|
+
s|/glTF-Sample-Models/|/glTF-Sample-Models/master/| foreach @files;
|
|
114
|
+
s|/glTF-Sample-Assets/|/glTF-Sample-Assets/master/| foreach @files;
|
|
115
|
+
|
|
116
|
+
my $string = "const embedded = [\n";
|
|
117
|
+
|
|
118
|
+
foreach (map { s|$samples/||r } @files)
|
|
119
|
+
{
|
|
120
|
+
chomp;
|
|
121
|
+
$string .= " \"$khronos/$_\",\n";
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
$string .= "];\n";
|
|
125
|
+
|
|
126
|
+
return $string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
chdir "$samples/glTF-Sample-Models";
|
|
130
|
+
system "git pull origin";
|
|
131
|
+
chdir "$samples/glTF-Sample-Assets";
|
|
132
|
+
system "git pull origin";
|
|
133
|
+
|
|
134
|
+
$string = "";
|
|
135
|
+
$string .= "// TESTS_BEGIN\n\n";
|
|
136
|
+
$string .= media;
|
|
137
|
+
$string .= "\n";
|
|
138
|
+
$string .= glTF;
|
|
139
|
+
$string .= "\n";
|
|
140
|
+
$string .= glb;
|
|
141
|
+
$string .= "\n";
|
|
142
|
+
$string .= draco;
|
|
143
|
+
$string .= "\n";
|
|
144
|
+
$string .= embedded;
|
|
145
|
+
$string .= "\n// TESTS_END";
|
|
146
|
+
|
|
147
|
+
$viewer =~ s|// TESTS_BEGIN.*?// TESTS_END|$string|s;
|
|
148
|
+
|
|
149
|
+
open PAGE, ">", $page;
|
|
150
|
+
print PAGE $viewer;
|
|
151
|
+
close PAGE;
|
package/build/docs/nodes.pl
CHANGED
|
@@ -7,7 +7,7 @@ use Cwd;
|
|
|
7
7
|
use List::MoreUtils qw(first_index);
|
|
8
8
|
use HTML::Entities;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
say "Downloading X3dTooltips.html ..." unless -f "/tmp/tooltips.html";
|
|
11
11
|
system "wget -q --output-document - https://www.web3d.org/x3d/content/X3dTooltips.html > /tmp/tooltips.html"
|
|
12
12
|
unless -f "/tmp/tooltips.html";
|
|
13
13
|
$tooltips = `cat /tmp/tooltips.html`;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/perl
|
|
2
|
+
use v5.10.0;
|
|
3
|
+
use utf8;
|
|
4
|
+
use open qw/:std :utf8/;
|
|
5
|
+
|
|
6
|
+
use Cwd;
|
|
7
|
+
|
|
8
|
+
say "Downloading DTD ..." unless -f "/tmp/x3d-4.0.dtd";
|
|
9
|
+
system "wget -q --output-document - http://www.web3d.org/specifications/x3d-4.0.dtd > /tmp/x3d-4.0.dtd"
|
|
10
|
+
unless -f "/tmp/x3d-4.0.dtd";
|
|
11
|
+
$dtd = `cat /tmp/x3d-4.0.dtd`;
|
|
12
|
+
|
|
13
|
+
sub node {
|
|
14
|
+
$filename = shift;
|
|
15
|
+
chomp $filename;
|
|
16
|
+
|
|
17
|
+
$filename =~ m|([^/]+)/([^/]+)\.js$|o;
|
|
18
|
+
|
|
19
|
+
$componentName = $1;
|
|
20
|
+
$typeName = $2;
|
|
21
|
+
|
|
22
|
+
return if $componentName =~ /^Annotation$/o;
|
|
23
|
+
return if $typeName =~ /^X3D/o;
|
|
24
|
+
|
|
25
|
+
return unless $dtd =~ /ATTLIST\s+$typeName.*?containerField.*?"(.*?)"/s;
|
|
26
|
+
|
|
27
|
+
$containerField = $1;
|
|
28
|
+
|
|
29
|
+
say "$componentName $typeName $containerField";
|
|
30
|
+
|
|
31
|
+
$file = `cat '$filename'`;
|
|
32
|
+
$file =~ s/(containerField:.*?)".*?"/$1"$containerField"/s;
|
|
33
|
+
|
|
34
|
+
open FILE, ">", $filename;
|
|
35
|
+
print FILE $file;
|
|
36
|
+
close FILE;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
$cwd = getcwd ();
|
|
40
|
+
|
|
41
|
+
node $_ foreach sort `find $cwd/src/x_ite/Components -type f -mindepth 2`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,31 +39,31 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Layering/X3DLayerNode\")"
|
|
54
|
-
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DLayerNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Layering/X3DLayerNode");
|
|
55
55
|
var X3DLayerNode_default = /*#__PURE__*/__webpack_require__.n(X3DLayerNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
|
|
57
|
-
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Navigation/Viewpoint");
|
|
58
58
|
var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
|
|
60
|
-
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/Group");
|
|
61
61
|
var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
63
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
63
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DConstants");
|
|
64
64
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
66
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
66
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Namespace");
|
|
67
67
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
68
68
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationLayer.js
|
|
69
69
|
/*******************************************************************************
|
|
@@ -180,7 +180,7 @@ const __default__ = AnnotationLayer;
|
|
|
180
180
|
Namespace_default().set ("x_ite/Components/Annotation/AnnotationLayer", __default__);
|
|
181
181
|
/* harmony default export */ const Annotation_AnnotationLayer = (__default__);
|
|
182
182
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
183
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
183
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
184
184
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
185
185
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/AnnotationTarget.js
|
|
186
186
|
/*******************************************************************************
|
|
@@ -292,7 +292,7 @@ const AnnotationTarget_default_ = AnnotationTarget;
|
|
|
292
292
|
Namespace_default().set ("x_ite/Components/Annotation/AnnotationTarget", AnnotationTarget_default_);
|
|
293
293
|
/* harmony default export */ const Annotation_AnnotationTarget = (AnnotationTarget_default_);
|
|
294
294
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
295
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
295
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
296
296
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
297
297
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/X3DAnnotationNode.js
|
|
298
298
|
/*******************************************************************************
|
|
@@ -504,7 +504,7 @@ const GroupAnnotation_default_ = GroupAnnotation;
|
|
|
504
504
|
Namespace_default().set ("x_ite/Components/Annotation/GroupAnnotation", GroupAnnotation_default_);
|
|
505
505
|
/* harmony default export */ const Annotation_GroupAnnotation = (GroupAnnotation_default_);
|
|
506
506
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
507
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
507
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
508
508
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
509
509
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Annotation/IconAnnotation.js
|
|
510
510
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.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-8.11.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Fields");var o=e.n(i);const a=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DFieldDefinition");var p=e.n(a);const r=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/FieldDefinitionArray");var u=e.n(r);const l=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Layering/X3DLayerNode");var s=e.n(l);const c=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Navigation/Viewpoint");var w=e.n(c);const d=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/Group");var m=e.n(d);const y=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DConstants");var b=e.n(y);const O=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Namespace");var f=e.n(O);function S(e){s().call(this,e,new(w())(e),new(m())(e)),this.addType(b().AnnotationLayer)}Object.assign(Object.setPrototypeOf(S.prototype,s().prototype),{initialize(){s().prototype.initialize.call(this)}}),Object.defineProperties(S,{typeName:{value:"AnnotationLayer",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"layers",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"isPickable",new(o().SFBool)(!0)),new(p())(b().inputOutput,"layoutPolicy",new(o().MFString)),new(p())(b().inputOutput,"shownGroupID",new(o().MFString)),new(p())(b().inputOutput,"viewport",new(o().SFNode))]),enumerable:!0}});const v=S;f().set("x_ite/Components/Annotation/AnnotationLayer",v);const F=v,h=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Core/X3DChildNode");var N=e.n(h);function A(e){N().call(this,e),this.addType(b().AnnotationTarget)}Object.assign(Object.setPrototypeOf(A.prototype,N().prototype),{initialize(){N().prototype.initialize.call(this)}}),Object.defineProperties(A,{typeName:{value:"AnnotationTarget",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"referencePoint",new(o().SFVec3f)(0,0,0)),new(p())(b().inputOutput,"leadLineStyle",new(o().SFNode)),new(p())(b().inputOutput,"marker",new(o().SFNode)),new(p())(b().inputOutput,"annotations",new(o().MFNode))]),enumerable:!0}});const g=A;f().set("x_ite/Components/Annotation/AnnotationTarget",g);const D=g,X=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var _=e.n(X);function j(e){N().call(this,e),this.addType(b().X3DAnnotationNode)}Object.assign(Object.setPrototypeOf(j.prototype,N().prototype),{initialize(){N().prototype.initialize.call(this)}}),Object.defineProperties(j,{typeName:{value:"X3DAnnotationNode",enumerable:!0},componentName:{value:"Annotation",enumerable:!0}});const T=j;f().set("x_ite/Components/Annotation/X3DAnnotationNode",T);const x=T;function I(e){_().call(this,e),x.call(this,e),this.addType(b().GroupAnnotation)}Object.assign(Object.setPrototypeOf(I.prototype,_().prototype),x.prototype,{initialize(){_().prototype.initialize.call(this),x.prototype.initialize.call(this)},dispose(){x.prototype.dispose.call(this),_().prototype.dispose.call(this)}}),Object.defineProperties(I,{typeName:{value:"GroupAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"visible",new(o().SFBool)(!0)),new(p())(b().inputOutput,"bboxDisplay",new(o().SFBool)),new(p())(b().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(p())(b().initializeOnly,"bboxCenter",new(o().SFVec3f)(0,0,0)),new(p())(b().inputOnly,"addChildren",new(o().MFNode)),new(p())(b().inputOnly,"removeChildren",new(o().MFNode)),new(p())(b().inputOutput,"children",new(o().MFNode))]),enumerable:!0}});const z=I;f().set("x_ite/Components/Annotation/GroupAnnotation",z);const P=z,C=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Networking/X3DUrlObject");var E=e.n(C);function R(e){x.call(this,e),E().call(this,e),this.addType(b().IconAnnotation)}Object.assign(Object.setPrototypeOf(R.prototype,x.prototype),E().prototype,{initialize(){x.prototype.initialize.call(this),E().prototype.initialize.call(this)},requestImmediateLoad(e=!0){},dispose(){E().prototype.dispose.call(this),x.prototype.dispose.call(this)}}),Object.defineProperties(R,{typeName:{value:"IconAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"url",new(o().MFString)),new(p())(b().inputOutput,"autoRefresh",new(o().SFTime)),new(p())(b().inputOutput,"autoRefreshTimeLimit",new(o().SFTime)(3600))]),enumerable:!0}});const q=R;f().set("x_ite/Components/Annotation/IconAnnotation",q);const G=q;function L(e){x.call(this,e),this.addType(b().TextAnnotation)}Object.assign(Object.setPrototypeOf(L.prototype,x.prototype),{initialize(){x.prototype.initialize.call(this)}}),Object.defineProperties(L,{typeName:{value:"TextAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"contentType",new(o().SFString)("text/plain")),new(p())(b().inputOutput,"text",new(o().SFString))]),enumerable:!0}});const B=L;f().set("x_ite/Components/Annotation/TextAnnotation",B);const M=B;function V(e){x.call(this,e),this.addType(b().URLAnnotation)}Object.assign(Object.setPrototypeOf(V.prototype,x.prototype),{initialize(){x.prototype.initialize.call(this)}}),Object.defineProperties(V,{typeName:{value:"URLAnnotation",enumerable:!0},componentName:{value:"Annotation",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["4.0","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(u())([new(p())(b().inputOutput,"metadata",new(o().SFNode)),new(p())(b().inputOutput,"enabled",new(o().SFBool)(!0)),new(p())(b().inputOutput,"annotationGroupID",new(o().SFString)),new(p())(b().inputOutput,"displayPolicy",new(o().SFString)("NEVER")),new(p())(b().inputOutput,"url",new(o().MFString))]),enumerable:!0}});const U=V;f().set("x_ite/Components/Annotation/URLAnnotation",U);const k=U;n().add({name:"Annotation",concreteNodes:[F,D,P,G,M,k],abstractNodes:[x]});const H=void 0;f().set("assets/components/Annotation",H)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.
|
|
1
|
+
/* X_ITE v8.11.0 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,28 +39,28 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DGroupingNode\")"
|
|
54
|
-
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
54
|
+
const X3DGroupingNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/X3DGroupingNode");
|
|
55
55
|
var X3DGroupingNode_default = /*#__PURE__*/__webpack_require__.n(X3DGroupingNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
57
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
57
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
58
58
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
60
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
60
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Base/X3DConstants");
|
|
61
61
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
63
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
63
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Namespace");
|
|
64
64
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
65
65
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/X3DProductStructureChildNode.js
|
|
66
66
|
/*******************************************************************************
|
|
@@ -254,10 +254,10 @@ const CADAssembly_default_ = CADAssembly;
|
|
|
254
254
|
Namespace_default().set ("x_ite/Components/CADGeometry/CADAssembly", CADAssembly_default_);
|
|
255
255
|
/* harmony default export */ const CADGeometry_CADAssembly = (CADAssembly_default_);
|
|
256
256
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
|
|
257
|
-
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
257
|
+
const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
|
|
258
258
|
var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
|
|
259
259
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
260
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
260
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Rendering/TraverseType");
|
|
261
261
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
262
262
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADFace.js
|
|
263
263
|
/*******************************************************************************
|
|
@@ -624,7 +624,7 @@ const CADLayer_default_ = CADLayer;
|
|
|
624
624
|
Namespace_default().set ("x_ite/Components/CADGeometry/CADLayer", CADLayer_default_);
|
|
625
625
|
/* harmony default export */ const CADGeometry_CADLayer = (CADLayer_default_);
|
|
626
626
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformNode\")"
|
|
627
|
-
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
627
|
+
const X3DTransformNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Grouping/X3DTransformNode");
|
|
628
628
|
var X3DTransformNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformNode_namespaceObject);
|
|
629
629
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/CADPart.js
|
|
630
630
|
/*******************************************************************************
|
|
@@ -744,7 +744,7 @@ const CADPart_default_ = CADPart;
|
|
|
744
744
|
Namespace_default().set ("x_ite/Components/CADGeometry/CADPart", CADPart_default_);
|
|
745
745
|
/* harmony default export */ const CADGeometry_CADPart = (CADPart_default_);
|
|
746
746
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DComposedGeometryNode\")"
|
|
747
|
-
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.
|
|
747
|
+
const X3DComposedGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.11.0")] .require ("x_ite/Components/Rendering/X3DComposedGeometryNode");
|
|
748
748
|
var X3DComposedGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DComposedGeometryNode_namespaceObject);
|
|
749
749
|
;// CONCATENATED MODULE: ./src/x_ite/Components/CADGeometry/IndexedQuadSet.js
|
|
750
750
|
/*******************************************************************************
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.10.1 */(()=>{"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-8.10.1")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const s=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Namespace");var h=e.n(m);function y(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(y.prototype,c().prototype),Object.defineProperties(y,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0}});const O=y;h().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const _=O;function f(e){d().call(this,e),_.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(f.prototype,d().prototype),{}),Object.defineProperties(f,{typeName:{value:"CADAssembly",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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=f;h().set("x_ite/Components/CADGeometry/CADAssembly",S);const v=S,N=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Grouping/X3DBoundedObject");var F=e.n(N);const D=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Rendering/TraverseType");var C=e.n(D);function x(e){_.call(this,e),F().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(x.prototype,_.prototype),F().prototype,{initialize(){_.prototype.initialize.call(this),F().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._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),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._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch{}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__(){this.childNode?this.visibleNode=this.childNode._visible.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 C().POINTER:case C().CAMERA:case C().SHADOW:return void this.visibleNode?.traverse(e,t);case C().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case C().COLLISION:return void this.visibleNode?.traverse(e,t);case C().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){F().prototype.dispose.call(this),_.prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"CADFace",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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 g=x;h().set("x_ite/Components/CADGeometry/CADFace",g);const j=g;function I(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(I.prototype,d().prototype),Object.defineProperties(I,{typeName:{value:"CADLayer",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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 z=I;h().set("x_ite/Components/CADGeometry/CADLayer",z);const A=z,P=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Grouping/X3DTransformNode");var X=e.n(P);function B(e){X().call(this,e),_.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(B.prototype,X().prototype),{}),Object.defineProperties(B,{typeName:{value:"CADPart",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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 T=B;h().set("x_ite/Components/CADGeometry/CADPart",T);const G=T,V=window[Symbol.for("X_ITE.X3D-8.10.1")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var M=e.n(V);function E(e){M().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(E.prototype,M().prototype),{initialize(){M().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},build(){let e=this._index.length;e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(E,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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,"coord",new(o().SFNode))]),enumerable:!0}});const q=E;h().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const R=q;function k(e){M().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,M().prototype),{getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,M().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},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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,"coord",new(o().SFNode))]),enumerable:!0}});const L=k;h().set("x_ite/Components/CADGeometry/QuadSet",L);const Q=L;n().add({name:"CADGeometry",concreteNodes:[v,j,A,G,R,Q],abstractNodes:[_]});const H=void 0;h().set("assets/components/CADGeometry",H)})();
|
|
1
|
+
/* X_ITE v8.11.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-8.11.0")].require("x_ite/Components");var n=e.n(t);const i=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Fields");var o=e.n(i);const r=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DFieldDefinition");var a=e.n(r);const s=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(s);const u=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/X3DGroupingNode");var d=e.n(u);const p=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Core/X3DChildNode");var c=e.n(p);const b=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Base/X3DConstants");var w=e.n(b);const m=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Namespace");var h=e.n(m);function y(e){c().call(this,e),this.addType(w().X3DProductStructureChildNode)}Object.setPrototypeOf(y.prototype,c().prototype),Object.defineProperties(y,{typeName:{value:"X3DProductStructureChildNode",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0}});const O=y;h().set("x_ite/Components/CADGeometry/X3DProductStructureChildNode",O);const _=O;function f(e){d().call(this,e),_.call(this,e),this.addType(w().CADAssembly)}Object.assign(Object.setPrototypeOf(f.prototype,d().prototype),{}),Object.defineProperties(f,{typeName:{value:"CADAssembly",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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=f;h().set("x_ite/Components/CADGeometry/CADAssembly",S);const v=S,N=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/X3DBoundedObject");var F=e.n(N);const D=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Rendering/TraverseType");var C=e.n(D);function x(e){_.call(this,e),F().call(this,e),this.addType(w().CADFace),this.childNode=null,this.visibleNode=null,this.boundedObject=null}Object.assign(Object.setPrototypeOf(x.prototype,_.prototype),F().prototype,{initialize(){_.prototype.initialize.call(this),F().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._visible.removeInterest("set_visible__",this),this.childNode._bboxDisplay.removeInterest("set_bboxDisplay__",this)),this.childNode=null;try{const e=this._shape.getValue().getInnerNode(),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._visible.addInterest("set_visible__",this),e._bboxDisplay.addInterest("set_bboxDisplay__",this),this.childNode=e;break;default:continue}break}}catch{}this.childNode?delete this.traverse:this.traverse=Function.prototype,this.set_visible__(),this.set_bboxDisplay__()},set_cameraObject__(){this.setCameraObject(!!this.visibleNode?.isCameraObject())},set_transformSensors__(){this.setPickableObject(!!this.visibleNode?.isPickableObject())},set_visible__(){this.childNode?this.visibleNode=this.childNode._visible.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 C().POINTER:case C().CAMERA:case C().SHADOW:return void this.visibleNode?.traverse(e,t);case C().PICKING:{const n=this.getBrowser().getPickingHierarchy();return n.push(this),this.visibleNode?.traverse(e,t),void n.pop()}case C().COLLISION:return void this.visibleNode?.traverse(e,t);case C().DISPLAY:return this.visibleNode?.traverse(e,t),void this.boundedObject?.displayBBox(e,t)}},dispose(){F().prototype.dispose.call(this),_.prototype.dispose.call(this)}}),Object.defineProperties(x,{typeName:{value:"CADFace",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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 g=x;h().set("x_ite/Components/CADGeometry/CADFace",g);const j=g;function I(e){d().call(this,e),this.addType(w().CADLayer)}Object.setPrototypeOf(I.prototype,d().prototype),Object.defineProperties(I,{typeName:{value:"CADLayer",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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 z=I;h().set("x_ite/Components/CADGeometry/CADLayer",z);const A=z,P=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Grouping/X3DTransformNode");var X=e.n(P);function B(e){X().call(this,e),_.call(this,e),this.addType(w().CADPart)}Object.assign(Object.setPrototypeOf(B.prototype,X().prototype),{}),Object.defineProperties(B,{typeName:{value:"CADPart",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"children",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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 T=B;h().set("x_ite/Components/CADGeometry/CADPart",T);const G=T,V=window[Symbol.for("X_ITE.X3D-8.11.0")].require("x_ite/Components/Rendering/X3DComposedGeometryNode");var M=e.n(V);function E(e){M().call(this,e),this.addType(w().IndexedQuadSet)}Object.assign(Object.setPrototypeOf(E.prototype,M().prototype),{initialize(){M().prototype.initialize.call(this),this._set_index.addFieldInterest(this._index)},getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},getPolygonIndex(e){return this._index[e]},build(){let e=this._index.length;e-=e%4,M().prototype.build.call(this,4,e,6,e/4*6)}}),Object.defineProperties(E,{typeName:{value:"IndexedQuadSet",enumerable:!0},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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,"coord",new(o().SFNode))]),enumerable:!0}});const q=E;h().set("x_ite/Components/CADGeometry/IndexedQuadSet",q);const R=q;function k(e){M().call(this,e),this.addType(w().QuadSet)}Object.assign(Object.setPrototypeOf(k.prototype,M().prototype),{getTriangleIndex:function(e){const t=e%6;return 4*Math.floor(e/6)+t%3+Math.floor(t/4)},build(){if(!this.getCoord())return;let e=this.getCoord().getSize();e-=e%4,M().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},componentName:{value:"CADGeometry",enumerable:!0},containerField:{value:"geometry",enumerable:!0},specificationRange:{value:Object.freeze(["3.1","Infinity"]),enumerable:!0},fieldDefinitions:{value:new(l())([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,"coord",new(o().SFNode))]),enumerable:!0}});const L=k;h().set("x_ite/Components/CADGeometry/QuadSet",L);const Q=L;n().add({name:"CADGeometry",concreteNodes:[v,j,A,G,R,Q],abstractNodes:[_]});const H=void 0;h().set("assets/components/CADGeometry",H)})();
|