Skip to content

Commit 31bd651

Browse files
author
Jordan Miller
committed
Merge branch 'prusajr_master'
2 parents f7e4c98 + 6dc109d commit 31bd651

5 files changed

+5334
-3969
lines changed

configuration.scad

+22
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,19 @@ vars=[
3333
// 3 - holders for brass or any other bought bushings
3434
bushing_type = 2;
3535

36+
//Round corner diameter
37+
round_corner_diameter = 8;
38+
39+
//Thin wall size
40+
layer_height = 0.4;
41+
perimeter_width_over_thicknes = 1.6;
42+
infill_widht_over_thickness = 1.55;
43+
thin_wall = 2*(perimeter_width_over_thicknes*layer_height+infill_widht_over_thickness*layer_height);
44+
if(thin_wall<2){
45+
echo("Check thin wall size, its below 2mm!");
46+
}
47+
echo(thin_wall);
48+
3649
//DO NOT TOUCH THIS SECTION!
3750
m8_diameter = vars[variant][0];
3851
m8_nut_diameter = vars[variant][1];
@@ -52,3 +65,12 @@ bushing_lenght = vars[variant][10];
5265

5366
// MEGA VERSION (TODO, just place holder)
5467
// include <configuration-mega.scad>
68+
69+
70+
// Some basic functions, probably should be somewhere else
71+
module roundcorner(diameter){
72+
difference(){
73+
cube(size = [diameter,diameter,99], center = false);
74+
translate(v = [diameter, diameter, 0]) cylinder(h = 100, r=diameter, center=true);
75+
}
76+
}

0 commit comments

Comments
 (0)