HighInBC

Untitled

Sep 19th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. overshoot=1;
  2.  
  3. face_plate(
  4. box_width = 200,
  5. box_height = 90,
  6. box_depth = 25
  7. );
  8.  
  9. module face_plate( box_width, box_height, box_depth, wall_thickness=5) {
  10. difference() {
  11. cube([
  12. box_width,
  13. box_depth,
  14. box_height
  15. ]);
  16. translate([
  17. wall_thickness/2,
  18. 0-overshoot,
  19. wall_thickness/2
  20. ])
  21. cube([
  22. box_width-wall_thickness,
  23. box_depth-wall_thickness+overshoot,
  24. box_height-wall_thickness
  25. ]);
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment