 |
StlExporter Class |
StlExporter can be used to export a Mesh or a single ModelNode into .stl file.
Inheritance HierarchySystemObject
Ab4d.SharpEngine.UtilitiesStlExporter
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
SyntaxThe StlExporter type exposes the following members.
Constructors | Name | Description |
---|
 | StlExporter | Initializes a new instance of the StlExporter class |
Top
Properties | Name | Description |
---|
 | ConvertToZUp |
When true (false by default), then the model is converted from Y-up coordinate system to Z-up coordinate system.
This is done by setting Y to Z and Z to -Y.
|
 | HeaderText |
Gets or sets the header text that will be written to the binary stl file header. Max text length is 79 ASCII chars.
When null, then the DefaultHeaderText is used.
|
 | ModelColor |
When set (is not null) then the color is written to the binary stl file header after the "COLOR=" text.
Some importer (including StlImporter) can read this color.
|
Top
Methods | Name | Description |
---|
 | Export(Stream, Mesh) |
Export method exports the specified mesh to the specified stream.
|
 | Export(String, Mesh) |
Export method exports the specified mesh to the specified file.
If the file already exists, then it is deleted before creating a new one.
|
 | Export(Stream, ModelNode, Boolean) |
Export method exports the mesh from the modelNode to the specified stream.
|
 | Export(String, ModelNode, Boolean) |
Export method exports the mesh from the modelNode to the specified file.
If the file already exists, then it is deleted before creating a new one.
|
Top
Fields
Remarks[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Utilities.StlExporter"]
See Also