Skip to content
Snippets Groups Projects
Commit 31274e9b authored by fxk8y's avatar fxk8y :spider:
Browse files

Better material definitions

parent 51607f13
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,8 @@ use <WebWeaver/scad/Piping.scad>;
// Material definitions
GreenPLA = [28/255, 1.0, 47/255, 132/255];
BlackAluminium = [16/255, 16/255, 16/255];
module GreenPLA() { color([28/255, 1.0, 47/255, 132/255]) children(); }
module BlackAluminium() { color([16/255, 16/255, 16/255]) children(); }
......@@ -58,7 +58,7 @@ module symmetricHeatsink(
for (y=[0:fin_cnt/2 - 1]) translate([0, y * ( fin_w0 + fin_spacing), baseplate]) fin();
}
color(BlackAluminium) translate([-l/2, -w/2, 0]) {
BlackAluminium() translate([-l/2, -w/2, 0]) {
half();
translate([0, w, 0]) mirror([0, 1, 0]) half();
}
......@@ -240,9 +240,9 @@ module funnel() {
translate([-hs_l/2, 0, 0]) cube([hs_l, hs_w/2, hs_w]);
}
}
color(GreenPLA) {
GreenPLA() {
half();
mirror([0, 1, 0]) half();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment