My self-made 3D-printable designs, mainly in OpenSCAD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

top_corner_5mm.scad 925B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $fn = 42;
  2. module prism(l, w, h) {
  3. polyhedron(
  4. points = [[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
  5. faces = [[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]
  6. );
  7. }
  8. difference() {
  9. union() {
  10. color("green")
  11. hull() {
  12. cube([80, 40, 5]);
  13. cube([40, 80, 5]);
  14. }
  15. color("red")
  16. for (i = [0, 20])
  17. translate([45, 7.5 + i, 5])
  18. cube([35, 5, 1]);
  19. color("red")
  20. for (i = [0, 20])
  21. translate([7.5 + i, 45, 5])
  22. cube([5, 35, 1]);
  23. }
  24. translate([40, 40 + 23, -1])
  25. rotate([0, -90, 180])
  26. prism(7, 23, 23);
  27. for (i = [30, 70])
  28. translate([i, 10, -1])
  29. cylinder(d = 5.2, h = 8);
  30. for (i = [10, 70])
  31. translate([i, 30, -1])
  32. cylinder(d = 5.2, h = 8);
  33. for (i = [10, 30])
  34. translate([i, 70, -1])
  35. cylinder(d = 5.2, h = 8);
  36. }