Stream: community

Topic: viewers for 3D data


view this post on Zulip Philip Durbin ๐Ÿš€ (May 14 2024 at 14:52):

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

view this post on Zulip Philip Durbin ๐Ÿš€ (May 14 2024 at 15:37):

We're adding it to the list of external tools: add 3DViewer by openforestdata.pl to list of external tools #10562

view this post on Zulip Sherry Lake (May 16 2024 at 15:06):

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

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 15:19):

An that's a different 3D previewer, actually. You are welcome to try both!

view this post on Zulip Sherry Lake (May 16 2024 at 15:19):

OK, so where are the ones that were installed on Harvard.

Since those are working?

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 15:28):

This is the one we installed on Harvard Dataverse: https://github.com/OpenForestData/open-forest-data-previewers

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 15:29):

Here's the writeup we plan to add to the guides: https://github.com/IQSS/dataverse/pull/10562/files

view this post on Zulip Sherry Lake (May 16 2024 at 15:40):

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?

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 16:35):

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:

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 16:38):

https://github.com/gdcc/dataverse-previewers/settings/pages shows "last deployed 5 months ago". I'm asking Jim if he has any ideas.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 17:14):

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.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 17:14):

We had to merge the develop branch into the master branch to update GitHub Pages: https://github.com/gdcc/dataverse-previewers/pull/62

view this post on Zulip Sherry Lake (May 16 2024 at 17:57):

Thanks.... at least it's "trying" and not 404'ing...

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 18:06):

Heh, exactly.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 16 2024 at 18:06):

If you get a file to work, let us know!

view this post on Zulip Deirdre Kirmis (May 21 2024 at 22:53):

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?

view this post on Zulip Philip Durbin ๐Ÿš€ (May 22 2024 at 02:29):

@Deirdre Kirmis you could try this one: https://dataverse.harvard.edu/file.xhtml?fileId=7559161&version=1.1

view this post on Zulip Deirdre Kirmis (May 22 2024 at 14:01):

awesome .. will try it!

view this post on Zulip Philip Durbin ๐Ÿš€ (May 22 2024 at 15:00):

Also, which 3D viewer did you try? There are two new ones:

view this post on Zulip Deirdre Kirmis (May 22 2024 at 15:41):

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

view this post on Zulip Deirdre Kirmis (May 22 2024 at 15:41):

so, for the one that you linked, would I just point to that instead in the database?

view this post on Zulip Philip Durbin ๐Ÿš€ (May 22 2024 at 15:44):

Sorry, point what where? :sweat_smile:

view this post on Zulip Deirdre Kirmis (May 22 2024 at 16:04):

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

view this post on Zulip Deirdre Kirmis (May 22 2024 at 16:05):

how did you install it?

view this post on Zulip Philip Durbin ๐Ÿš€ (May 22 2024 at 16:05):

Good question! I didn't. I don't see a JSON manifest. :thinking:

view this post on Zulip Philip Durbin ๐Ÿš€ (May 22 2024 at 16:06):

Do you want to create an issue?

view this post on Zulip Deirdre Kirmis (May 23 2024 at 16:13):

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

view this post on Zulip Philip Durbin ๐Ÿš€ (May 23 2024 at 16:23):

Me neither. When @Leo Andreev isn't so busy I'll ask him for the JSON manifest he used.

view this post on Zulip Philip Durbin ๐Ÿš€ (May 30 2024 at 17:59):

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

view this post on Zulip Philip Durbin ๐Ÿš€ (May 30 2024 at 18:00):

A bit more info here: https://github.com/IQSS/dataverse.harvard.edu/issues/242#issuecomment-2140264483

view this post on Zulip Deirdre Kirmis (Jun 03 2024 at 17:25):

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)?

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 17:27):

Which JSON file did you use?

view this post on Zulip Deirdre Kirmis (Jun 03 2024 at 17:42):

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?

view this post on Zulip Philip Durbin ๐Ÿš€ (Jun 03 2024 at 17:45):

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?

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 08 2024 at 18:01):

New pull request: "Voyager 3D support for *glb files" - https://github.com/gdcc/dataverse-previewers/pull/77

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 07 2024 at 14:36):

An update on Voyager 3D testing: https://github.com/IQSS/dataverse.harvard.edu/issues/306


Last updated: Nov 01 2025 at 14:11 UTC