Skip to content
/ stl Public

Read binary triangle data from STL files.

License

Notifications You must be signed in to change notification settings

jl2/stl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Read binary triangle data from STL files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages