Output formats

Currently supported output file formats with different models:

File typeSurface modelVolume modelCharges included
HMO
OBJ
SKEL
STL
VTK

HMO

NESSie.Format.writehmoFunction
writehmo(
    stream::IOStream,
    model ::Model{T, Triangle{T}}
)

Creates a HMO file from the given surface model.

Return type

Nothing

Alias

writehmo(    fname::AbstractString,    model::Model{T, Triangle{T}})

Creates the HMO file by name rather than IOStream object.

source

OBJ

SKEL

STL

VTK

NESSie.Format.writevtkFunction
writevtk(
    stream::IOStream,
    model ::Model{T}
)

Creates a VTK-compatible output file from a given surface or volume model. The exact file type is determined by the given model:

Model typeResulting file type
Surface modelVTK PolyData
Volume modelVTK UnstructuredGrid

Specification

https://vtk.org/wp-content/uploads/2015/04/file-formats.pdf

Return type

Nothing

Alias

writevtk(    fname::AbstractString,    model::Model{T})

Creates the VTK file by name rather than IOStream object.

source