1
0
mirror of https://github.com/pgrondek/SixInchRack.git synced 2024-11-22 03:53:42 +00:00

Improve mesh frontplate

This commit is contained in:
pgrondek 2020-01-25 17:11:34 +01:00
parent c3cd46e8ca
commit e9d9efb1d1
3 changed files with 56612 additions and 51893 deletions

View File

@ -1,26 +1,13 @@
module mesh(xCount, yCount, height=1, size=1) { module mesh(xCount, yCount, height=1, size=1) {
translate ([1*size,1*size,0]) { translate ([1*size,1*size,0]) {
for (x =[0:(xCount-1)]) { for (x =[0:(xCount-1)]) {
for (y =[0:(yCount-1)]) { for (y =[0:(yCount-1)]) {
translate([x*3.2*size,y*2*size,0]) { translate([x*4*size,y*2.2*size,0]) {
cylinder(height,size,size,$fn=6); cylinder(height,size,size,$fn=6);
translate([1.6*size,1*size,0]) translate([2*size,1*size,0])
cylinder(height,size,size,$fn=6); cylinder(height,size,size,$fn=6);
} }
} }
} }
} }
} }
//mesh(5,5,5,5);
/*
height=1;
size=4;
translate([x*3.2,y*2,0]) {
cylinder(height,size,size,$fn=6);
translate([1.6*size,1*size,0])
cylinder(height,size,size,$fn=6);
}
*/

View File

@ -21,13 +21,13 @@ if(print_frontplate_sml){ // Frontplate //
translate([25,1.5,0]) { translate([25,1.5,0]) {
intersection(){ intersection(){
translate([-5,-5,0]){ translate([-1.5,-1.5,0]){
difference() { difference() {
mesh(7, 5, 5, 5); mesh(17, 5, 3, 3);
translate([16,9.5,0]){cylinder(50,4.5,4.5);} translate([12.5, 6, 0]){cylinder(50,4.5,4.5);}
translate([16,25.5,0]){cylinder(50,4.5,4.5);} translate([12.5, 22, 0]){cylinder(50,4.5,4.5);}
translate([99,9.5,0]){cylinder(50,4.5,4.5);} translate([95.5, 6, 0]){cylinder(50,4.5,4.5);}
translate([99,25.5,0]){cylinder(50,4.5,4.5);} translate([95.5, 22, 0]){cylinder(50,4.5,4.5);}
} }
} }
union() { union() {

File diff suppressed because it is too large Load Diff