Skip to content

Instantly share code, notes, and snippets.

@buzztiaan
Created September 1, 2022 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buzztiaan/485e00a9279878a25ef86976f3e7ac43 to your computer and use it in GitHub Desktop.
Save buzztiaan/485e00a9279878a25ef86976f3e7ac43 to your computer and use it in GitHub Desktop.
Lampclamp for my microphone arm turned webcam holder
// 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();
}
@buzztiaan
Copy link
Author

image

@buzztiaan
Copy link
Author

uZ4W1UC
jIngTVp
JBS4IY3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment