You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
3.5 KiB
115 lines
3.5 KiB
7 years ago
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
// File for all dimensions, so they can be changed globally.
|
||
|
//
|
||
|
// Author: Maximilian Stiefel
|
||
|
// Last modification: 07.07.2017
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
// Allowance
|
||
7 years ago
|
allowance15 = 15;
|
||
|
allowance10 = 10;
|
||
7 years ago
|
allowance5 = 5;
|
||
|
allowance1 = 1;
|
||
7 years ago
|
allowance05 = 0.5;
|
||
7 years ago
|
|
||
|
// Dimensions battery holder
|
||
|
battery_holder_width = 53.5;
|
||
|
battery_holder_depth = 50.5;
|
||
|
battery_holder_height = 13;
|
||
|
|
||
|
// Dimensions motherboard
|
||
|
motherboard_width = 80;
|
||
|
motherboard_depth = 1.6;
|
||
|
motherboard_height = 50;
|
||
|
|
||
|
// Dimensions plugin boards
|
||
|
pluginboard_width = 80;
|
||
|
pluginboard_depth = 1.6;
|
||
|
pluginboard_height = 50;
|
||
|
|
||
|
// Dimensions magnet
|
||
|
extra_space_magnet = 10;
|
||
|
|
||
|
// Dimensions housing inside (cubic)
|
||
7 years ago
|
housing_inside_width = motherboard_width + allowance15;
|
||
7 years ago
|
housing_inside_depth = pluginboard_height + extra_space_magnet + allowance5;
|
||
7 years ago
|
housing_inside_height = motherboard_height + battery_holder_height + allowance10;
|
||
7 years ago
|
|
||
|
echo(housing_inside_width=housing_inside_width);
|
||
|
echo(housing_inside_depth=housing_inside_depth);
|
||
|
echo(housing_inside_height=housing_inside_height);
|
||
|
|
||
|
// Dimensions housing
|
||
7 years ago
|
housing_thickness = 12; // Make it thick to avoid light comming through the walls
|
||
7 years ago
|
housing_outside_width = housing_inside_width + 2*housing_thickness;
|
||
|
housing_outside_depth = housing_inside_depth + 2*housing_thickness;
|
||
|
housing_outside_height = housing_inside_height + 2*housing_thickness;
|
||
|
|
||
|
echo(housing_outside_width=housing_outside_width);
|
||
|
echo(housing_outside_depth=housing_outside_depth);
|
||
|
echo(housing_outside_height=housing_outside_height);
|
||
|
|
||
|
// Colors
|
||
|
myColor1 = "DodgerBlue";
|
||
|
myColor2 = "Maroon";
|
||
|
|
||
|
// Lids dimensions
|
||
7 years ago
|
lids_depth = housing_thickness/3;
|
||
|
|
||
|
echo(lids_depth=lids_depth);
|
||
7 years ago
|
|
||
7 years ago
|
lid_l_r_height = housing_inside_height/2;
|
||
|
lid_l_r_width = (3/4)*housing_inside_depth;
|
||
7 years ago
|
lid_l_r_overlap = (1.7)*housing_thickness;
|
||
7 years ago
|
lid_l_r_x = lid_l_r_height + lid_l_r_overlap;
|
||
|
lid_l_r_y = lid_l_r_width + lid_l_r_overlap;
|
||
7 years ago
|
|
||
|
lid_f_b_width = housing_inside_width - 10;
|
||
7 years ago
|
lid_f_b_height = housing_inside_height - 5;
|
||
7 years ago
|
lid_f_b_overlap = (1.7)*housing_thickness;
|
||
7 years ago
|
lid_f_b_x = lid_f_b_width + lid_f_b_overlap;
|
||
|
lid_f_b_y = lid_f_b_height + lid_f_b_overlap;
|
||
7 years ago
|
|
||
|
lid_t_b_width = housing_inside_width;
|
||
|
lid_t_b_height = housing_inside_depth;
|
||
|
lid_t_b_overlap = (1.7)*housing_thickness;
|
||
7 years ago
|
lid_t_b_x = lid_t_b_width + lid_t_b_overlap;
|
||
|
lid_t_b_y = lid_t_b_height + lid_t_b_overlap;
|
||
7 years ago
|
|
||
|
// Screw holes
|
||
7 years ago
|
drill_dia_m3 = 3.2;
|
||
|
drill_thread_dia_m3 = 2.5;
|
||
7 years ago
|
drill_depth_m3 = 6;
|
||
7 years ago
|
drill_sinking_dia1_m3 = 5.5;
|
||
|
drill_sinking_dia2_m3 = 3;
|
||
|
drill_sinking_height_m3 = 2;
|
||
7 years ago
|
|
||
|
echo(drill_depth_m3=drill_depth_m3);
|
||
|
|
||
7 years ago
|
lid_l_r_holes_x = lid_l_r_width + (5/10)*lid_l_r_overlap;
|
||
|
lid_l_r_holes_y = lid_l_r_height + (5/10)*lid_l_r_overlap;
|
||
7 years ago
|
|
||
7 years ago
|
lid_f_b_holes_x = lid_f_b_width + (5/10)*lid_f_b_overlap;
|
||
|
lid_f_b_holes_y = lid_f_b_height + (5/10)*lid_f_b_overlap;
|
||
7 years ago
|
|
||
7 years ago
|
lid_t_b_holes_x = lid_t_b_width + (5/10)*lid_t_b_overlap;
|
||
|
lid_t_b_holes_y = lid_t_b_height + (5/10)*lid_t_b_overlap;
|
||
|
|
||
|
motherboard_mounting_x = motherboard_width - 5;
|
||
7 years ago
|
motherboard_mounting_y = motherboard_height - 5;
|
||
7 years ago
|
motherboard_mounting_d = 6;
|
||
|
motherboard_mounting_h = 6;
|
||
7 years ago
|
|
||
|
// O-rings
|
||
|
oring_channel_depth = 1.2;
|
||
|
oring_channel_width = 2;
|
||
|
|
||
|
oring_l_r_x = lid_l_r_width + 2*oring_channel_width + 6;
|
||
|
oring_l_r_y = lid_l_r_height + 2*oring_channel_width + 6;
|
||
|
|
||
|
oring_f_b_x = lid_f_b_width + 2*oring_channel_width + 6;
|
||
|
oring_f_b_y = lid_f_b_height + 2*oring_channel_width + 6;
|
||
7 years ago
|
|
||
7 years ago
|
oring_t_b_x = lid_t_b_width + 2*oring_channel_width + 6;
|
||
|
oring_t_b_y = lid_t_b_height + 2*oring_channel_width + 6;
|