Changeset 315cd7f in robotics

Ignore:
Timestamp:
06/16/14 04:10:36 (8 years ago)
Branches:
master
Children:
fb88858
Parents:
fb0b634
Message:
• rear wall added
File:
1 edited

Unmodified
Added
Removed
• car/design/2014.06.15-Robotics-Drill_Mount-v1/Robotics-Drill_Mount-v1.scad

 rfb0b634 left_wall_z = switch_base_z; // 10 // Right Wall right_wall_x = left_wall_x; right_wall_y = left_wall_y; right_wall_z = left_wall_z; // Rear Wall rear_wall_x = switch_base_x; // 17 rear_wall_y = wall_thickness; // 10 rear_wall_z = 13; // 13 module switch_mount(switch_base_x, switch_base_y, switch_base_z) { // Direction Switch translate(v=[0,0,0]){ cube([switch_base_x,switch_base_y,switch_base_z],center=true); cube([switch_base_x, switch_base_y, switch_base_z], center=true); } // Left Wall translate(v=[(-switch_base_x/2)-(left_wall_x/2),0,0]){ cube([left_wall_x,left_wall_y,left_wall_z],center=true); translate(v=[(-switch_base_x/2)-(left_wall_x/2), 0, 0]){ cube([left_wall_x, left_wall_y, left_wall_z], center=true); } // Right Wall translate(v=[(switch_base_x/2)+(right_wall_x/2),0,0]){ cube([right_wall_x,right_wall_y,right_wall_z],center=true); translate(v=[(switch_base_x/2)+(right_wall_x/2), 0, 0]){ cube([right_wall_x, right_wall_y, right_wall_z], center=true); } // Rear Wall translate(v=[0, (-switch_base_y/2)-(wall_thickness/2), (rear_wall_z-switch_base_z)/2]){ cube([rear_wall_x, rear_wall_y, rear_wall_z], center=true); }
Note: See TracChangeset for help on using the changeset viewer.