Skip to content

Commit

Permalink
Merge branch 'LABDOS01A' of github.com:UniversalScientificTechnologie…
Browse files Browse the repository at this point in the history
…s/LABDOS01 into LABDOS01A
  • Loading branch information
oploc committed Apr 21, 2023
2 parents 0c490d2 + 6817f17 commit bbefbb9
Show file tree
Hide file tree
Showing 36 changed files with 595,271 additions and 274,600 deletions.
Binary file added cad/slice/case.3mf
Binary file not shown.
195,699 changes: 195,699 additions & 0 deletions cad/slice/case.gcode

Large diffs are not rendered by default.

Binary file added cad/slice/case_2x.3mf
Binary file not shown.
389,255 changes: 389,255 additions & 0 deletions cad/slice/case_2x.gcode

Large diffs are not rendered by default.

Binary file removed cad/slice/case_printplate.3mf
Binary file not shown.
167,494 changes: 0 additions & 167,494 deletions cad/slice/case_printplate_0.2mm_PLA_MINI_3h9m.gcode

This file was deleted.

96,588 changes: 0 additions & 96,588 deletions cad/slice/case_top_0.25mm_PLA_MINI.gcode

This file was deleted.

236 changes: 0 additions & 236 deletions cad/slice/config.ini

This file was deleted.

66 changes: 47 additions & 19 deletions cad/src/SPACEDOS03_case.scad → cad/src/LABDOS01_case.scad
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ module bot() translate([0, 0, -6.3]) {
cylinder(d = 0.4, h = 2, $fn=30);
}

translate([-0.25, -0.25, 0]) minkowski(){
cube([20, pcb_width+0.5, 10]);
cylinder(d = 0.4, h = 2, $fn=30);
}

// Vytvoreni rantlu
difference(){
translate([-10, -10, 6.3]) cube([pcb_length+20, pcb_width+20, 10]);
Expand All @@ -45,14 +50,19 @@ module bot() translate([0, 0, -6.3]) {
}

// Sloupky pro PCB
difference(){
translate([0, pcb_width/2, 0])
for(p = screw_positions)
translate(p){
cylinder(d1 = 8, d2 = 8, h=6.3, $fn=20);
cylinder(d1 = 10, d2 = 8, h=3, $fn=20);
}

translate([10, pcb_width/2, 0]) cube([35, 33, 20], center=true);
}


translate([pcb_length-8+0.5, 0, 0]) cube([8, pcb_width, 6.3-0.5]);
translate([pcb_length-8+0.5, -0.5, 0]) cube([8, pcb_width+1, 6.3-0.5]);

}

Expand All @@ -67,8 +77,8 @@ module bot() translate([0, 0, -6.3]) {



translate([pcb_length, pcb_width/2+6, 4+1])
minkowski() {cube([11, 35-2, 6], center=true);
translate([pcb_length, pcb_width/2+5.5, 4+1])
minkowski() {cube([11, 35-1, 6], center=true);
sphere(d=2, $fn=30);
}

Expand All @@ -84,12 +94,18 @@ module bot() translate([0, 0, -6.3]) {

// USB konektor

translate([pcb_length, pcb_width/2, 4+1] + [-3, -17-2, 1])
minkowski() {cube([11, 13-2, 6], center=true);
//translate([pcb_length, pcb_width/2, 4+1] + [-3, -17-2, 1])
//#minkowski() {cube([5, 13-2, 6], center=true);
// sphere(d=2, $fn=30);
//}


translate([pcb_length, pcb_width/2, 4+1] + [-2, -19, 1])
minkowski() {cube([11, 9, 2*2], center=true);
sphere(d=2, $fn=30);
}

translate([pcb_length, pcb_width/2, 4+1] + [0, -18, 0])
translate([pcb_length, pcb_width/2, 4+1] + [5, -18, 0])
minkowski() {cube([11, 15, 6], center=true);
sphere(d=2, $fn=30);
}
Expand Down Expand Up @@ -123,13 +139,10 @@ difference(){
}

// zeslabeni nad diodou

translate([14, pcb_width/2, 2]) minkowski(){
cube([18-5, 30-5, -0.1+2+5], center=true);
cube([18-3, 30-4.5, -0.1+2+5], center=true);
sphere(d = 5, $fn=60);
}



// Vytvoreni rantlu
intersection(){
Expand All @@ -140,15 +153,21 @@ difference(){
}
}



}
translate([0, pcb_width/2, 0])
for(p = screw_positions)
translate(p+[0, 0, pcb_thickness+0.2]){
cylinder(d2 = 10, d1 = 8, h=7, $fn=20);
}



difference(){
translate([0, pcb_width/2, 0])
for(p = screw_positions)
translate(p+[0, 0, pcb_thickness-0.3]){
cylinder(d2 = 10, d1 = 8, h=7, $fn=20);
}


translate([0, 17.5, -20]) rotate([60, 0, 0]) cube([20, 20, 20]);
}



// sloupek pro ledky

Expand All @@ -165,6 +184,8 @@ difference(){
cylinder(d = 7, h=8, $fn=20);
}
}


}


Expand Down Expand Up @@ -200,6 +221,13 @@ difference(){
sphere(d=1.5, $fn=60);
}


translate([pcb_length, pcb_width/2 +2.5+1, -0.5])
minkowski() {
cube([10, 32+6.5, 1], center=true);
sphere(d=1.5, $fn=60);
}

// USB konektor
translate([pcb_length, pcb_width/2, -2] + [0, -18, 0])
minkowski() {cube([11, 15, 6], center=true);
Expand All @@ -212,7 +240,7 @@ difference(){


bot();
translate([0, -60, 0]) top();
translate([0, 60, 0]) top();



Expand Down
2 changes: 1 addition & 1 deletion cad/src/case_bot.scad
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
use <SPACEDOS03_case.scad>
use <LABDOS01_case.scad>
rotate([180, 0, 0]) bot();
4 changes: 2 additions & 2 deletions cad/src/case_label_border.scad
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use <SPACEDOS03_case.scad>
use <LABDOS01_case.scad>

label();

translate([0, 70, 0]) label2();
translate([0, 70, 0]) label2();
2 changes: 1 addition & 1 deletion cad/src/case_top.scad
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
use <SPACEDOS03_case.scad>
use <LABDOS01_case.scad>
rotate([180, 0, 0]) top();
Binary file modified cad/stl/case_bot.stl
Binary file not shown.
Binary file modified cad/stl/case_top.stl
Binary file not shown.
Loading

0 comments on commit bbefbb9

Please sign in to comment.