Documentation ¶
Overview ¶
Package stl gets processes pb.STLFiles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type STL ¶
type STL struct { // MBB is the minimum bounding box for the entire STL file. MBB gl.Box // Mesh is the mesh of triangles. Mesh *gl.Mesh // The dimensions for the model. ModelDimX, ModelDimY, ModelDimZ int // The dimensions for each subregion. DimX, DimY, DimZ int // MMPV is the millimeters per voxel of the model. MMPV float64 // SubregionScale represents the scale for each subregion. SubregionScale float64 }
STL represents a converted STL file to a mesh.
Click to show internal directories.
Click to hide internal directories.