Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2023
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. list1 = [
  2. [-6.43, 4.48],
  3. [-6.43, 93.38],
  4. [-6.43, 109.255],
  5. [115.57, 109.255],
  6. [115.57, 20.355],
  7. [115.57, 4.48],
  8. ];
  9.  
  10. list2 = [
  11. [-2.43, -2.43],
  12. [81.57, -2.43],
  13. [-2.43, 41.57],
  14. [81.57, 41.57],
  15. ];
  16.  
  17. thickness = 19.23;
  18.  
  19. projection(cut=true)
  20. translate([0,0,1])
  21. difference()
  22. {
  23. translate([-24.46,-11.87,-thickness])
  24. cube([264.06,138.7,thickness]);
  25. for (iii=list1)
  26. union()
  27. {
  28. translate([iii[0],iii[1],-thickness-1])
  29. cylinder(d=0.5,h=thickness+2,$fn=30);
  30. }
  31. for (iii=list2)
  32. union()
  33. {
  34. translate([140+iii[0],19.34+iii[1],-thickness-1])
  35. cylinder(d=0.5,h=thickness+2,$fn=30);
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement