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
 
Abort current loading if it is not finished yet.
 
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
abort()
Abort current loading if it is not finished yet.

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 Thu Nov 28 2013 14:35:14 GMT+0800 (CST)