Skip to content

zig/capy app for rendering wireframes of stl files on a capy canvas

License

Notifications You must be signed in to change notification settings

Catniped/capy-stl-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capy-stl-viewer

little precursor project for my 3d printing slicer written in zig, this is a zig/capy app for rendering wireframes of stl files on a capy canvas.

an image of a cube rendered by the app

Usage

zig build run, enter path for stl file (relative to your cwd), press "Set model", use left mouse button + drag to move the camera in x,y, use right mouse button + drag to change the angle of the camera.

Notes

  • thanks to https://gamedev.stackexchange.com/a/25588 for the base projection code
  • the renderer is not very optimized, and may struggle with large meshes. that is however not its usecase so for now im keeping it simple

About

zig/capy app for rendering wireframes of stl files on a capy canvas

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Zig 100.0%