example015.scad 471 B

12345678910111213141516171819202122232425262728
  1. module shape()
  2. {
  3. difference()
  4. {
  5. translate([ -35, -35 ]) intersection()
  6. {
  7. union() {
  8. difference() {
  9. square(100, true);
  10. square(50, true);
  11. }
  12. translate([ 50, 50 ])
  13. square(15, true);
  14. }
  15. rotate(45) translate([ 0, -15 ]) square([ 100, 30 ]);
  16. }
  17. rotate(-45) scale([ 0.7, 1.3 ]) circle(5);
  18. }
  19. import(file = "example009.dxf", layer = "body",
  20. convexity = 6, scale=2);
  21. }
  22. // linear_extrude(convexity = 10, center = true)
  23. shape();