Printable front and back caps for common lens sizes for c-mount lenses
Go to file
mattmcw b1615247be Add the back_cap script 2026-09-09 08:55:20 -04:00
notes Add all existing measured caps. Render all. 2024-03-19 11:13:48 -04:00
scad Add the back_cap script 2026-09-09 08:55:20 -04:00
stl Added Pan-Cinor zoom cap and tested print on Prusa i3 2026-06-12 16:38:02 -04:00
.gitignore Add all existing measured caps. Render all. 2024-03-19 11:13:48 -04:00
.gitmodules Add all existing measured caps. Render all. 2024-03-19 11:13:48 -04:00
LICENSE Initial commit 2024-03-19 14:46:14 +00:00
README.md Actually commit single.sh 2026-09-09 08:43:55 -04:00
compile.sh Tweak the lenses.csv to use columns and not split a string when creating the caps 2026-08-28 13:14:14 -04:00
lenses.csv Tweak the lenses.csv to use columns and not split a string when creating the caps 2026-08-28 13:14:14 -04:00
single.sh Actually commit single.sh 2026-09-09 08:43:55 -04:00

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"