|
|
||
|---|---|---|
| notes | ||
| scad | ||
| stl | ||
| .gitignore | ||
| .gitmodules | ||
| LICENSE | ||
| README.md | ||
| compile.sh | ||
| lenses.csv | ||
| single.sh | ||
README.md
c-mount lens caps
Printable front and back caps for common lens sizes for c-mount lenses.
compile.sh
This script will generate all lens caps in the lenses.csv file.
All STLs will be created in the stl directory and named according to the "name" and "focal" columns in the file.
name,focal,diameter,height,thickness,confirmed
Pizar,25mm,33.5,5,2,false
single.sh
The single.sh script is for creating one-off caps and can be used to test print diameters and depths before committing them to the lenses.csv file as confirmed
This command will create a single cap STL file named "yvar_test.stl" and place it on your system Desktop.
bash single.sh "Yvar" "75mm" 33.5 5 2 "~/Desktop/yvar_test.stl"
This command will create the same cap with no label text.
bash single.sh "" "" 33.5 5 2 "~/Desktop/yvar_test.stl"