remove more magic numbers, top plate is a derivative of base frame dimensions

This commit is contained in:
Brian S. Stephan 2023-09-08 13:53:51 -05:00
parent 88fc53988e
commit 82d1913551
Signed by: bss
GPG Key ID: 3DE06D3180895FCB

View File

@ -43,11 +43,14 @@ lever_mount_y = 95;
lever_mount_z = 2; lever_mount_z = 2;
// case dimensions // case dimensions
// base frame box. reminder: top of inside (including mounts) is chopped by top_plate_z for plates
frame_x = 183; frame_x = 183;
frame_y = 208; frame_y = 208;
frame_z = 50; // reminder: inside (including mounts) is chopped by top_plate_z for plates frame_z = 50;
top_plate_x = 175;
top_plate_y = 200; // top plate, which can either be the whole plate ("inset") or the mounting frame for a plate that overhangs
top_plate_x = frame_x - 8;
top_plate_y = frame_y - 8;
top_plate_z = 5; top_plate_z = 5;
plate_to_frame_point_x = (top_plate_x/2)-10; plate_to_frame_point_x = (top_plate_x/2)-10;