How to embed 3D Warehose models directly in this forum?

3dwarehouse
sketchfab
embed

#1

Hi all,
I couldn’t find any info about how to embed 3D Warehouse or Sketchfab models directly in this forum like this?

It seems quoting above shows just an image in the preview (without 3D interaction), is that normal?


3D Warehouse Test:


Sketchfab Test:


Edit: So it seems like i got it work for Sketchfab but not 3D Warehouse, any clue?


3Dwarehouse link doesn't respond to a click
#2

Your link above is to an HTML page, … so no surprise that it fails. (You took this from the <iframe> embed HTML code, and iframes are ignored by Discourse for security reasons.)

Previously, there was Discourse OneBox support for the 3DW model urls.
See topic: Ruby on Rails guru, feature request

So just pasting the URL in a post, should automatically OneBox it:
http://3dwarehouse.sketchup.com/model/2f980629-5fde-4290-bac7-46f6f46b2c18/test3

Test:

http://3dwarehouse.sketchup.com/model/2f980629-5fde-4290-bac7-46f6f46b2c18/test3

So, if it doesn’t work, then either the 3DW OneBox Discourse plugin is broken, or 3DW is not responding to the Discourse OneBox requests.


#4

@filibis, you were thinking right, both html urls and embed urls are supposed to work.

3D Warehouse had silently changed their embed links. I fixed this bug at the beginning of the year. It just seems it has not yet been deployed (I thought someone wanted to care about it).


#5

Hi all,

Thanks for the initial fix, @Aerilius, but that onebox plugin may need even more work because we recently changed the structure of our model URLs (those familiar with 3D Warehouse probably noticed the change).

Example (they’re both the same model):
Old: https://3dwarehouse.sketchup.com/model.html?id=6a467f92-c2a0-4b18-8222-838edb2b726b
New: https://3dwarehouse.sketchup.com/model/6a467f92-c2a0-4b18-8222-838edb2b726b/WALL-E-Character

Our apologies that we broke the onebox plugin. I’ve filed a ticket and linked this discussion thread to fix it. And if it’s just a matter of deploying a new plugin version, that should be doable.


#6

Thanks guys for addressing the issue real quick. :rocket:


#7

Hi all,

We were able to get all of @Aerilius’ fixes into the onebox plugin and it should now be live on the forums. Can we get some confirmation that the plugin is working as expected?

Thanks!


#8

https://3dwarehouse.sketchup.com/model/6a467f92-c2a0-4b18-8222-838edb2b726b/WALL-E-Character

I can’t rotate this and I get 100’s of errors

XMLHttpRequest.timeout cannot be set for synchronous HTTP(S) requests made from the window context.

john


#9
https://3dwarehouse.sketchup.com/model/af066efe-0d5a-408d-bc1a-6ae20488ba16/SRI-8-10-72

Tried to embed via <iframe


#10

It appears embedded and icon in the middle can be hovered but left clicking doesn’t affect anything.


[details=Test 1 via direct link]Below test with this url ~ https://3dwarehouse.sketchup.com/model.html?id=2f980629-5fde-4290-bac7-46f6f46b2c18
https://3dwarehouse.sketchup.com/model.html?id=2f980629-5fde-4290-bac7-46f6f46b2c18[/details]


[details=Test 2 via embed link]Below test with this url ~ https://3dwarehouse.sketchup.com/embed.html?mid=2f980629-5fde-4290-bac7-46f6f46b2c18&width=580&height=326
https://3dwarehouse.sketchup.com/embed.html?mid=2f980629-5fde-4290-bac7-46f6f46b2c18&width=580&height=326
Above embed url lead me to an ‘odd’ page that i need to click again to the image and then it redirects me to this url ~ https://my.sketchup.com/viewer/3dw?WarehouseModelId=2f980629-5fde-4290-bac7-46f6f46b2c18&failureURL=aHR0cHM6Ly8zZHdhcmVob3VzZS5za2V0Y2h1cC5jb20vZW1iZWQuaHRtbD9taWQ9MmY5ODA2MjktNWZkZS00MjkwLWJhYzctNDZmNmY0NmIyYzE4JmV0cD1zdyZyZWRpcmVjdD0x (and i can see and rotate the model with this ‘my.sketchup’ url)[/details]


New Feature Enables Material Downloads from 3D Warehouse
#11

Same here. Exact same symptoms on both tests @filibis show above and on the test @MikeWayzovski showed as well. Identical results across 3 browsers: IE, Edge, and Chrome.


#12

My thoughts on this is that it would be nice if 3D Warehouse provided a links button which shows URLs for the following for the selected model:

An image (.png)
The model (.skp)
The model in Collada DAE format (.dae)
The model in GL Transmission Format (.gltf) for embedding in webpages as 3d viewable objects.

Also (and my apologies if I am going off-track a bit), aside from Private or Public options for the model, there could perhaps also be a ‘Semi-Private’? option, that allows a model to not be found within the 3D Warehouse search engine (it is treated as private), but the model can be downloaded or viewed via the link.

This would allow you to share you model with friends, without it being public, or even post it in this forum, again without it being made public except via the forum.

:upside_down:


#13

:thumbsup: x42!


#14

This topic was automatically closed after 91 days. New replies are no longer allowed.