Class Index | File Index

Classes


Class JSC3D.StlLoader

StlLoader This class implements a scene loader from an STL file. Both binary and ASCII STL files are supported.
Defined in: jsc3d.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
JSC3D.StlLoader(onload, onerror, onprogress, onresource)
Method Summary
Method Attributes Method Name and Description
 
loadFromUrl(urlName)
Load scene from a given STL file.
 
Set decimal precision that defines the threshold to detect and weld vertices that coincide.
Class Detail
JSC3D.StlLoader(onload, onerror, onprogress, onresource)
Parameters:
onload
onerror
onprogress
onresource
Method Detail
loadFromUrl(urlName)
Load scene from a given STL file.
Parameters:
{String} urlName
a string that specifies where to fetch the STL file.

setDecimalPrecision(precision)
Set decimal precision that defines the threshold to detect and weld vertices that coincide.
Parameters:
{Number} precision
the decimal preciison.

Documentation generated by JsDoc Toolkit 2.1.0 on Sat Oct 13 2012 19:21:53 GMT+0800 (CST)