pivotrim.scad 745 B

12345678910111213141516171819202122232425
  1. $fn=120;
  2. original=true;
  3. if (original) {
  4. difference() {
  5. union() {
  6. color("yellow") cylinder(d=18, h=2);
  7. color("orange") translate(v = [0,0,2]) cylinder(d=10.5, h=13.5);
  8. }
  9. color(orange) translate(v = [2,0,12]) rotate([90,0,0]) cylinder(d=2.5, h=20, center=true);
  10. translate(v = [-2,0,12]) rotate([90,0,0]) cylinder(d=2.5, h=20, center=true);
  11. }
  12. }
  13. else {
  14. difference() {
  15. union() {
  16. color("yellow") cylinder(d=18, h=2);
  17. color("orange") translate(v = [0,0,2]) cylinder(d=10.5, h=18);
  18. }
  19. translate(v = [-5,4,9]) cube([10,2,12]);
  20. translate(v = [1,0,12]) rotate([90,0,0]) cylinder(d=3.5, h=20, center=true);
  21. translate(v = [-1,0,16]) rotate([90,0,0]) cylinder(d=3.5, h=20, center=true);
  22. }
  23. }