Creating a WebGL File
Creating a WebGL File
Selecting the command in the menu starts the WebGL menu.

Give the name of the HTML file to write by either using the
textbox or using the
button.
WebGL files can contain a large amount of data for big models so
PRIMER
tries to reduce the file size, compressing the coordinates by rounding them to a tolerance. This is given by the
textbox. In the above examples nodal coordinates will be rounded to 0.1 units. If your model is in metres rather than millimetres this value may need to be adjusted. Increasing the value will give smaller file sizes but may alter the visual appearance of the model.
Currently PRIMER can only write whole parts to WebGL files. Use the button to choose which parts to write to the file. The parts will be written in shaded mode to the file with the current colour and transparency set in PRIMER . Only solids, shells and beams are supported at present. Beams will be drawn with their true section properties.
Once the parts have been chosen and a filename is given will write the WebGL file.