add modules per material

This commit is contained in:
Michael Sippel 2024-10-07 22:15:22 +02:00
parent bc663dabb6
commit e2611ab482
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -33,7 +33,7 @@ module cap() {
} }
module handle_shape(l=0) { module handle_shape(l=0) {
//cylinder(h=l, d=DIAM+2*3, $fn=64); cylinder(h=l, d=DIAM+2*3, $fn=64);
difference() difference()
{ {
@ -109,6 +109,7 @@ for( y = [0:10] ) {
} }
module part_TPU() {
color([0.8,0.8,0.8]) color([0.8,0.8,0.8])
difference() { difference() {
handle(); handle();
@ -119,9 +120,9 @@ difference() {
cylinder(d=DIAM+100, h=LEN-2); cylinder(d=DIAM+100, h=LEN-2);
} }
} }
}
module part_Glow() {
/*
color([0.2,0.47,0.8]) color([0.2,0.47,0.8])
{ {
difference() { difference() {
@ -129,6 +130,8 @@ color([0.2,0.47,0.8])
cylinder(d=DIAM, h=5); cylinder(d=DIAM, h=5);
handle(); handle();
} }
}
intersection() { intersection() {
hexshape(100); hexshape(100);
@ -140,4 +143,4 @@ intersection() {
} }
} }
*/ part_Glow();