diff options
author | Joshua Shreve <j.a.shreve@gmail.com> | 2021-08-06 17:16:46 -0400 |
---|---|---|
committer | Joshua Shreve <j.a.shreve@gmail.com> | 2021-08-06 17:16:46 -0400 |
commit | 49f0253b9f22790ce5d50ed83f901328e0acea89 (patch) | |
tree | 7a30e0b63cc03722da33630a2ac56a23866f1529 /src/dactyl_manuform.py | |
parent | b09b92f639477ca8264118fcc728c6e8094b1cd8 (diff) |
Minor mods, CAD trackball socket in models.
Diffstat (limited to 'src/dactyl_manuform.py')
-rw-r--r-- | src/dactyl_manuform.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dactyl_manuform.py b/src/dactyl_manuform.py index 2930aa5..3379fb9 100644 --- a/src/dactyl_manuform.py +++ b/src/dactyl_manuform.py @@ -2814,7 +2814,9 @@ def generate_trackball_in_wall(): cutout = translate(cutout, (0, 0, ball_z_offset)) cutout = rotate(cutout, rot) cutout = translate(cutout, pos) - # + + # Small adjustment due to line to line surface / minute numerical error issues + # Creates small overlap to assist engines in union function later sensor = translate(sensor, (0, 0, ball_z_offset+.001)) sensor = rotate(sensor, rot) sensor = translate(sensor, pos) @@ -3432,12 +3434,12 @@ def model_side(side="right"): tbprecut, tb, tbcutout, sensor, ball = generate_trackball_in_wall() shape = difference(shape, [tbprecut]) - export_file(shape=shape, fname=path.join(save_path, config_name + r"_test_1")) + # export_file(shape=shape, fname=path.join(save_path, config_name + r"_test_1")) shape = union([shape, tb]) - export_file(shape=shape, fname=path.join(save_path, config_name + r"_test_2")) + # export_file(shape=shape, fname=path.join(save_path, config_name + r"_test_2")) shape = difference(shape, [tbcutout]) - export_file(shape=shape, fname=path.join(save_path, config_name + r"_test_3a")) - export_file(shape=add([shape, sensor]), fname=path.join(save_path, config_name + r"_test_3b")) + # export_file(shape=shape, fname=path.join(save_path, config_name + r"_test_3a")) + # export_file(shape=add([shape, sensor]), fname=path.join(save_path, config_name + r"_test_3b")) shape = union([shape, sensor]) if show_caps: |