Skip to content

treeplate/gears

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Dart program that creates an STL of a gear. Uses the vector_math package for some geometry stuff.

lib/gears.dart

The bulk of the program. Its only function, gear, takes a few settings and generates a list of triangles that the gear is made of.

lib/stl.dart

It has a function convertToSTL that takes a list of triangles and converts them to a string in STL format.

bin/gears.dart

The main program. It passes hardcoded parameters to gear, passes the result to convertToSTL, then saves that in gear.stl.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages