Click or drag to resize
Ab4d.SharpEngine logo

StlImporter Class

[Missing <summary> documentation for "T:Ab4d.SharpEngine.Utilities.StlImporter"]

Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.UtilitiesStlImporter

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public class StlImporter

The StlImporter type exposes the following members.

Constructors
 NameDescription
Public methodStlImporter Constructor
Top
Properties
 NameDescription
Public propertyConvertToYUp When true (false by default), then the model is converted from Z-up coordinate system to Y-up coordinate system. This is done by setting Y to Z and Z to -Y.
Public propertyDefaultMaterialColor Gets or sets the Color3 that is used for the default material color when no material is defined in the stl file. Default value is Colors.Silver.
Public propertyGenerateTriangleIndices Stl file does not define the triangle indices. When this property is true (by default), then the triangle indices are generated by this importer.
Public propertyLastBinaryHeaderText Gets the header text that is read from the binary stl file (first 80 bytes in the file). If there is no header text or if text stl file was read, then this property is null.
Public propertyLastReadModelColor Gets the Color4 that was read from last binary stl file (from the header after the "COLOR=" text). If color was not specified or if text stl file was read, then this property is null.
Public propertyUseTwoSidedMaterials When true (by default), then BackMaterials is set to the same material as Material.
Top
Methods
 NameDescription
Public methodImport(Stream) Imports the 3D models from stream and returns the 3D model as a single MeshModelNodes object.
Public methodImport(String) Imports the 3D models from stlFileName file and returns the 3D model as a single MeshModelNodes object.
Top
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Utilities.StlImporter"]

See Also