module AsForeAftMaint(){
if ($foreaftmaint_dz) {
- translate([ 0, $foreaftmaint_rail_y, $foreaftmaint_rail_z ])
- children();
+ children();
}
}
AsForeAftMaint(){
linextr_x_yz(-main_sz_x_fam/2,
+main_sz_x_fam/2){
- hull(){
- for (y = [-rack_rail_dia/2 + grasp_large_r,
- (-$foreaftmaint_rail_y
- + adapt_main_top_y - grasp_large_r)
- ])
- for (dx= [-1,+1] * rack_rail_dia/2)
- translate([ y, dx ])
- circle(r= grasp_large_r);
+ rotate(-90)
+ difference(){
+ hull(){
+ for (y = [
+ $foreaftmaint_rail_y - rack_rail_dia/2 + grasp_large_r,
+ adapt_main_top_y - grasp_large_r
+ ])
+ for (dx= [-1,+1] * rack_rail_dia/2)
+ translate([ -$foreaftmaint_rail_z + dx, y ])
+ circle(r= grasp_large_r);
+ }
+ translate([0, adapt_main_top_y])
+ rectfromto([-500, 0], [500, 500]);
}
}
}
// Distance from bolt hole, in backwards direction
AsForeAftMaint(){
- linextr_x_yz(+rack_rail_x,
- -rack_rail_x) {
+ translate([ 0, $foreaftmaint_rail_y, $foreaftmaint_rail_z ])
+ linextr_x_yz(+rack_rail_x,
+ -rack_rail_x) {
hull(){
for (dy=[0,50]) {
translate([-dy,0])