You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
3.1 KiB
89 lines
3.1 KiB
7 years ago
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Left holder part to anchor PCB with in the etching bath.
|
||
|
//
|
||
|
// Author: Maximilian Stiefel
|
||
|
// Last modification: 17.06.2017
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Includes
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
include <dimensions.scad>
|
||
|
use <dimensions.scad>
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Vars
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// Action
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
color(myColor)
|
||
|
difference()
|
||
|
{
|
||
|
union()
|
||
|
{
|
||
|
// Cube for the base holder
|
||
|
cube([holder_width, holder_depth, holder_height], center = false);
|
||
|
|
||
|
// Head
|
||
|
translate([0, 0, holder_height + neck_height])
|
||
|
cube([head_width, head_depth, head_height]);
|
||
|
|
||
|
// Neck
|
||
|
translate([holder_width/2, holder_depth/2, holder_height])
|
||
|
cylinder(h = neck_height, r = neck_diameter/2);
|
||
|
|
||
|
// Bar, that PCB does not fall
|
||
|
translate([holder_width/2 - bar_width/2, -bar_depth, height_diff_1/2 - bar_height])
|
||
|
cube([bar_width, bar_depth, bar_height]);
|
||
|
|
||
|
// Text
|
||
|
translate([holder_width/2 + 4, holder_depth, 0.2*holder_height])
|
||
|
rotate([90,0,180])
|
||
|
linear_extrude(height = 3, center = true, convexity = 10, twist = 0)
|
||
|
text("L", size = 10, valign = "center");
|
||
|
translate([0, holder_depth -1, (1/4)*height_diff_1 + 6])
|
||
|
rotate([90, 0, 270])
|
||
|
linear_extrude(height = 2, center = true, convexity = 10, twist = 0)
|
||
|
text("M3", size = 3, valign = "center");
|
||
|
translate([0, holder_depth/2, holder_height/2])
|
||
|
rotate([90, -90, 270])
|
||
|
linear_extrude(height = 2, center = true, convexity = 10, twist = 0)
|
||
|
text("Maximilian Stiefel 2017", size = 3, valign = "center");
|
||
|
|
||
|
}
|
||
|
|
||
|
union()
|
||
|
{
|
||
|
// Cube for notch
|
||
|
//translate([holder_width/2 - notch_width/2, -notch_depth +2, height_diff_1/2])
|
||
|
//cube([notch_width, notch_depth, notch_height], center = false);
|
||
|
|
||
|
// Triangular notch
|
||
|
translate([-c/2 + holder_width/2, -0.01, height_diff_1/2])
|
||
|
linear_extrude(height = notch_height, center = false)
|
||
|
polygon(points=[[0,0],[c/2,y], [c,0]], paths = [[0,1,2]]);
|
||
|
|
||
|
// Slots for crossbars
|
||
|
translate([width_diff_1/2, -1, (1/4)*height_diff_1 - crossbar_height/2])
|
||
|
cube([crossbar_width, holder_depth + 2, crossbar_height], center = false);
|
||
|
translate([width_diff_1/2, -1, (3/4)*height_diff_1 + notch_height - crossbar_height/2])
|
||
|
cube([crossbar_width, holder_depth + 2, crossbar_height], center = false);
|
||
|
|
||
|
// Drill holes for screws
|
||
|
translate([-1, holder_depth/2, (1/4)*height_diff_1])
|
||
|
rotate([0, 90, 0])
|
||
|
cylinder(h = 9, r = hole_diameter/2);
|
||
|
translate([0, holder_depth/2,(3/4)*height_diff_1 + notch_height])
|
||
|
rotate([0, 90, 0])
|
||
|
cylinder(h = 9, r = hole_diameter/2);
|
||
|
|
||
|
// Holes for the air system
|
||
|
// translate([holder_width/2, holder_depth + 1, 0])
|
||
|
// rotate([90, 0, 0])
|
||
|
// cylinder(h = holder_depth + 2, r = air_system/2);
|
||
|
}
|
||
|
}
|