Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the stl Reference Manual, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 15:07:59 2020 GMT+0.
• Introduction | What stl is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
This is a small library for reading the triangle data in binary STL files.
Here is a small example showing how to read a file and compute the area of the triangles in it.
CL-USER> (ql:quickload :stl)
To load "stl":
Load 1 ASDF system:
stl
; Loading "stl"
...
(:STL)
CL-USER> (defparameter *cube* (stl:read-stl "~/3d_models/cube.stl"))
*CUBE*
CL-USER> (stl:stl-area *cube*)
24.000002
CL-USER>
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The stl system |
Jeremiah LaRocco <jeremiah.larocco@gmail.com>
ISC
Load triangle data from binary stereolithography (STL) files.
3d-vectors
stl.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The stl.asd file | ||
• The stl/package.lisp file | ||
• The stl/stl.lisp file |
Next: The stl/package․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
stl.asd
stl (system)
Next: The stl/stl․lisp file, Previous: The stl․asd file, Up: Lisp files [Contents][Index]
Previous: The stl/package․lisp file, Up: Lisp files [Contents][Index]
package.lisp (file)
stl (system)
stl.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The stl package |
package.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions | ||
• Exported generic functions | ||
• Exported classes |
Next: Exported generic functions, Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Compute the distance between two points.
Read an STL file from fname and return the vector of triangles.
Next: Exported classes, Previous: Exported functions, Up: Exported definitions [Contents][Index]
Previous: Exported generic functions, Up: Exported definitions [Contents][Index]
stl.lisp (file)
standard-object (class)
area (method)
3d-vectors:vec3
:normal
3d-vectors:vec3
:pt1
3d-vectors:vec3
:pt2
3d-vectors:vec3
:pt3
fixnum
:attribute
0
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal functions |
Next: Internal functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
Size of an STL float in bytes.
Size of an STL point in bytes.
Size of an STL triangle in bytes.
Previous: Internal special variables, Up: Internal definitions [Contents][Index]
Compute the normal of a triangle.
Interpret four bytes in arr as a single-float.
Create a point using x, y, and z values read from arr.
Interpret four bytes in arr as an ’(signed-byte 32)
Interpret two bytes in arr as an ’(unsigned-byte 32)
Interpret the four bytes in arr as an ’(unsigned-byte 32)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L S |
---|
Jump to: | F L S |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | A B C D F G M R T Z |
---|
Jump to: | A B C D F G M R T Z |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
A N P S |
---|
Jump to: | *
A N P S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | C P S T |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
C | |||
Class, triangle : | Exported classes | ||
| |||
P | |||
Package, stl : | The stl package | ||
| |||
S | |||
stl : | The stl system | ||
stl : | The stl package | ||
System, stl : | The stl system | ||
| |||
T | |||
triangle : | Exported classes | ||
|
Jump to: | C P S T |
---|