2022-10-03 00:35:03 +00:00
|
|
|
|
|
|
|
// height of the base
|
2023-09-22 06:11:23 +00:00
|
|
|
h_base = 5;
|
2022-10-03 00:35:03 +00:00
|
|
|
// lower base chamfer "radius"
|
2023-09-22 06:11:23 +00:00
|
|
|
r_c1 = 0.8;
|
2022-10-03 00:35:03 +00:00
|
|
|
// upper base chamfer "radius"
|
2023-09-22 06:11:23 +00:00
|
|
|
r_c2 = 2.4;
|
2022-10-03 00:35:03 +00:00
|
|
|
// bottom thiccness of bin
|
2023-09-22 06:11:23 +00:00
|
|
|
h_bot = 2.2;
|
2022-10-03 00:35:03 +00:00
|
|
|
// outside radii 1
|
2024-02-16 21:01:40 +00:00
|
|
|
r_fo1 = 7.5 / 2;
|
2022-10-03 00:35:03 +00:00
|
|
|
// outside radii 2
|
2024-02-16 20:32:04 +00:00
|
|
|
r_fo2 = 3.2 / 2;
|
2022-10-03 00:35:03 +00:00
|
|
|
// outside radii 3
|
2024-02-16 20:17:49 +00:00
|
|
|
r_fo3 = 1.6 / 2;
|
2023-05-31 15:46:30 +00:00
|
|
|
// length of a grid unit
|
|
|
|
l_grid = 42;
|
2022-10-03 00:35:03 +00:00
|
|
|
|
2024-03-11 03:34:30 +00:00
|
|
|
|
|
|
|
// Outside rounded radius of bin
|
|
|
|
// Per spec, matches radius of upper base section.
|
|
|
|
r_base = r_fo1;
|
|
|
|
|
2024-04-22 02:05:06 +00:00
|
|
|
// ****************************************
|
|
|
|
// Magnet / Screw Hole Constants
|
|
|
|
// ****************************************
|
|
|
|
LAYER_HEIGHT = 0.2;
|
|
|
|
MAGNET_HEIGHT = 2;
|
|
|
|
|
|
|
|
SCREW_HOLE_RADIUS = 3 / 2;
|
|
|
|
MAGNET_HOLE_RADIUS = 6.5 / 2;
|
|
|
|
MAGNET_HOLE_DEPTH = MAGNET_HEIGHT + (LAYER_HEIGHT * 2);
|
|
|
|
|
2022-10-03 00:35:03 +00:00
|
|
|
// center-to-center distance between holes
|
2023-09-22 06:11:23 +00:00
|
|
|
d_hole = 26;
|
2023-04-26 17:05:37 +00:00
|
|
|
// distance of hole from side of bin
|
|
|
|
d_hole_from_side=8;
|
2022-10-03 00:35:03 +00:00
|
|
|
|
2024-04-22 02:05:06 +00:00
|
|
|
// Meassured diameter in Fusion360.
|
|
|
|
// Smaller than the magnet to keep it squeezed.
|
|
|
|
REFINED_HOLE_RADIUS = 5.86 / 2;
|
|
|
|
REFINED_HOLE_HEIGHT = MAGNET_HEIGHT - 0.1;
|
|
|
|
// How many layers are between a Gridfinity Refined Hole and the bottom
|
|
|
|
REFINED_HOLE_BOTTOM_LAYERS = 2;
|
|
|
|
|
2024-04-22 03:28:49 +00:00
|
|
|
// Experimentally chosen for a press fit.
|
|
|
|
MAGNET_HOLE_CRUSH_RIB_INNER_RADIUS = 5.9 / 2;
|
|
|
|
// Mostly arbitrarily chosen.
|
|
|
|
// 30 ribs does not print with a 0.4mm nozzle.
|
|
|
|
// Anything 5 or under produces a hole that is not round.
|
|
|
|
MAGNET_HOLE_CRUSH_RIB_COUNT = 8;
|
|
|
|
|
2024-04-22 03:34:23 +00:00
|
|
|
MAGNET_HOLE_CHAMFER_ADDITIONAL_RADIUS = 0.8;
|
|
|
|
MAGNET_HOLE_CHAMFER_ANGLE = 45;
|
|
|
|
|
2024-04-22 02:05:06 +00:00
|
|
|
// ****************************************
|
|
|
|
|
2022-10-03 00:35:03 +00:00
|
|
|
// top edge fillet radius
|
2023-09-22 06:11:23 +00:00
|
|
|
r_f1 = 0.6;
|
2022-10-03 00:35:03 +00:00
|
|
|
// internal fillet radius
|
2023-09-22 06:11:23 +00:00
|
|
|
r_f2 = 2.8;
|
2022-10-03 00:35:03 +00:00
|
|
|
|
|
|
|
// width of divider between compartments
|
2023-09-22 06:11:23 +00:00
|
|
|
d_div = 1.2;
|
2022-10-03 00:35:03 +00:00
|
|
|
// minimum wall thickness
|
2023-09-22 06:11:23 +00:00
|
|
|
d_wall = 0.95;
|
|
|
|
// tolerance fit factor
|
|
|
|
d_clear = 0.25;
|
2022-10-03 00:35:03 +00:00
|
|
|
|
|
|
|
// height of tab (yaxis, measured from inner wall)
|
2023-09-22 06:11:23 +00:00
|
|
|
d_tabh = 15.85;
|
|
|
|
// maximum width of tab
|
|
|
|
d_tabw = 42;
|
|
|
|
// angle of tab
|
|
|
|
a_tab = 36;
|
2023-02-07 23:02:46 +00:00
|
|
|
// lip height
|
|
|
|
h_lip = 3.548;
|
2022-10-03 00:35:03 +00:00
|
|
|
|
|
|
|
d_wall2 = r_base-r_c1-d_clear*sqrt(2);
|
2023-09-22 06:11:23 +00:00
|
|
|
d_magic = -2*d_clear-2*d_wall+d_div;
|
2022-10-04 19:40:20 +00:00
|
|
|
|
2024-02-24 08:54:17 +00:00
|
|
|
// Stacking Lip
|
|
|
|
// Based on https://gridfinity.xyz/specification/
|
|
|
|
stacking_lip_inner_slope_height_mm = 0.7;
|
|
|
|
stacking_lip_wall_height_mm = 1.8;
|
|
|
|
stacking_lip_outer_slope_height_mm = 1.9;
|
|
|
|
stacking_lip_depth =
|
|
|
|
stacking_lip_inner_slope_height_mm +
|
|
|
|
stacking_lip_outer_slope_height_mm;
|
|
|
|
stacking_lip_height =
|
|
|
|
stacking_lip_inner_slope_height_mm +
|
|
|
|
stacking_lip_wall_height_mm +
|
|
|
|
stacking_lip_outer_slope_height_mm;
|
|
|
|
|
|
|
|
// Extracted from `profile_wall_sub_sub`.
|
|
|
|
stacking_lip_support_wall_height_mm = 1.2;
|
|
|
|
stacking_lip_support_height_mm =
|
|
|
|
stacking_lip_support_wall_height_mm + d_wall2;
|
|
|
|
|
|
|
|
|
2022-10-04 19:40:20 +00:00
|
|
|
// Baseplate constants
|
|
|
|
|
|
|
|
// Baseplate bottom part height (part added with weigthed=true)
|
|
|
|
bp_h_bot = 6.4;
|
|
|
|
// Baseplate bottom cutout rectangle size
|
|
|
|
bp_cut_size = 21.4;
|
|
|
|
// Baseplate bottom cutout rectangle depth
|
|
|
|
bp_cut_depth = 4;
|
|
|
|
// Baseplate bottom cutout rounded thingy width
|
|
|
|
bp_rcut_width = 8.5;
|
|
|
|
// Baseplate bottom cutout rounded thingy left
|
|
|
|
bp_rcut_length = 4.25;
|
|
|
|
// Baseplate bottom cutout rounded thingy depth
|
2022-10-12 01:34:02 +00:00
|
|
|
bp_rcut_depth = 2;
|
2024-01-29 04:21:37 +00:00
|
|
|
// Baseplate clearance offset
|
|
|
|
bp_xy_clearance = 0.5;
|
2022-10-12 01:34:02 +00:00
|
|
|
// countersink diameter for baseplate
|
2023-09-22 06:11:23 +00:00
|
|
|
d_cs = 2.5;
|
2022-10-12 01:34:02 +00:00
|
|
|
// radius of cutout for skeletonized baseplate
|
2023-09-22 06:11:23 +00:00
|
|
|
r_skel = 2;
|
2022-10-12 01:34:02 +00:00
|
|
|
// baseplate counterbore radius
|
|
|
|
r_cb = 2.75;
|
|
|
|
// baseplate counterbore depth
|
|
|
|
h_cb = 3;
|
2022-10-12 02:05:18 +00:00
|
|
|
// minimum baseplate thickness (when skeletonized)
|
2023-09-22 06:11:23 +00:00
|
|
|
h_skel = 1;
|