- Progressed with the housing but not there yet
This commit is contained in:
@@ -145,21 +145,23 @@ module GC9A01A_Cover_Cutout(thickness)
|
||||
}
|
||||
}
|
||||
|
||||
module GC9A01A_Cover_Plate(thickness, scale_factor)
|
||||
module GC9A01A_Cover_Plate(thickness, scale_factor, cutout=false)
|
||||
{
|
||||
Circle_Cutout_D = Screw_Pit_M3;
|
||||
|
||||
translate([0, 0, thickness/2])
|
||||
Plate_X = 40*scale_factor;
|
||||
Plate_Y = 47*scale_factor;
|
||||
|
||||
translate([0, 0, thickness/2])
|
||||
difference()
|
||||
{
|
||||
translate([ 0, 20, 0]) roundedBox([40*scale_factor, 47*scale_factor, thickness], 5, true, $fn = $preview ? 32 : 100);
|
||||
// translate([22, 24, 0]) cylinder(d=Circle_Cutout_D, h=3*thickness, center=true, $fn = $preview ? 32 : 100);
|
||||
translate([0, 20, 0]) roundedBox([Plate_X, Plate_Y, thickness], 5, true, $fn = $preview ? 32 : 100);
|
||||
if(cutout == false) {
|
||||
|
||||
GC9A01A_Cover_Cutout(10);
|
||||
|
||||
translate([-Plate_X/2-10+Screw_Pit_M3, 20-Plate_Y/2-10, 0])
|
||||
translate([0.5, Screw_Pit_M3-1.2, 0]) roundedBox([20, 20, 20], Screw_Pit_M3/1.8, true, $fn = $preview ? 32 : 100);
|
||||
}
|
||||
|
||||
translate([-16.3, -1.7, 0]) {
|
||||
// cylinder(d=Circle_Cutout_D, h=3*thickness, center=true, $fn = $preview ? 32 : 100);
|
||||
// translate([-Circle_Cutout_D/4, 0, 0]) cube([Circle_Cutout_D/2, Circle_Cutout_D, 3*thickness], center=true);
|
||||
translate([-2, -Circle_Cutout_D/4, 0]) cube([Circle_Cutout_D-4, Circle_Cutout_D/2, 3*thickness], center=true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user