You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__Note:__ There are many mimetypes that can be rendered as 3D models. The following example is for X3D files. You can add more mimetypes by adding more entries to the "contentType" field.
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.5). When previewers in the betatest branch are included in the next release (e.g. v1.6), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
1023
+
1024
+
### CDI Previewer
1025
+
1026
+
```bash
1027
+
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
1028
+
'{
1029
+
"displayName":"View CDI Metadata",
1030
+
"description":"View DDI Cross-Domain Integration (CDI) metadata file using SHACL shapes.",
__Note:__ There are many mimetypes that can be rendered as 3D models. The following example is for X3D files. You can add more mimetypes by adding more entries to the "contentType" field.
1499
1501
1500
1502
```bash
1501
1503
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
1502
1504
'{
1503
-
"displayName":"View CDI Metadata",
1504
-
"description":"View DDI Cross-Domain Integration (CDI) metadata file using SHACL shapes.",
1505
-
"toolName":"cdiPreviewer",
1505
+
"displayName":"Read 3D model",
1506
+
"description":"Read the 3D model file using X3D from X_ITE.",
__Note:__ There are many mimetypes that can be rendered as 3D models. The following example is for X3D files. You can add more mimetypes by adding more entries to the "contentType" field.
1544
+
More types for 3D models that X_ITE can load below.
1545
1545
1546
1546
```bash
1547
1547
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
__Note:__ Voyager supports multiple formats. Only *.glb (model/gltf-binary) is currently supported by the Previewer.
1802
-
Also note that with current styling the Voyager app fills the window when launched as a separate page, so the usual
1803
-
preview header/footer information doesn't show (and therefore isn't even requested from Dataverse).
1797
+
## Beta Versions:
1798
+
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.5). When previewers in the betatest branch are included in the next release (e.g. v1.6), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
1799
+
1800
+
### CDI Previewer
1804
1801
1805
1802
```bash
1806
1803
curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \
1807
1804
'{
1808
-
"displayName":"View 3D model",
1809
-
"description":"Explore the 3D model file using Voyager.",
1810
-
"toolName":"voyagerPreviewer",
1805
+
"displayName":"View CDI Metadata",
1806
+
"description":"View DDI Cross-Domain Integration (CDI) metadata file using SHACL shapes.",
As updates and additions are made, they will be added to a /betatest sub-folder which will make them accessible to users via github.io without affecting people who are using the latest numbered release (e.g. v1.5). When previewers in the betatest branch are included in the next release (e.g. v1.6), sites may wish to change their registration of the tools to use the stable version as the betatest version may continue to receive changes.
0 commit comments