Ignore:
Timestamp:
06/16/14 05:34:29 (8 years ago)
Author:
Steve Castellotti <sc@…>
Branches:
master
Children:
1afeb71
Parents:
3dcd534
Message:
  • switch groove added to base
  • Volume gap added to cut down on resin required
File:
1 edited

Legend:

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

    r11071cf r34e955d  
    4242front_wall_z = 5; // 5 
    4343 
     44 
     45// Switch Groove 
     46switch_groove_x = 6; 
     47//switch_groove_y = 1.7; 
     48switch_groove_y = 20.4; 
     49switch_groove_z = 1; 
     50 
     51 
     52// Volume Gap - creates some extra space to cut down on print material 
     53volume_gap_x = 6; 
     54volume_gap_y = 6; 
     55volume_gap_z = 6; 
     56 
     57 
    4458// Mounting Platform 
    4559mount_platform_x = switch_base_x + (wall_thickness * 2) + (mount_plate_screw_clearance * 2); 
     
    8498                } // union() 
    8599 
     100 
     101                // Front Switch Groove 
     102                translate(v=[0, 0, -5]){ 
     103                        cube([switch_groove_x, switch_groove_y, switch_groove_z], center=true); 
     104                } 
     105 
     106 
    86107                // Front Left Screw Hole 
    87108                translate(v=[-(switch_base_x/2)-(left_wall_x/2)-(mount_plate_screw_clearance/1.2), mount_platform_y/4, -(switch_base_z/2)-(mount_platform_z/2)-(mount_plate_thickness/2)]) 
     
    107128 
    108129 
     130                // Front Right Screw Hole 
     131                translate(v=[(switch_base_x/2)+(right_wall_x/2)+(mount_plate_screw_clearance/1.2), mount_platform_y/4, -(switch_base_z/2)-(mount_platform_z/2)-(mount_plate_thickness/2)]) 
     132                { 
     133                        cylinder(r=screw_hole_diameter, h=mount_plate_thickness); 
     134                } 
     135                // Front Right Screw Head 
     136                translate(v=[(switch_base_x/2)+(right_wall_x/2)+(mount_plate_screw_clearance/1.2), mount_platform_y/4, -(switch_base_z/2)-screw_head_height]) 
     137                { 
     138                        cylinder(r=screw_head_diameter, h=screw_head_height); 
     139                } 
     140 
    109141                // Rear Right Screw Hole 
    110                 translate(v=[(switch_base_x/2)(right_wall_x/2)+(mount_plate_screw_clearance/1.2), mount_platform_y/4, -(switch_base_z/2)-(mount_platform_z/2)-(mount_plate_thickness/2)]) 
     142                translate(v=[(switch_base_x/2)+(right_wall_x/2)+(mount_plate_screw_clearance/1.2), -mount_platform_y/4, -(switch_base_z/2)-(mount_platform_z/2)-(mount_plate_thickness/2)]) 
    111143                { 
    112144                        cylinder(r=screw_hole_diameter, h=mount_plate_thickness); 
    113145                } 
    114146                // Rear Right Screw Head 
    115                 translate(v=[(switch_base_x/2)(right_wall_x/2)+(mount_plate_screw_clearance/1.2), mount_platform_y/4, -(switch_base_z/2)-screw_head_height]) 
     147                translate(v=[(switch_base_x/2)+(right_wall_x/2)+(mount_plate_screw_clearance/1.2), -mount_platform_y/4, -(switch_base_z/2)-screw_head_height]) 
    116148                { 
    117149                        cylinder(r=screw_head_diameter, h=screw_head_height); 
     150                } 
     151 
     152 
     153 
     154                // Volume Gap 
     155                translate(v=[0, (-switch_base_y/2)-(wall_thickness/2), 0]){ 
     156                        cube([volume_gap_x, volume_gap_y, volume_gap_z], center=true); 
    118157                } 
    119158 
Note: See TracChangeset for help on using the changeset viewer.