Advertisement
thinkJD

Untitled

Aug 5th, 2012
2,470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module rocketswitch() {
  2.     difference(){
  3.         union() {
  4.             linear_extrude(height = 17, center = true, convexity = 10, twist = 0)
  5.             polygon(points=[[0,0],[4,9],[24,5],[24,0]]);
  6.  
  7.             translate([48,0,0]) {
  8.                 mirror([1,0,0]){
  9.                     linear_extrude(height = 17, center = true, convexity = 10, twist = 0)
  10.                     polygon(points=[[0,0],[4,9],[24,5],[24,0]]);
  11.                 }
  12.             }
  13.         }
  14.         union() {
  15.             translate([5,-1,0]){
  16.                 scale([0.8,0.8,0.8]){
  17.                     linear_extrude(height = 17, center = true, convexity = 10, twist = 0)
  18.                     polygon(points=[[0,0],[4,9],[24,5],[24,0]]);
  19.  
  20.                     translate([48,0,0]) {
  21.                         mirror([1,0,0]){
  22.                             linear_extrude(height = 17, center = true, convexity = 10, twist = 0)
  23.                             polygon(points=[[0,0],[4,9],[24,5],[24,0]]);
  24.                         }
  25.                     }
  26.                 }
  27.             }
  28.         }      
  29.     }
  30. }
  31.  
  32. rocketswitch();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement