63 lines
1.8 KiB
OpenSCAD
63 lines
1.8 KiB
OpenSCAD
|
// Blackberry Q10 frame backing and parts mounts
|
||
|
// length units are millimeters
|
||
|
|
||
|
frameHeight = 202.00;
|
||
|
frameWidth = frameHeight;
|
||
|
frameDepth = 14.00;
|
||
|
frameBorder = 5.00;
|
||
|
|
||
|
screwThreadRadius = 0.7;
|
||
|
screwSupportRadius = 2.00;
|
||
|
|
||
|
include <ng_common/hollow_cylinder.scad>;
|
||
|
|
||
|
// base
|
||
|
cube([frameWidth, 0.4, frameHeight]);
|
||
|
|
||
|
// side frame and loudspeaker
|
||
|
translate([frameWidth - (15 + frameBorder), 0, frameHeight - (30 + frameBorder)]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 2.80);
|
||
|
}
|
||
|
translate([frameWidth - (73.1 + frameBorder), 0, frameHeight - (30 + frameBorder)]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 2.80);
|
||
|
}
|
||
|
|
||
|
// mainboard
|
||
|
translate([frameWidth - (30 + frameBorder), 0, 120 - frameBorder]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 12);
|
||
|
}
|
||
|
translate([frameWidth - (30 + frameBorder), 0, 22.5 - frameBorder]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 12);
|
||
|
}
|
||
|
|
||
|
// keyboard
|
||
|
translate([frameWidth - (85 + frameBorder), 0, 40 + frameBorder]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 7.80);
|
||
|
}
|
||
|
|
||
|
// display and midframe
|
||
|
translate([frameWidth - (95 + frameBorder), 0, 90 + frameBorder]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 7.80);
|
||
|
}
|
||
|
|
||
|
// top back cover
|
||
|
translate([60 + frameBorder, 0, 130 + frameBorder]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 3.00);
|
||
|
}
|
||
|
translate([33.1 + frameBorder, 0, 130 + frameBorder]) {
|
||
|
rotate([90,0,0])
|
||
|
hollowCylinder(screwThreadRadius, screwSupportRadius, 3.00);
|
||
|
}
|
||
|
|
||
|
// bottom back cover
|
||
|
translate([40 + frameBorder, -5, 15 + frameBorder]) {
|
||
|
cube([10, 5, 2]);
|
||
|
}
|