HyperMesh and BatchMesher

Sharing H3D Files

Sharing H3D Files

Previous topic Next topic No expanding text in this topic  

Sharing H3D Files

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Using an HTML File


You can use HyperView Player to share information by embedding it in an HTML file. You can use either a relative path or a standard Uniform Resource Locator (URL) to specify the path for the H3D file in the <EMBED> statement. There are three different ways to define file transfer protocol: FILE, HTTP and FTP. This section describes how to select a protocol for file transfer using the files, anim1.html and anim1.h3d, as examples.

Embedded mode

FILE://

Example:

<EMBED type="application/x-h3d" width=450 height=400
SRC="File://c:\Altair\demos\hvp\anim1.h3d">

An absolute path is required for File:// and the H3D file must reside in the specified path. When you distribute the files, you may need to modify the HTML file for the path.

HTTP://

Example:

<EMBED type="application/x-h3d" width=450 height=400
SRC="http://www:8080/~John/anim1.h3d>

Others can access your public web area on the Internet. When sharing an H3D file, you can place the anim1.html and anim1.h3d files in your public HTML directory and send the link to others in the company by email. The link could be, for example, http://www:8080/~John/anim1.html. By doing this, you do not need to distribute the H3D file and can guarantee the path is working correctly. If you have HyperView Player installed and you click the link in the email, the model will be displayed.

FTP://

Example:

<EMBED type="application/x-h3d" width=450 height=400
SRC="FTP://ftp.altair.com/pub/outgoing/HVP/anim1.html>

You can place the anim1.html and anim1.h3d files on your FTP site. If you have HyperView Player installed and you click ftp://ftp.altair.com/pub/outgoing/HVP/anim1.html, the model is displayed.

Relative path

Example:

<EMBED type="application/x-h3d" width=450 height=400
SRC="../anim/.h3d>

Using a relative path allows you to distribute an HTML file easily. You can create a folder with the necessary HTML and h3d files for distribution.

Full page mode

In an HTML file, you can easily hyperlink a string to an H3D file. When you click the hyperlink, the plug-in loads a model in full-page mode.

Using E-mail


You can attach an H3D file to an e-mail message. If the recipient is using a PC, he or she can click the attachment and the H3D file will load automatically. You can also save the H3D file and at a later time double-click the file to invoke the standalone version of HyperView Player. Another available option is to drag the H3D file and drop it into a browser to view the model in a full window.