commit b61e3f6c20732f62edeaf8af7feb4e875c59db7f Author: Artur Kerge Date: Thu Jul 25 17:58:36 2024 +0300 First commit diff --git a/2023/hackathon2023trophies.scad b/2023/hackathon2023trophies.scad new file mode 100644 index 0000000..52b564c --- /dev/null +++ b/2023/hackathon2023trophies.scad @@ -0,0 +1,56 @@ +// There is something wierd going on with imported SVG curves when directly exported to DXf +// had to export into SVG, open with Inkscape and then export to DXF + +prizes = [ + ["Certified", "Enterprise", "Architect"], // Erki A + ["Certified", "Tea", "Brewer"], // Artur + ["Certified", "Software", "Architect"], // Philipp + ["Certified", "Embedded", "Developer"], // Paskevich + ["Certified", "BSD", "Maintainer"], // Robert + ["Certified", "Apple", "Repairman"], // Priit L + ["Certified", "Go", "Developer"], // Arti + ["Certified", "Moonshine", "Producer"], // Erki N + ["Certified", "Licensed", "Electrician"], // Herman + ["Certified", "Laserbench", "Operator"], // Martti + ["Certified", "AI", "Developer"], // Rudz + ["Certified", "Demoscene", "Developer"], // Micro + ["Certified", "MAME", "Developer"], // Märt + ["Certified", "Typescript", "Developer"], // Sergo +]; + +module draw(j) { + translate([0, 40]) + import("../k-space_logotype_boxy_black.svg", dpi=300, center=true); + translate([0, 12]) + text(j[0], center=true, halign="center", size=5); + translate([0, 6]) + text(j[1], center=true, halign="center", size=5); + translate([0, 0]) + text(j[2], center=true, halign="center", size=5); +}; + +for (a = [ 0 : len(prizes) - 1 ]) { + translate([a*55,0]) { + translate([0, 100]) + // base + difference() { + offset(r=5) + square([40, 20], center=true); + square([20, 3], center=true); + } + + // wall + translate([0, 0]) { + square([19, 1+2*3+5+5 ], center=true); + offset(r=5) + hull() { + draw(prizes[a]); + square([40, 1], center=true); + } + } + + // etching + translate([0, -100]) + draw(prizes[a]); + } +} \ No newline at end of file diff --git a/2024/hackathon2024trophy-inscription.scad b/2024/hackathon2024trophy-inscription.scad new file mode 100644 index 0000000..13acef4 --- /dev/null +++ b/2024/hackathon2024trophy-inscription.scad @@ -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"); +} +} \ No newline at end of file diff --git a/2024/hackathon2024trophy.scad b/2024/hackathon2024trophy.scad new file mode 100644 index 0000000..eb51b78 --- /dev/null +++ b/2024/hackathon2024trophy.scad @@ -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]); +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..26261ae --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +## :trophy: Trophy Repo + +For trophy archival and retrieval purposes. + diff --git a/d-din-bold.otf b/d-din-bold.otf new file mode 100644 index 0000000..95f91b3 Binary files /dev/null and b/d-din-bold.otf differ diff --git a/k-space-ee.svg b/k-space-ee.svg new file mode 100644 index 0000000..4bed1fc --- /dev/null +++ b/k-space-ee.svg @@ -0,0 +1,53 @@ + + + + + + + + + + diff --git a/k-space_logotype_boxy_black.svg b/k-space_logotype_boxy_black.svg new file mode 100644 index 0000000..6373dd6 --- /dev/null +++ b/k-space_logotype_boxy_black.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + +