Skip to content

Commit 043a78e

Browse files
committed
make case depth more clear
1 parent 99e3654 commit 043a78e

10 files changed

+54
-43
lines changed

cases/case1.scad

Lines changed: 17 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,20 @@ view_mode="print_vertical"; // [print_vertical, print_horizontal, stacked, explo
77
// Shrinkage adjustment when printing vertically. By default 0.4mm of shrinkage for every 100mm of print height.
88
vertical_print_scale = 1.004;
99

10+
/* [Case depth] */
11+
12+
panel_cover_depth = 1.6; // Panel cover thickness
13+
panel_depth = 1.2; // Thickness of the eInk panel as measured
14+
case_depth = 10.0; // Total inside compartment thickness
15+
back_depth = 1.2; // Back plate thickness
16+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
17+
1018
/* [Panel dimensions] */
1119

12-
// Physical width of the eInk panel (mm)
13-
panel_width = 284.49;
14-
// Physical height of the eInk panel (mm)
15-
panel_height = 208.81;
20+
panel_width = 284.49; // Physical width of the eInk panel (mm)
21+
panel_height = 208.81; // Physical height of the eInk panel (mm)
1622

17-
// Clearance around the eInk panel (mm)
18-
clearance = 0.3;
23+
clearance = 0.3; // Clearance around the eInk panel (mm)
1924

2025
// Dimensions of the bezel on the eInk panel. This part will be covered by the panel cover.
2126
panel_bezel_left = 11.7;
@@ -37,23 +42,6 @@ case_inner_padding_right = 4;
3742
case_inner_padding_top = 4;
3843
case_inner_padding_bottom = 4;
3944

40-
/* [Case dimensions] */
41-
42-
// How round to make the case. Disabled if thick_border=true
43-
fillet_radius = 2.5;
44-
45-
// Panel cover thickness
46-
panel_cover_depth = 1.6;
47-
48-
// Thickness of the eInk panel as measured
49-
panel_depth = 1.2;
50-
51-
// Total inside compartment thickness
52-
case_depth = 10.0;
53-
54-
// Back plate thickness
55-
back_depth = 1.2;
56-
5745
/* [Thick border] */
5846
thick_border = false;
5947
thick_border_width = 12.0;
@@ -89,20 +77,16 @@ screw_offset_right = 5.0;
8977
screw_offset_top = 5.0;
9078
screw_offset_bottom = 5.0;
9179

92-
// Extra screws on the top side (0.0 to 1.0)
93-
extra_screws_top = [0.48, 0.52, 0, 0, 0]; // [0.0:0.05:1.0]
94-
// Extra screws on the bottom side (0.0 to 1.0)
95-
extra_screws_bottom = [0.48, 0.52, 0, 0, 0]; // [0.0:0.05:1.0]
96-
// Extra screws on the left side (0.0 to 1.0)
97-
extra_screws_left = [0, 0, 0, 0, 0]; // [0.0:0.05:1.0]
98-
// Extra screws on the right side (0.0 to 1.0)
99-
extra_screws_right = [0.5, 0, 0, 0, 0]; // [0.0:0.05:1.0]
80+
extra_screws_top = [0.48, 0.52, 0, 0, 0]; // Extra screws on the top (0.0 to 1.0)
81+
extra_screws_bottom = [0.48, 0.52, 0, 0, 0]; // Extra screws on the bottom (0.0 to 1.0)
82+
extra_screws_left = [0, 0, 0, 0, 0]; // Extra screws on the left (0.0 to 1.0)
83+
extra_screws_right = [0.5, 0, 0, 0, 0]; // Extra screws on the right (0.0 to 1.0)
10084

101-
// Hole made into layer 1.2
85+
// Hole made into panel cover
10286
panel_screw_insert_diameter = 3.45;
10387
panel_screw_insert_depth = 2.0;
10488

105-
// Cylindrical hole inserted into layers 2.1 and 2.2
89+
// Cylindrical hole inserted into case
10690
case_screw_hole_diameter = 4.5;
10791
case_screw_hole_thread_diameter = 2.0; // Hole for the screw thread that goes all the way through
10892
case_screw_hole_floor_depth = 1.0; // Depth of the floor of the screw hole

cases/pimoroni.13in3.spectra.12mm.scad

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, sta
77
/* [Case depth] */
88
panel_cover_depth = 1.6;
99
panel_depth = 3.0;
10-
case_depth = 12.0; // pi zero 12mm; board imposed minimum 5.5mm;
10+
case_depth = 12.0; // with pi zero 12mm; board minimum 5.5mm;
1111
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
1213

1314
/* [Panel dimensions] */
1415
panel_width = 297.0;

cases/pimoroni.13in3.spectra.6mm.scad

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, sta
77
/* [Case depth] */
88
panel_cover_depth = 1.6;
99
panel_depth = 3.0;
10-
case_depth = 6.0; // pi zero 12mm; board imposed minimum 5.5mm;
10+
case_depth = 6.0; // with pi zero 12mm; board minimum 5.5mm;
1111
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
1213

1314
/* [Panel dimensions] */
1415
panel_width = 297.0;

cases/pimoroni.7in3.spectra.12mm.scad

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, sta
77
/* [Case depth] */
88
panel_cover_depth = 1.6;
99
panel_depth = 3.0;
10-
case_depth = 12.0; // pi zero 12mm; board imposed minimum 5mm;
10+
case_depth = 12.0; // with pi zero 12mm; board minimum 5mm;
1111
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
1213

1314
/* [Panel dimensions] */
1415
panel_width = 174.0;

cases/waveshare.10in3.scad

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ include <case1.scad>;
55
view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover]
66

77
/* [Case depth] */
8-
case_depth = 10.0;
8+
panel_cover_depth = 1.6;
9+
panel_depth = 1.2;
10+
case_depth = 10.0; // change this for your usecase
11+
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
913

1014
/* [Panel dimensions] */
1115
panel_width = 216.70;

cases/waveshare.13in3e.scad

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ include <case1.scad>;
55
view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover]
66

77
/* [Case depth] */
8-
case_depth = 6.0;
8+
panel_cover_depth = 1.6;
9+
panel_depth = 1.2;
10+
case_depth = 9.0; // change this for your usecase
11+
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
913

1014
/* [Panel dimensions] */
1115
panel_width = 285.09;
@@ -22,10 +26,13 @@ panel_border_right = 7.5;
2226
panel_border_top = 16.1;
2327
panel_border_bottom = 16.1;
2428

29+
case_inner_padding_left = 4;
2530
case_inner_padding_right = 6;
31+
case_inner_padding_top = 4;
32+
case_inner_padding_bottom = 4;
2633

2734
/* [Thick border] */
28-
thick_border = false;
35+
thick_border = true;
2936
thick_border_width = 12.0;
3037
thick_border_extra_depth = 15.0;
3138

cases/waveshare.4in01f.desk.scad

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ include <case1.scad>;
55
view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover]
66

77
/* [Case depth] */
8+
panel_cover_depth = 1.6;
9+
panel_depth = 6.8;
810
case_depth = 6.0;
11+
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
913

1014
/* [Panel dimensions] */
1115
panel_width = 69.7;
1216
panel_height = 98.3;
13-
panel_depth = 6.8;
1417

1518
panel_bezel_left = 10.5;
1619
panel_bezel_right = 6.5;

cases/waveshare.4in0e.desk.scad

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ include <case1.scad>;
55
view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover]
66

77
/* [Case depth] */
8+
panel_cover_depth = 1.6;
9+
panel_depth = 6.8;
810
case_depth = 6.0;
11+
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
913

1014
/* [Panel dimensions] */
1115
panel_width = 67.8;
1216
panel_height = 101.0;
13-
panel_depth = 6.8;
1417

1518
panel_bezel_left = 6.2;
1619
panel_bezel_right = 6.2;

cases/waveshare.7in3e.scad

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ include <case1.scad>;
55
view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover]
66

77
/* [Case depth] */
8-
case_depth = 6.0;
8+
panel_cover_depth = 1.6;
9+
panel_depth = 1.2;
10+
case_depth = 6.0; // change this for your usecase
11+
back_depth = 1.2;
912
fillet_radius = 2.2;
1013

1114
/* [Panel dimensions] */

cases/waveshare.7in5.scad

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ include <case1.scad>;
55
view_mode="print_horizontal"; // [print_vertical, print_horizontal, stacked, stacked_case, exploded, only_case, only_thick_border, only_panel_cover]
66

77
/* [Case depth] */
8-
case_depth = 6.0;
8+
panel_cover_depth = 1.6;
9+
panel_depth = 1.2;
10+
case_depth = 6.0; // change this for your usecase
11+
back_depth = 1.2;
12+
fillet_radius = 2.5; // How round to make the case. Not used with thick borders.
913

1014
/* [Panel dimensions] */
1115
panel_width = 170.3;

0 commit comments

Comments
 (0)