Add all existing measured caps. Render all.

This commit is contained in:
mmcwilliams 2024-03-19 11:13:48 -04:00
parent c80abbcd7a
commit e719bab630
18 changed files with 111847 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.DS_Store

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "scad/common"]
path = scad/common
url = https://git.sixteenmillimeter.com/modules/common.git

View File

@ -1,3 +1,5 @@
# c_mount_lens_caps # c-mount lens caps
Printable front and back caps for common lens sizes for c-mount lenses Printable front and back caps for common lens sizes for c-mount lenses.
-----

24
compile.sh Normal file
View File

@ -0,0 +1,24 @@
#!/bin/bash
############################
#
# Compile all STL files
#
############################
while read line; do
name=$(echo "${line}" | awk -F',' '{print $1}')
if [[ "${name}" == "lens" ]]; then
continue;
fi
diameter=$(echo "${line}" | awk -F',' '{print $2}')
height=$(echo "${line}" | awk -F',' '{print $3}')
thickness=$(echo "${line}" | awk -F',' '{print $4}')
echo "Compiling ${name}..."
stl="stl/${name}_front_cap.stl"
openscad -o "${stl}" -D "Diameter=${diameter}" -D "Thickness=${thickness}" -D "Height=${height}" scad/front_cap.scad
python scad/common/c14n_stl.py "${stl}"
done < ./lenses.csv
README=$(cat ./README.md)

11
lenses.csv Normal file
View File

@ -0,0 +1,11 @@
lens,diameter,height,thickness,confirmed
Pizar_25mm,33.5,5,3,false
Pizar_26mm,33.5,5,3,false
Switar_10mm,33.5,5,3,false
Switar_16mm,33.5,5,3,false
Switar_25mm,33.5,5,3,false
Switar_50mm,43.4,5,3,false
Yvar_16mm,33.5,5,3,false
Yvar_75mm,33.5,5,3,false
Yvar_100mm,33.5,5,3,false
Yvar_150mm,43.5,5,3,false
1 lens diameter height thickness confirmed
2 Pizar_25mm 33.5 5 3 false
3 Pizar_26mm 33.5 5 3 false
4 Switar_10mm 33.5 5 3 false
5 Switar_16mm 33.5 5 3 false
6 Switar_25mm 33.5 5 3 false
7 Switar_50mm 43.4 5 3 false
8 Yvar_16mm 33.5 5 3 false
9 Yvar_75mm 33.5 5 3 false
10 Yvar_100mm 33.5 5 3 false
11 Yvar_150mm 43.5 5 3 false

47
notes/references.md Normal file
View File

@ -0,0 +1,47 @@
# References
[Kern Switar Lenses - C-Mount](https://cinematography.com/index.php?/forums/topic/796-kern-switar-lenses-c-mount/&do=findComment&comment=5838)
```
Kern / Focal Length (mm) / Hood Diameter (mm)
Switar / 10 / 33.5
Yvar / 16 / 33.5
Switar / 16 / 33.5
*Switar / 25 / (Not provided by Surgenor; my RX matches the Switar 16mm RX)
Pizar / 25 / 33.5
Pizar / 26 / 33.5
Macro Switar / 26 / (Not provided)
*Pizar / 50 / (Not provided; my RX matches my Switar AR 75mm)
Switar / 50 / 43.4
Yvar / 75 / 33.5
Macro Switar / 75 / (Not provided)
*Switar AR / 75 / (Not Listed; matches my Pizar RX 50mm)
Yvar / 100 / 33.5
Macro Yvar / 150 / (Not provided)
Yvar / 150 / 43.5
These 33.5mm diameters apparently correspond to the 32mm front thread.
Also, according to Chambless Cine Equipment, the Kern 100 group of zoom lenses, (POE, POE-4, and PTL), have an 85mm front thread.
```

1
scad/common Submodule

@ -0,0 +1 @@
Subproject commit 53f4dd4a2d6dd038c1beb97f8ae721ec5905a43b

15
scad/front_cap.scad Normal file
View File

@ -0,0 +1,15 @@
include <./common/common.scad>;
Diameter = 33.5;
Height = 5;
Thickness = 3;
$fn = 200;
module front_cap () {
difference () {
cylinder(r = R(Diameter) + Thickness, h = Height + Thickness);
translate([0, 0, Thickness]) cylinder(r = R(Diameter), h = Height + Thickness);
}
}
front_cap();

11174
stl/Pizar_25mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Pizar_26mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Switar_10mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Switar_16mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Switar_25mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Switar_50mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Yvar_100mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Yvar_150mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Yvar_16mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff

11174
stl/Yvar_75mm_front_cap.stl Normal file

File diff suppressed because it is too large Load Diff