![]() | |
Stl |
[Missing <summary> documentation for "T:Ab4d.SharpEngine.Utilities.StlImporter"]
public class StlImporter
The StlImporter type exposes the following members.
Name | Description | |
---|---|---|
![]() | StlImporter | Constructor |
Name | Description | |
---|---|---|
![]() | ConvertToYUp | 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. |
![]() | DefaultMaterialColor | 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. |
![]() | GenerateTriangleIndices | Stl file does not define the triangle indices. When this property is true (by default), then the triangle indices are generated by this importer. |
![]() | LastBinaryHeaderText | 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. |
![]() | LastReadModelColor | 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. |
![]() | UseTwoSidedMaterials | When true (by default), then BackMaterials is set to the same material as Material. |
Name | Description | |
---|---|---|
![]() | Import(Stream) | Imports the 3D models from stream and returns the 3D model as a single MeshModelNodes object. |
![]() | Import(String) | Imports the 3D models from stlFileName file and returns the 3D model as a single MeshModelNodes object. |
[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Utilities.StlImporter"]