Allen Posted December 16, 2020 Share Posted December 16, 2020 [sketchfab]9d3a3e42c0054c35aa39c3ee07388d16[/sketchfab] Tyrannosaurus Rex by D.art on Sketchfab Link to comment Share on other sites More sharing options...
Allen Posted December 16, 2020 Author Share Posted December 16, 2020 <div class="sketchfab-embed-wrapper"> <iframe title="A 3D model" width="640" height="480" src="https://sketchfab.com/models/9d3a3e42c0054c35aa39c3ee07388d16/embed?autostart=0&ui_controls=1&ui_infos=1&ui_inspector=1&ui_stop=1&ui_watermark=1&ui_watermark_link=1" frameborder="0" allow="autoplay; fullscreen; vr" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/tyrannosaurus-rex-9d3a3e42c0054c35aa39c3ee07388d16?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Tyrannosaurus Rex</a> by <a href="https://sketchfab.com/D.art?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">D.art</a> on <a href="https://sketchfab.com?utm_medium=embed&utm_source=website&utm_campaign=share-popup" target="_blank" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a> </p> </div> Link to comment Share on other sites More sharing options...
Terrie S Posted December 16, 2020 Share Posted December 16, 2020 Allen I found this info on the InVision site: https://invisioncommunity.com/4guides/themes-and-customizations/editor-and-emoticons_327/adjusting-editor-settings-r135/ Link to comment Share on other sites More sharing options...
Terrie S Posted December 16, 2020 Share Posted December 16, 2020 It might be a function of just allowing the Sketchfab url: Allowed iframe bases By default, iframes are usually stripped from posts. However, if you have a need to allow them, you can add URLs here. If the URL of an iframe matches one listed, it will be allowed through the parser. Link to comment Share on other sites More sharing options...
Allen Posted December 16, 2020 Author Share Posted December 16, 2020 9 hours ago, tsehrhardt said: Allen I found this info on the InVision site: https://invisioncommunity.com/4guides/themes-and-customizations/editor-and-emoticons_327/adjusting-editor-settings-r135/ Yup I saw that original post in the other topic. We're probably going to need to commission a plugin to accept the SketchFab iframe. It shouldn't cost much, but waiting on permission from Dr. Mike for approval. Terrie S 1 Link to comment Share on other sites More sharing options...
Terrie S Posted December 17, 2020 Share Posted December 17, 2020 Cool. I'm going to mess with vtk.js and see if that can work. Link to comment Share on other sites More sharing options...
Terrie S Posted December 17, 2020 Share Posted December 17, 2020 <iframe width="480" height="373" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" id="kitware-vol-viewer" title="Volume viewer" src="https://kitware.github.io/vtk-js/examples/VolumeViewer/VolumeViewer.html?fileURL=https://data.kitware.com/api/v1/item/59e12e988d777f31ac6455c5/download"> </iframe> Link to comment Share on other sites More sharing options...
Terrie S Posted December 17, 2020 Share Posted December 17, 2020 <iframe width="480" height="373" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" id="kitware-vol-viewer" title="Volume viewer" src="https://kitware.github.io/vtk-js/examples/VolumeViewer/VolumeViewer.html?fileURL=https://data.kitware.com/api/v1/item/59e12e988d777f31ac6455c5/download"> </iframe> Link to comment Share on other sites More sharing options...
Allen Posted December 17, 2020 Author Share Posted December 17, 2020 The system only allows embeds that participate in the Open Embed (oEmbeds), which covers popular sites like Facebook, Twitter, Youtube, etc. We'd have to go custom for some of these niche sites. Link to comment Share on other sites More sharing options...
Terrie S Posted December 18, 2020 Share Posted December 18, 2020 Ok, I found this on Sketchfab's site: https://sketchfab.com/developers/oembed https://sketchfab.com/oembed?url=https://sketchfab.com/3d-models/left-and-right-os-coxae-visible-human-female-357ea8b45d854b0eaf138c60081370e8 Link to comment Share on other sites More sharing options...
Terrie S Posted December 18, 2020 Share Posted December 18, 2020 https://sketchfab.com/oembed?url=https://sketchfab.com/models/357ea8b45d854b0eaf138c60081370e8 Link to comment Share on other sites More sharing options...
Terrie S Posted December 18, 2020 Share Posted December 18, 2020 bbcode [sketchfab]357ea8b45d854b0eaf138c60081370e8[/sketchfab] Left and Right Os Coxae: Visible Human Female by Terrie Simmons-Ehrhardt on Sketchfab Link to comment Share on other sites More sharing options...
Terrie S Posted December 18, 2020 Share Posted December 18, 2020 Maybe this: https://github.com/sketchfab/ckeditor-plugin/tree/master/examples/ipb-3.2.0 Dr. Mike 1 Link to comment Share on other sites More sharing options...
Dr. Mike Posted December 18, 2020 Share Posted December 18, 2020 Ooooh, this looks interesting and worth investigating. I'd love to implement a 3D viewer on this site. Thanks Terrie! Terrie S 1 Link to comment Share on other sites More sharing options...
Terrie S Posted December 18, 2020 Share Posted December 18, 2020 I think vtk.js or 3DHOP would work well. 3DHOP has measurement, transparency, and clipping and works well with CT and microCT models. I have generated static pages with 3DHOP, but I think for a site like this you would need a "viewer" page that models get directed to or generated when someone wants to see it in 3D. Sketchfab can also be used since you only need to view one model at a time and it supports public or private models, you can set whether models are downloadable or just viewable, but generating a custom viewer with more features for your own site requires a Premium or above account. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now