Created
September 1, 2022 14:51
-
-
Save buzztiaan/485e00a9279878a25ef86976f3e7ac43 to your computer and use it in GitHub Desktop.
Lampclamp for my microphone arm turned webcam holder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// lampclamp | |
// micarm is 10.4x10mm | |
// lamp dia is ~5mm and threaded? | |
// pcb is 47x48mm , 4 mounting holes at 30mm apart squared | |
// touch is a 15mm diameter circle | |
$fa=1; $fs=1; | |
module fake_arm() { | |
color(c=[0.2,0.2,0.2,0.5]) | |
cube([11,100,11], center=true); | |
} | |
//fakearm(); | |
module arm_hook() { | |
difference() { | |
hook_shape(); | |
fake_arm(); | |
} | |
} | |
module lamp_mount() { | |
difference() { | |
hull() { | |
cube([1,1,10]); | |
translate([2.5,20,5]) | |
rotate([90,90,0]) | |
cylinder(d=10,h=1); | |
} | |
translate([2.5,-5,5]) | |
rotate([90,90,180]) | |
cylinder(d = 5.45, h=30); | |
} | |
} | |
module pcb_screwposts() { | |
difference() { | |
hull() { | |
translate([-12.5,-15,-2.5]) | |
rotate([0,-90,0]) | |
cylinder(d=6,h=10,center=true); | |
translate([-7.5,-22.5,-2.5]) | |
rotate([0,-90,0]) | |
cylinder(d=6,h=.1,center=true); | |
translate([-12.5,15,-2.5]) | |
rotate([0,-90,0]) | |
cylinder(d=6,h=10,center=true); | |
translate([-7.5,24.9,-5]) | |
cube([.1,.1,6]); | |
} | |
translate([-12.5,-15,-2.5]) | |
rotate([0,-90,0]) | |
cylinder(d=2.3,h=12,center=true); | |
translate([-12.5,15,-2.5]) | |
rotate([0,-90,0]) | |
cylinder(d=2.3,h=12,center=true); | |
} | |
} | |
module hook_shape() { | |
cube([15,50,15], center=true); | |
} | |
//fake_arm(); | |
union() { | |
arm_hook(); | |
translate([8,5,-5]) lamp_mount(); | |
pcb_screwposts(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment