Skip to content

Instantly share code, notes, and snippets.

@eparadis
Created January 14, 2022 06:11
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 eparadis/616880424aad3e795d38ec58f658f95b to your computer and use it in GitHub Desktop.
Save eparadis/616880424aad3e795d38ec58f658f95b to your computer and use it in GitHub Desktop.
a place to rest my headphones that clips onto my cheap microphone boom arm
// headphone mount that clips on my mic arm
//difference() {
//square(20, center=true);
//square(10, center=true);
//}
// the mic arm width
arm_width=10.11 + 2*.1; // .1 clearance on each side
vertical_part_thickness = 10;
top_width=arm_width + vertical_part_thickness * 2;
// the hook is the part where the headphones rest
// The headband of my Sony MDR-7506 is 48mm
hook_length=50;
hook_height=10;
// diamter of the stay at the end of the hook
end_diameter=17;
// an optional pin to secure the hook
pin_diameter = 2;
overall_width = 20;
difference() {
linear_extrude(overall_width, center=true, convexity=10) {
polygon([
[vertical_part_thickness, 30],
[0, 30],
[0, 60], // top left corner
[top_width, 60], // top right corner
[top_width, hook_height],
[top_width + hook_length + end_diameter/2, hook_height],
[top_width + hook_length + end_diameter/2, 0],
[arm_width + vertical_part_thickness, 0],
[arm_width + vertical_part_thickness, 50],
[vertical_part_thickness, 50]
], convexity=10);
translate([top_width + hook_length + end_diameter/2, hook_height*.8])
circle(d=end_diameter);
}
translate([vertical_part_thickness + arm_width/2, 60-10-arm_width-pin_diameter, 0])
rotate([0, 90, 0])
cylinder(100, d=pin_diameter, center=true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment