(read-stl in)
(read-stl in mesh)
Reads faces from binary STL input stream wrapper and adds them to given (or new) mesh.
Reads faces from binary STL input stream wrapper and adds them to given (or new) mesh.
Alias for thi.ng.dstruct.streams/input-stream
Alias for thi.ng.dstruct.streams/input-stream
Alias for thi.ng.dstruct.streams/output-stream
Alias for thi.ng.dstruct.streams/output-stream
(write-obj out mesh)
Writes mesh as Waveform OBJ format to output stream wrapper. Returns stream wrapper.
Writes mesh as Waveform OBJ format to output stream wrapper. Returns stream wrapper.
(write-obj-indexed out mesh)
(write-obj-indexed out mesh opts)
Writes IndexedMesh as Waveform OBJ format to output stream wrapper. Suports vertex normals & UV coordinates. Returns stream wrapper.
Writes IndexedMesh as Waveform OBJ format to output stream wrapper. Suports vertex normals & UV coordinates. Returns stream wrapper.
(write-off out mesh)
Writes mesh as OFF format to output stream wrapper. Returns stream wrapper.
Writes mesh as OFF format to output stream wrapper. Returns stream wrapper.
(write-ply out mesh)
Writes the given mesh as binary PLY to output stream wrapper. For compatibility with some external tools, the mesh should already have been tessellated before calling this fn. Returns stream wrapper.
Writes the given mesh as binary PLY to output stream wrapper. For compatibility with some external tools, the mesh should already have been tessellated before calling this fn. Returns stream wrapper.
(write-stl out mesh)
Writes the given mesh as binary STL to output stream wrapper. Assumes mesh already has been tessellated into triangles (i.e. only the first 3 vertices of each face are exported). Returns stream wrapper.
Writes the given mesh as binary STL to output stream wrapper. Assumes mesh already has been tessellated into triangles (i.e. only the first 3 vertices of each face are exported). Returns stream wrapper.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close