Both, either, and neither didn’t seem to impact the implementation of the 3Dxml model in my webpage. Regardless, I installed this in my and just in case they got it wrong. I don’t think I’ve seen vbscript on a webpage in ten years, so I’m getting a bit worried about the validity of this code. If NOT (IsObject(CreateObject("3DXMLPlugin"))) Then
#Dassault 3dxml viewer code
Here is the code that they request you put in the “Body” of the HTML page: Then I tried the second part of the DS code, where it enables the javascript or vbscript code to set everything up. To add a user defined MIME type, just type in”application/octet-stream” for the type and “.3dxml” for the extension.Īfter setting this, I thought I was good to see my models on my site. There may already be many file types that require the “application/octet-stream” that 3DXML uses. If not, just call your hosting provider and ask where you can change and edit MIME types for your server.īasically every extension type uses a type of character stream to transfer from the server to the client. This is done on your server settings, and most hosting plans have a MIME Type Editor in your CPanel or web hosting account.
#Dassault 3dxml viewer update
However, if you insert that portion of code in your HTML body, it will give you a “ This plugin is not supported” message when your page renders.Īs you read further down the support page, they require a bit more infrastructure.įirst off, if you plan to show your 3DXML models on your own website, you have to update your MIME types. It’s a great way for clients to examine a real 3D Model on their own machine, instead of just renderings or animations.įrom the link, this portion of code should be able to embed a 3DXML file in the browser: Once a person installs the free 3DXML viewer on their machine, they can view, orbit, and pan embedded 3dXML models in their browsers.
Some background: 3DXML files are compressed 3D Models that are lightweight and great for web and video presentation. I’ve tested this on various HTML and PHP files on my website, with different security and settings, and haven’t had any luck. I’ve tried to use the Dassault Systemes recommended 3DXML integration code, but it doesn’t appear to work. Since 2016, I’ve been having trouble getting 3DXML models to embed in HTML or PHP files on my website.