Jump to content

Test for sketchfab


Allen

Recommended Posts

<div class="sketchfab-embed-wrapper">
    <iframe title="A 3D model" width="640" height="480" src="https://sketchfab.com/models/9d3a3e42c0054c35aa39c3ee07388d16/embed?autostart=0&amp;ui_controls=1&amp;ui_infos=1&amp;ui_inspector=1&amp;ui_stop=1&amp;ui_watermark=1&amp;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

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

9 hours ago, tsehrhardt said:

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.  

Link to comment
Share on other sites

<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

<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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...