At Harvard Dataverse we just installed https://github.com/OpenForestData/open-forest-data-previewers
It seems to work pretty well! Check out the screenshot at https://github.com/IQSS/dataverse.harvard.edu/issues/256#issuecomment-2109061602
Or here's the STL file we tried: https://dataverse.harvard.edu/file.xhtml?fileId=7559161&version=1.1
We're adding it to the list of external tools: add 3DViewer by openforestdata.pl to list of external tools #10562
What's the command used to install the 3-D previewer?
and will it work with V5.14?
And found them here:
https://github.com/gdcc/dataverse-previewers/blob/develop/6.1curlcommands.md
An that's a different 3D previewer, actually. You are welcome to try both!
OK, so where are the ones that were installed on Harvard.
Since those are working?
This is the one we installed on Harvard Dataverse: https://github.com/OpenForestData/open-forest-data-previewers
Here's the writeup we plan to add to the guides: https://github.com/IQSS/dataverse/pull/10562/files
I tried the X3DPreviewer , but got a 404 error from github.
This works for a "png" file:
https://gdcc.github.io/dataverse-previewers/previewers/v1.4/ImagePreview.html?fileid=68367&siteUrl=https://dataverse.lib.virginia.edu&datasetid=68363&datasetversion=1.0&locale=en
so I tried the "URL pattern" to call the X3DPreviewer, which is in the betatest path with this STL file (fileid=68368) in the same dataset:
https://gdcc.github.io/dataverse-previewers/previewers/betatest/X3DPreview.html?fileid=68368&siteUrl=https://dataverse.lib.virginia.edu&datasetid=68363&datasetversion=1.0&locale=en
but that path "betatest" doesn't work?
You're right.
https://gdcc.github.io/dataverse-previewers/previewers/betatest/ZipPreview.html - works
https://gdcc.github.io/dataverse-previewers/previewers/betatest/X3DPreview.html - doesn't work
Why? :thinking:
https://github.com/gdcc/dataverse-previewers/settings/pages shows "last deployed 5 months ago". I'm asking Jim if he has any ideas.
Ok, https://gdcc.github.io/dataverse-previewers/previewers/betatest/X3DPreview.html?fileid=68368&siteUrl=https://dataverse.lib.virginia.edu&datasetid=68363&datasetversion=1.0&locale=en is trying to load something now, at least.
We had to merge the develop branch into the master branch to update GitHub Pages: https://github.com/gdcc/dataverse-previewers/pull/62
Thanks.... at least it's "trying" and not 404'ing...
Heh, exactly.
If you get a file to work, let us know!
ah yea, we installed this weekend and the 3D previewers (experimental) don't seem to work .. at least not with the stl files we are trying .. maybe it depends on how the file is created?
@Deirdre Kirmis you could try this one: https://dataverse.harvard.edu/file.xhtml?fileId=7559161&version=1.1
awesome .. will try it!
Also, which 3D viewer did you try? There are two new ones:
i am using the second one .. and all of the v1.4 previewers when i upgraded to v6.2 .. we don't have them installed locally, we are still just pointing to the gdcc ones .. maybe that's the issue .. a project for some day
so, for the one that you linked, would I just point to that instead in the database?
Sorry, point what where? :sweat_smile:
i went through these steps to "register" the previewers from gdcc https://github.com/gdcc/dataverse-previewers/blob/develop/6.1curlcommands.md
so was thinking i need to do a similar thing for the one you mentioned so that we can use it
how did you install it?
Good question! I didn't. I don't see a JSON manifest. :thinking:
Do you want to create an issue?
oh i see i need to follow the installation in the github repo .. and then it is accessible on the "Access File" menu .. at least until it is added to the previewers that are installed using the curl commands? i see the PR but yea don't see the command to register it in the previewer curl commands
Me neither. When @Leo Andreev isn't so busy I'll ask him for the JSON manifest he used.
Another 3D example at https://dataverse.harvard.edu/file.xhtml?fileId=7127236&version=1.0&toolType=PREVIEW
It uses the "X3DPreview" one:
Screenshot-2024-05-30-at-1.58.32-PM.png
A bit more info here: https://github.com/IQSS/dataverse.harvard.edu/issues/242#issuecomment-2140264483
ugh i'm an idiot .. i downloaded the above file and uploaded it to our QA site, where I have registered the experimental viewers from the curl commands link above .. but even this type file that works at harvard is not working in our site .. i get 404 errors .. did i miss a step?
i'm assuming now with the .stl files that i will need to actually install the open forest previewer directly on my site (and not just try to register theirs)?
Which JSON file did you use?
i just used these curl commands from the instructions for previewers as it says .. but I registered them all, so at the end there are the experimental ones .. i just ran those curl commands for all of the 3d type files .. do i need to do something else?
Can you please make sure you're logged out (so as not to expose an API token) and click "Open in New Window" and paste the URL?
New pull request: "Voyager 3D support for *glb files" - https://github.com/gdcc/dataverse-previewers/pull/77
An update on Voyager 3D testing: https://github.com/IQSS/dataverse.harvard.edu/issues/306
Last updated: Nov 01 2025 at 14:11 UTC