Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. module customcylinder() {
  2. intersection() {
  3. cube([8,8,2], true);
  4. rotate([0,0,10]) {
  5. cube([8,8,2], true);
  6. }
  7. rotate([0,0,20]) {
  8. cube([8,8,2], true);
  9. }
  10. rotate([0,0,30]) {
  11. cube([8,8,2], true);
  12. }
  13. rotate([0,0,40]) {
  14. cube([8,8,2], true);
  15. }
  16. rotate([0,0,50]) {
  17. cube([8,8,2], true);
  18. }
  19. rotate([0,0,60]) {
  20. cube([8,8,2], true);
  21. }
  22. rotate([0,0,70]) {
  23. cube([8,8,2], true);
  24. }
  25. rotate([0,0,80]) {
  26. cube([8,8,2], true);
  27. }
  28. }
  29.  
  30. }
  31.  
  32. module wheel() {
  33. rotate([0,90,0]) {
  34. union() {
  35. difference() {
  36. customcylinder();
  37. resize([6,6,2]) {
  38. customcylinder();
  39. }
  40. }
  41. cube([7,0.5,1], true);
  42. rotate([0,0,45]) {
  43. cube([7,0.5,1], true);
  44. }
  45. cube([0.5,7,1], true);
  46. rotate([0,0,45]) {
  47. cube([0.5,7,1], true);
  48. }
  49. }
  50. }
  51. }
  52.  
  53. wheel();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement