initial commit
This commit is contained in:
7058
bracket.stl
Normal file
7058
bracket.stl
Normal file
File diff suppressed because it is too large
Load Diff
150
miner_hpcs_bracket.scad
Normal file
150
miner_hpcs_bracket.scad
Normal file
@@ -0,0 +1,150 @@
|
||||
// measured dimensions: 86.40 x 38.20 mm
|
||||
|
||||
width=86.40;
|
||||
height=38.20;
|
||||
|
||||
hole_spacing=85.50;
|
||||
|
||||
slack=0.2;
|
||||
thickness=4.0;
|
||||
bracket_width=15;
|
||||
|
||||
module bracket()
|
||||
{
|
||||
difference()
|
||||
{
|
||||
union()
|
||||
{
|
||||
difference()
|
||||
{
|
||||
cube([width+slack+2*thickness, height+slack+2*thickness, bracket_width]);
|
||||
translate([thickness, thickness, 0])
|
||||
cube([width+slack, height+slack, bracket_width]);
|
||||
translate([(width+slack+2*thickness)/2-1, 0, 0])
|
||||
cube([2, thickness, bracket_width]);
|
||||
|
||||
}
|
||||
}
|
||||
translate([20,height+slack+thickness,bracket_width/2])
|
||||
rotate([-90,0,0])
|
||||
cylinder(d=3.4, h=thickness, $fn=30);
|
||||
translate([20,height+slack+thickness,bracket_width/2])
|
||||
rotate([-90,0,0])
|
||||
cylinder(d=7, h=thickness-2, $fn=30);
|
||||
translate([width+slack+2*thickness-20,height+slack+thickness,bracket_width/2])
|
||||
rotate([-90,0,0])
|
||||
cylinder(d=3.4, h=thickness, $fn=30);
|
||||
translate([width+slack+2*thickness-20,height+slack+thickness,bracket_width/2])
|
||||
rotate([-90,0,0])
|
||||
cylinder(d=7, h=thickness-2, $fn=30);
|
||||
}
|
||||
|
||||
translate([(width+slack+2*thickness)/2-16, 0, 0])
|
||||
difference()
|
||||
{
|
||||
linear_extrude(bracket_width)
|
||||
polygon([[0,0],[15,0],[15,-10],[10,-10]]);
|
||||
translate([0,-5,bracket_width/2])
|
||||
rotate([0,90,0])
|
||||
cylinder(d=6.8, $fn=6, h=12);
|
||||
translate([0,-5,bracket_width/2])
|
||||
rotate([0,90,0])
|
||||
cylinder(d=3.4, $fn=30, h=15);
|
||||
}
|
||||
|
||||
translate([(width+slack+2*thickness)/2+16,0,bracket_width])
|
||||
rotate([0,180,0])
|
||||
difference()
|
||||
{
|
||||
linear_extrude(bracket_width)
|
||||
polygon([[0,0],[15,0],[15,-10],[10,-10]]);
|
||||
translate([0,-5,bracket_width/2])
|
||||
rotate([0,90,0])
|
||||
cylinder(d=6.8, $fn=45, h=12);
|
||||
translate([0,-5,bracket_width/2])
|
||||
rotate([0,90,0])
|
||||
cylinder(d=3.4, $fn=30, h=15);
|
||||
}
|
||||
}
|
||||
|
||||
module hole()
|
||||
{
|
||||
cylinder(d=3.4, h=3, $fn=30);
|
||||
translate([0,0,1])
|
||||
cylinder(d=7, h=2, $fn=30);
|
||||
}
|
||||
|
||||
|
||||
module plate()
|
||||
{
|
||||
difference()
|
||||
{
|
||||
union()
|
||||
{
|
||||
linear_extrude(3, convexity=10)
|
||||
{
|
||||
difference()
|
||||
{
|
||||
square([width+slack+2*thickness,180]);
|
||||
for (y=[0:10:180])
|
||||
{
|
||||
for (x=[0:10:width+slack+2*thickness])
|
||||
{
|
||||
translate([x,y])
|
||||
rotate([0,0,360/16])
|
||||
circle(d=6, $fn=8);
|
||||
translate([x+5,y+5])
|
||||
rotate([0,0,360/16])
|
||||
circle(d=6, $fn=8);
|
||||
}
|
||||
}
|
||||
}
|
||||
square([10,180]);
|
||||
square([width+slack+2*thickness,10]);
|
||||
translate([width+slack+2*thickness-10,0])
|
||||
square([10,180]);
|
||||
translate([0,170])
|
||||
square([width+slack+2*thickness,10]);
|
||||
|
||||
}
|
||||
|
||||
translate([0,15,0])
|
||||
cube([width+slack+2*thickness, bracket_width, 3]);
|
||||
translate([0,125,0])
|
||||
cube([width+slack+2*thickness, bracket_width, 3]);
|
||||
}
|
||||
|
||||
translate([7.5,7.5,0])
|
||||
hole();
|
||||
translate([7.5,180-7.5,0])
|
||||
hole();
|
||||
translate([width+slack+2*thickness-7.5,7.5,0])
|
||||
hole();
|
||||
translate([width+slack+2*thickness-7.5,180-7.5,0])
|
||||
hole();
|
||||
|
||||
translate([20,15+bracket_width/2,0])
|
||||
{
|
||||
cylinder(d=3.4, h=3, $fn=30);
|
||||
cylinder(d=6.8, h=2, $fn=6);
|
||||
}
|
||||
translate([20,125+bracket_width/2,0])
|
||||
{
|
||||
cylinder(d=3.4, h=3, $fn=30);
|
||||
cylinder(d=6.8, h=2, $fn=6);
|
||||
}
|
||||
translate([width+slack+2*thickness-20,15+bracket_width/2,0])
|
||||
{
|
||||
cylinder(d=3.4, h=3, $fn=30);
|
||||
cylinder(d=6.8, h=2, $fn=6);
|
||||
}
|
||||
translate([width+slack+2*thickness-20,125+bracket_width/2,0])
|
||||
{
|
||||
cylinder(d=3.4, h=3, $fn=30);
|
||||
cylinder(d=6.8, h=2, $fn=6);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//bracket();
|
||||
plate();
|
||||
Reference in New Issue
Block a user