aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-09 19:52:48 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-07-09 19:52:48 +0200
commit454a713e420df7eebdfe522ac0ec9898b43fe7de (patch)
tree94742930ab52fed730333bba607d00fa7157d9c1
parent98f4d3d694433071ac8cb0b747a3ebc6d6433646 (diff)
downloadwebcam_fmount-454a713e420df7eebdfe522ac0ec9898b43fe7de.tar.gz
filter mount
-rw-r--r--webcam_fmount.scad30
1 files changed, 30 insertions, 0 deletions
diff --git a/webcam_fmount.scad b/webcam_fmount.scad
index 5d9bbd7..988a287 100644
--- a/webcam_fmount.scad
+++ b/webcam_fmount.scad
@@ -53,6 +53,34 @@ base_thickness = 4;
// if the sensor pertrudes from the mounting plane
sensor_offset = 1;
+module filter_mount() {
+ tolerance = 0.6;
+ l = 6.5 + tolerance;
+ h = 1.5;
+ lip = 0.3;
+ lip_h = 0.6;
+
+ translate([0,0,-h]) {
+ linear_extrude(lip_h) difference() {
+ square(l, center=true);
+ offset(delta=-lip) square(l, center=true);
+ }
+
+ linear_extrude(h) difference() {
+ square(mount_base-mount_wall, center=true);
+ square(l, center=true);
+ }
+
+ slant_h = base_thickness;
+ translate([0,0,-slant_h]) difference() {
+ linear_extrude(slant_h)
+ square(mount_base-mount_wall, center=true);
+ linear_extrude(slant_h, scale=(l - 2*lip)/(mount_base-mount_wall))
+ square(mount_base-mount_wall, center=true);
+ }
+ }
+}
+
module screwpost_2d() {
r = 2;
screw=1;
@@ -61,6 +89,7 @@ module screwpost_2d() {
circle(r);
translate([0,-r]) square([(screw_distance-mount_base)/2,2*r]);
}
+
circle(screw);
}
}
@@ -95,3 +124,4 @@ translate([0,0,base_thickness]) {
translate([0,0,-sensor_offset]) linear_extrude(base_thickness + sensor_offset) sensor_mount();
translate([0,0,sensor_distance-flange_height]) nikon_f_flange();
+translate([0,0,base_thickness + sensor_offset]) filter_mount();