openSCAD models for 3d-printing
openscad
3d-printing

knock_box_inlay.scad 769B

123456789101112131415161718192021222324252627282930
  1. // configuration values
  2. fs = 5;
  3. content = "TM";
  4. font = "Droid Sans Mono Bold";
  5. difference () {
  6. union () {
  7. difference () {
  8. union () {
  9. cube([92,112,109]);
  10. hull () {
  11. translate([0, 0, 100]) cube([92,112,1]);
  12. translate([-0.5,-0.5,107]) cube([93,113,2]);
  13. }
  14. }
  15. translate([3, 3, 3]) cube([86,106,109]);
  16. }
  17. }
  18. translate([-0.6, 56, 93]) rotate([90,0,90]) cylinder(r1=9.25, r2=9.25, h=3.7, $fn=70);
  19. translate([89, 56, 93]) rotate([90,0,90]) cylinder(r1=9.25, r2=9.25, h=3.7, $fn=70);
  20. translate([46, -0.6, 112]) rotate([0,90,90]) cylinder(r1=25, r2=25, h=3.7, $fn=70);
  21. }
  22. translate ([41, 0, 80]) rotate([90,0,0]) {
  23. linear_extrude(height=1.0) {
  24. text(content, font=font, size=fs);
  25. }
  26. }