diff options
author | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-27 22:00:21 -0400 |
---|---|---|
committer | Joshua Shreve <j.a.shreve@gmail.com> | 2021-07-27 22:00:21 -0400 |
commit | 7de5b4f23669eac7927056b5816add92150233bd (patch) | |
tree | f5d011cd0d728cec3d84c48538dd0dd4552de375 /src/dactyl_manuform.py | |
parent | c1e9bf8573c0b6ba063e3d1c51a9923207a57530 (diff) |
Auto-adjusting minidox cluster y-location based on key size.
Diffstat (limited to 'src/dactyl_manuform.py')
-rw-r--r-- | src/dactyl_manuform.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dactyl_manuform.py b/src/dactyl_manuform.py index 1ccf70a..9a8b4b4 100644 --- a/src/dactyl_manuform.py +++ b/src/dactyl_manuform.py @@ -543,8 +543,13 @@ def connectors(): def thumborigin(): # debugprint('thumborigin()') origin = key_position([mount_width / 2, -(mount_height / 2), 0], 1, cornerrow) + for i in range(len(origin)): origin[i] = origin[i] + thumb_offsets[i] + + if thumb_style == 'MINIDOX': + origin[1] = origin[1] - .4*(minidox_Usize-1)*sa_length + return origin @@ -2754,7 +2759,8 @@ def screw_insert_thumb(bottom_radius, top_radius, height): if thumb_style == 'MINIDOX': position = thumborigin() - position = list(np.array(position) + np.array([-40, -33, -16])) + position = list(np.array(position) + np.array([-37, -35, -16])) + position[1] = position[1] - .4 * (minidox_Usize - 1) * sa_length position[2] = 0 elif thumb_style == 'CARBONFET': |