Add uniform spacing, deepen sign slot
This commit is contained in:
parent
75cfe1d019
commit
b33f4fef06
@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
Sign for the trophy.
|
Sign for the trophy.
|
||||||
|
|
||||||
Don't forget to scale if want other dimensions.
|
Don't forget to scale if want other dimensions.
|
||||||
|
|
||||||
Author: Artur Kerge
|
Author: Artur Kerge
|
||||||
**/
|
**/
|
||||||
|
|
||||||
//s=1;
|
//s=1;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
/**
|
/**
|
||||||
Trophy cutting lines.
|
Trophy cutting lines.
|
||||||
|
|
||||||
t=plywood thickness
|
t=plywood thickness
|
||||||
w=width of the trophy
|
w=width of the trophy
|
||||||
|
|
||||||
If you need to scale the trophy up or down,
|
If you need to scale the trophy up or down,
|
||||||
uncomment the "scale" and "s" below to set the scaling factor.
|
uncomment the "scale" and "s" below to set the scaling factor.
|
||||||
|
|
||||||
Assuming 1 unit in OpenSCAD corresponds to 1mm.
|
Assuming 1 unit in OpenSCAD corresponds to 1mm.
|
||||||
|
|
||||||
Author: Artur Kerge
|
Author: Artur Kerge
|
||||||
**/
|
**/
|
||||||
|
|
||||||
w=80;
|
w=80;
|
||||||
@ -19,42 +19,41 @@ t=6;
|
|||||||
//scale([s,s,0])
|
//scale([s,s,0])
|
||||||
|
|
||||||
module base() {
|
module base() {
|
||||||
polygon(
|
polygon(
|
||||||
// points go clockwise from bottom left of the base
|
// points go clockwise from bottom left of the base
|
||||||
points=[
|
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]
|
[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(){
|
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() {
|
union() {
|
||||||
// beaker
|
base();
|
||||||
// want to beaker? lower the y in translate
|
translate([2*40,0,0]) mirror([1,0,0]) base();
|
||||||
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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// vertical cutouts for the trophy
|
||||||
|
difference(){
|
||||||
|
beaker();
|
||||||
|
translate([w/2-t/2,0,0]) color("green") square([t,75]);
|
||||||
}
|
}
|
||||||
|
|
||||||
difference(){
|
difference(){
|
||||||
beaker();
|
translate([2*w+5,0,0]) mirror([1,0,0]) beaker();
|
||||||
translate([w/2-t/2,0,0]) color("green") square([t,75]);
|
translate([w+5+w/2-t/2,150/2,0]) color("red") 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]);
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user