Add uniform spacing, deepen sign slot

This commit is contained in:
Artur Kerge 2024-07-27 12:34:50 +03:00
parent 75cfe1d019
commit b33f4fef06
2 changed files with 45 additions and 46 deletions

View File

@ -1,9 +1,9 @@
/**
Sign for the trophy.
Don't forget to scale if want other dimensions.
Author: Artur Kerge
Sign for the trophy.
Don't forget to scale if want other dimensions.
Author: Artur Kerge
**/
//s=1;

View File

@ -1,15 +1,15 @@
/**
Trophy cutting lines.
t=plywood thickness
w=width of the trophy
If you need to scale the trophy up or down,
uncomment the "scale" and "s" below to set the scaling factor.
Assuming 1 unit in OpenSCAD corresponds to 1mm.
Author: Artur Kerge
Trophy cutting lines.
t=plywood thickness
w=width of the trophy
If you need to scale the trophy up or down,
uncomment the "scale" and "s" below to set the scaling factor.
Assuming 1 unit in OpenSCAD corresponds to 1mm.
Author: Artur Kerge
**/
w=80;
@ -19,42 +19,41 @@ t=6;
//scale([s,s,0])
module base() {
polygon(
// points go clockwise from bottom left of the base
points=[
[0,0],[0,t],[8,7],[17.5,10],[25,15],[28,20],[30.5,30],[31.5,40],[32,50],[32,61],[40,61],[40,0]
]
);
polygon(
// points go clockwise from bottom left of the base
points=[
[0,0],[0,t],[8,7],[17.5,10],[25,15],[28,20],[30.5,30],[31.5,40],[32,50],[32,61],[40,61],[40,0]
]
);
};
module beaker(){
union() {
// want to make the beaker lower? decrese y in translate below
translate([0,60,0]) union(){
// cutout for the sign
difference() {
square(w);
translate([0,w/4.5,0]) color("red") square([t,42]);
}
// resizes the beaker bottom circle to an ellips
translate([w/2,0,0]) resize([w,30]) circle(d=w,false);
};
// beaker base
union() {
// beaker
// want to beaker? lower the y in translate
translate([0,70,0]) union(){
difference() {
square(w);
translate([0,w/4.5,0]) color("red") square([2,42]);
}
translate([w/2,0,0])
// resizes the circle to an ellips
resize([w,30]) circle(d=w,false);
};
// beaker base
union() {
base();
translate([2*40,0,0]) mirror([1,0,0]) base();
}
base();
translate([2*40,0,0]) mirror([1,0,0]) base();
}
}
}
// vertical cutouts for the trophy
difference(){
beaker();
translate([w/2-t/2,0,0]) color("green") square([t,75]);
}
difference(){
beaker();
translate([w/2-t/2,0,0]) color("green") square([t,75]);
}
difference(){
translate([2*w+5,0,0]) mirror([1,0,0]) beaker();
translate([w+5+w/2-t/2,150/2,0]) color("red") square([t,75]);
translate([2*w+5,0,0]) mirror([1,0,0]) beaker();
translate([w+5+w/2-t/2,150/2,0]) color("red") square([t,75]);
}