First commit

This commit is contained in:
Artur Kerge 2024-07-25 17:58:36 +03:00
commit b61e3f6c20
7 changed files with 237 additions and 0 deletions

View File

@ -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]);
}
}

View 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");
}
}

View 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]);
}

4
README.md Normal file
View File

@ -0,0 +1,4 @@
## :trophy: Trophy Repo
For trophy archival and retrieval purposes.

BIN
d-din-bold.otf Normal file

Binary file not shown.

53
k-space-ee.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="K-SPACE" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 566.9 566.9" style="enable-background:new 0 0 566.9 566.9;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1A171B;}
</style>
<g>
<path class="st0" d="M175.8,457.5c0,5.4-1.4,10-4.2,13.9c-2.8,3.9-6.6,6.8-11.5,8.8c-4.8,2-10.1,3-15.9,3c-6.8,0-12.7-0.8-17.7-2.4
c-5-1.6-9.5-4.4-13.4-8.4l12.9-12.9c2,2,4.7,3.5,8,4.4c3.3,0.9,6.7,1.4,10.3,1.4c7.8,0,11.7-2.5,11.7-7.4c0-2.1-0.5-3.7-1.6-4.8
c-1.1-1.1-2.9-1.9-5.4-2.2l-9.9-1.4c-7.3-1-12.7-3.4-16.5-7.2c-3.7-3.9-5.6-9.3-5.6-16.5c0-5,1.2-9.4,3.6-13.3
c2.4-3.9,5.9-7,10.4-9.2c4.5-2.2,9.8-3.3,15.9-3.3c6,0,11.3,0.8,15.8,2.3c4.5,1.6,8.5,4,11.8,7.4l-12.6,12.6
c-2.1-2.1-4.4-3.4-6.8-4s-5.4-0.8-8.8-0.8c-3.2,0-5.7,0.8-7.4,2.3c-1.7,1.5-2.5,3.3-2.5,5.3c0,1.5,0.5,2.7,1.6,3.8
c1.3,1.3,3.1,2.1,5.6,2.4l9.9,1.3c7.2,1,12.6,3.3,16.1,6.8c2.1,2.1,3.7,4.6,4.6,7.5C175.3,449.9,175.8,453.4,175.8,457.5z"/>
<path class="st0" d="M246.1,427c0,4.6-1.1,8.9-3.3,12.9c-2.2,4-5.4,7.2-9.6,9.7c-4.2,2.5-9.2,3.7-15.1,3.7h-12.3v29.2h-20.1v-81.9
h32.4c5.9,0,10.9,1.2,15.1,3.7c4.2,2.5,7.4,5.7,9.6,9.7C245,418,246.1,422.3,246.1,427z M225.9,427c0-1.5-0.3-2.8-1-4.1
c-0.7-1.3-1.7-2.3-3-3c-1.3-0.8-2.9-1.1-4.6-1.1h-11.4v16.5h11.4c1.8,0,3.3-0.4,4.6-1.1c1.3-0.8,2.3-1.8,3-3
C225.6,429.8,225.9,428.5,225.9,427z"/>
<path class="st0" d="M317,482.5h-21l-3.8-12.2h-25.2l-4,12.2h-21.1l29.8-81.9h15.6L317,482.5z M286.9,453.5l-6.9-21.8l-7.4,21.8
H286.9z"/>
<path class="st0" d="M381.1,456.5c-0.7,4.3-2,8.2-3.8,11.7c-1.9,3.4-4.2,6.2-6.9,8.5c-2.8,2.2-5.8,3.9-9.3,4.9
c-3.4,1.1-7.1,1.6-11,1.6c-9.1,0-16.7-3.1-22.7-9.2c-3.6-3.6-5.9-7.7-6.8-12.2c-1-4.6-1.5-10.4-1.5-17.4v-2.8v-2.8
c0-7,0.5-12.8,1.5-17.4c1-4.6,3.3-8.7,6.8-12.3c3.1-3.1,6.4-5.4,10.1-6.9c3.7-1.5,7.9-2.3,12.6-2.3c4.1,0,7.8,0.6,11.2,1.7
c3.4,1.1,6.5,2.8,9.1,4.9c2.7,2.2,5,5,6.8,8.4c1.9,3.4,3.1,7.3,3.8,11.7h-20.4c-0.7-2.7-1.9-4.8-3.5-6.4c-1.6-1.6-3.9-2.4-7-2.4
c-1.7,0-3.3,0.3-4.6,1c-1.4,0.6-2.5,1.5-3.3,2.5c-0.7,0.9-1.3,2-1.7,3.2c-0.4,1.3-0.8,3.2-1,5.7c-0.2,2.6-0.4,6.3-0.4,11.3
c0,6.6,0.2,11.3,0.7,14c0.5,2.7,1.3,4.8,2.4,6.3c1.8,2.3,4.4,3.5,7.9,3.5c3,0,5.4-0.8,7-2.4c1.6-1.6,2.8-3.7,3.5-6.4H381.1z"/>
<path class="st0" d="M445.5,482.5h-55.6v-81.9h55.6v17.9H410v13.7h30.4v17.9H410v14.4h35.5V482.5z"/>
</g>
<path class="st0" d="M408.8,377.7h-28.3c-1.5,0-2.9-0.7-3.8-1.8l-98.3-116.6h-69.4v113.3c0,2.8-2.2,5-5,5h-18.8c-2.8,0-5-2.2-5-5
s2.2-5,5-5h13.8V254.4c0-2.8,2.2-5,5-5h76.8c1.5,0,2.9,0.7,3.8,1.8l98.3,116.6h25.9c2.8,0,5,2.2,5,5S411.6,377.7,408.8,377.7z"/>
<path class="st0" d="M204.1,80.7c-5.9,0-11,3.7-13,8.9l-28.8,0c-2.8,0-5,2.2-5,5v113l-14.8,0c-2-5.2-7.1-8.9-13-8.9
c-7.7,0-13.9,6.2-13.9,13.9s6.2,13.9,13.9,13.9c5.9,0,11-3.7,13-8.9h19.8c2.8,0,5-2.2,5-5v-113c0,0,23.7,0,23.8,0
c2,5.2,7.1,8.9,13,8.9c7.7,0,13.9-6.2,13.9-13.9S211.7,80.7,204.1,80.7z M129.6,218.6c-3.3,0-5.9-2.7-5.9-5.9s2.7-5.9,5.9-5.9
s5.9,2.7,5.9,5.9S132.8,218.6,129.6,218.6z M204.1,100.6c-3.3,0-5.9-2.7-5.9-5.9s2.7-5.9,5.9-5.9s5.9,2.7,5.9,5.9
S207.3,100.6,204.1,100.6z"/>
<path class="st0" d="M166.6,359.7l0-105.3c0-2.8-2.2-5-5-5l-19,0c-2-5.2-7.1-8.9-13-8.9c-7.7,0-13.9,6.2-13.9,13.9
s6.2,13.9,13.9,13.9c5.9,0,11-3.7,13-8.9h14l0,100.3c-5.2,2-8.9,7.1-8.9,13c0,7.7,6.2,13.9,13.9,13.9c7.7,0,13.9-6.2,13.9-13.9
C175.5,366.8,171.8,361.7,166.6,359.7z M129.6,260.3c-3.3,0-5.9-2.7-5.9-5.9s2.7-5.9,5.9-5.9s5.9,2.7,5.9,5.9
S132.8,260.3,129.6,260.3z M161.6,378.6c-3.3,0-5.9-2.7-5.9-5.9s2.7-5.9,5.9-5.9c3.3,0,5.9,2.7,5.9,5.9S164.9,378.6,161.6,378.6z"/>
<path class="st0" d="M429.6,80.7c-5.7,0-10.7,3.5-12.8,8.4l-36.2,0c-1.5,0-2.9,0.7-3.8,1.8l-97.5,116.7h-70.2v-88c0-2.8-2.2-5-5-5
s-5,2.2-5,5v93c0,2.8,2.2,5,5,5h77.5c1.5,0,2.9-0.7,3.8-1.8l97.5-116.7l33.5,0c1.9,5.5,7.1,9.4,13.2,9.4c7.7,0,13.9-6.2,13.9-13.9
S437.2,80.7,429.6,80.7z M429.6,100.6c-3.3,0-5.9-2.7-5.9-5.9s2.7-5.9,5.9-5.9c3.3,0,5.9,2.7,5.9,5.9S432.8,100.6,429.6,100.6z"/>
<path class="st0" d="M432.6,356.7c-1.5,0-2.9,0.2-4.2,0.7L324.8,233.6l96.2-114.2c1.8-2.1,1.5-5.3-0.6-7c-2.1-1.8-5.3-1.5-7,0.6
c0,0-10.5,12.5-24.7,29.3c-29.3,34.8-74.2,88.1-74.2,88.1c-1.6,1.9-1.6,4.6,0,6.4l106.1,126.8c-1.2,2.1-1.9,4.5-1.9,7
c0,7.7,6.2,13.9,13.9,13.9c7.7,0,13.9-6.2,13.9-13.9S440.2,356.7,432.6,356.7z M432.6,376.6c-3.3,0-5.9-2.7-5.9-5.9s2.7-5.9,5.9-5.9
c3.3,0,5.9,2.7,5.9,5.9S435.8,376.6,432.6,376.6z"/>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB