First commit
This commit is contained in:
19
2024/hackathon2024trophy-inscription.scad
Normal file
19
2024/hackathon2024trophy-inscription.scad
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
Sign for the trophy.
|
||||
|
||||
Don't forget to scale if want other dimensions.
|
||||
**/
|
||||
|
||||
//s=1;
|
||||
//scale([s,s,0])
|
||||
difference(){
|
||||
color("pink") square([60,42], center=true);
|
||||
union(){
|
||||
scale([0.4,0.4,0]) translate([-90,2,1]) import("../k-space-ee.svg", dpi=300);
|
||||
|
||||
translate([0,3,0]) text("Hackathon 2024", halign="center", valign="bottom", size=6, font="D\\-DIN:style=DIN\\-Bold");
|
||||
translate([0,1,0]) text("Firstname", halign="center", valign="top", size=7, font="D\\-DIN:style=DIN\\-Bold");
|
||||
translate([0,-7,0]) text("Lastname", halign="center", valign="top", size=7, font="D\\-DIN:style=DIN\\-Bold");
|
||||
translate([0,-15.5,0]) text("Best In Showing Up", halign="center", valign="top", size=4, font="D\\-DIN:style=DIN\\-Bold");
|
||||
}
|
||||
}
|
58
2024/hackathon2024trophy.scad
Normal file
58
2024/hackathon2024trophy.scad
Normal file
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
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.
|
||||
**/
|
||||
|
||||
w=80;
|
||||
t=6;
|
||||
|
||||
//s=1;
|
||||
//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]
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
module beaker(){
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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]);
|
||||
}
|
Reference in New Issue
Block a user