Module io

Source
Expand description

Containing IO functions / traits / types

Structs§

Header
HeaderRaw
PointData

Enums§

GcodeError
Error type for .gcode file operations
LasError
Error type for .las file operation
MeshOrPoints
ObjError
Error type for .obj file operations
OffError
Error type for .off file operations
PlyError
Error type for .ply file operations
PslError
Error type for .psl file operations
PtsError
Error type for .pts file operations
PtxError
Error type for .ptx file operations
StlError
Error type for .stl file operations
StlFormat
Whether format shall be considered to be binary/ASCII or auto determined
WithLineInfo
Wrapper type with additional line information
XyError
Error type for .xy file operations
XyzError
Error type for .xyz file operations

Traits§

LineInfoResult
Trait for adding line information to (error) types

Functions§

load_gcode_points
Loads a IsPushable as x y z coordinates from gcode
load_las
Loads points from .las file into IsPushable
load_obj_mesh
Loads an IsMesh3D from the .obj file format
load_obj_points
Loads IsPushable from the .obj file format
load_off_mesh
Loads an IsMesh3D from the off file format
load_off_points
Loads IsPushable from the .off file format
load_ply_either
Loads an IsMesh3D from the .ply file format if possible, otherwise tries loading point data. Returning which of the two was possible
load_ply_mesh
Loads an IsMesh3D from the .ply file format
load_ply_points
Loads the points from the .ply file into IsPushable
load_psl
Loads a IsPushable as x y z coordinates from .psl files
load_pts
Loads IsPushable from the .pts file format
load_ptx
Loads points from .ptx file into IsPushable
load_stl_mesh_duped
Loads a Mesh from .stl file with duplicate vertices
load_stl_mesh_unique
Loads a Mesh from .stl file with unique vertices, dropping invalid triangles
load_stl_triplets
Loads points from .stl file as triplets into IsPushable
load_xy
Loads a IsPushable as x y coordinates. E.g. used to load the .xy file format or .csv files
load_xyz
Loads a IsPushable as x y z coordinates. E.g. used to load the .xyz file format or .csv file
save_ply_ascii
Saves an IsMesh3D in the ASCII .ply file format
save_ply_ascii_colored
Saves an IsMesh3D in the ASCII .ply file format with additional colors
save_ply_binary
Saves an IsMesh3D in the binary .ply file format
save_ply_binary_colored
Saves an IsMesh3D in the binary .ply file format with additional colors
save_stl_ascii
Saves an IsMesh3D in the ASCII .stl file format
save_xy
Saves an IsRandomAccessible as x y coordinates with a specified delimiter between coordinates and positions. E.g. used to create the .xy file format or .csv files
save_xyz
Saves an IsRandomAccessible as x y z coordinates with a specified delimiter between coordinates and positions. E.g. used to create the .xyz file format or .csv files

Type Aliases§

GcodeResult
Result type for .gcode file operations
IOResult
Result type for errors with additional line information
LasResult
Result type for .las file operation
ObjResult
Result type for .obj file operations
OffResult
Result type for .off file operations
PslResult
Result type for .psl file operations
PtsResult
Result type for .pts file operations
PtxResult
Result type for .ptx file operations
StlIOResult
Result type for .stl file operations
StlResult
Result type for .stl file operations
XyIOResult
Result type for .xy file operations
XyResult
Result type for .xy file operations
XyzIOResult
Result type for .xyz file operations
XyzResult
Result type for .xyz file operations