Skip to content

Commit 088c734

Browse files
committed
Fixed minor gaps in carbonfet cluster due to other fixes to default cluster. Fixed screw_cbore_diameter which was applied as a radius, doubling the hole size.
1 parent e01ad9e commit 088c734

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/dactyl_manuform.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,12 @@ def debugprint(info):
103103
mount_height = keyswitch_height + 2 * plate_rim
104104
mount_thickness = plate_thickness
105105

106-
if default_1U_cluster:
106+
if default_1U_cluster and thumb_style=='DEFAULT':
107107
double_plate_height = (.7*sa_double_length - mount_height) / 3
108-
else:
108+
elif thumb_style=='DEFAULT':
109109
double_plate_height = (.95*sa_double_length - mount_height) / 3
110+
else:
111+
double_plate_height = (sa_double_length - mount_height) / 3
110112

111113
if oled_mount_type is not None and oled_mount_type != "NONE":
112114
left_wall_x_offset = oled_left_wall_x_offset_override
@@ -2671,7 +2673,7 @@ def baseplate(wedge_angle=None):
26712673
loc = hole.Center()
26722674
hole_shapes.append(
26732675
translate(
2674-
cylinder(screw_cbore_diameter, screw_cbore_depth),
2676+
cylinder(screw_cbore_diameter/2.0, screw_cbore_depth),
26752677
(loc.x, loc.y, 0)
26762678
# (loc.x, loc.y, screw_cbore_depth/2)
26772679
)

0 commit comments

Comments
 (0)