Liking cljdoc? Tell your friends :D

thi.ng.geom.mesh.io


*precision*clj/s

source

read-stlclj/s

(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.
sourceraw docstring

wrapped-input-streamclj/s

Alias for thi.ng.dstruct.streams/input-stream

Alias for thi.ng.dstruct.streams/input-stream
sourceraw docstring

wrapped-output-streamclj/s

Alias for thi.ng.dstruct.streams/output-stream

Alias for thi.ng.dstruct.streams/output-stream
sourceraw docstring

write-objclj/s

(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.
sourceraw docstring

write-obj-indexedclj/s

(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.
sourceraw docstring

write-offclj/s

(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.
sourceraw docstring

write-plyclj/s

(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.
sourceraw docstring

write-stlclj/s

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close