fix: Tongue overthick problem

This commit is contained in:
Leni Aniva 2024-08-06 23:46:54 -07:00
parent dfc745617f
commit 363a67841e
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
2 changed files with 2 additions and 2 deletions

View File

@ -1362,7 +1362,7 @@ class ElbowJoint(Model):
def post(sketch: Cq.Sketch) -> Cq.Sketch:
y_outer = self.disk_joint.total_thickness / 2
y_inner = self.disk_joint.tongue_thickness / 2
if y_outer < y_inner:
if y_outer <= y_inner:
return sketch
y = (y_outer + y_inner) / 2
width = self.lip_side_depression_width

View File

@ -34,7 +34,7 @@ ELBOW_PARAMS = dict(
ELBOW_DISK_PARAMS = dict(
housing_thickness=2.5,
disk_thickness=6.8,
tongue_thickness=12.3,
tongue_thickness=2.5 * 2 + 6.8,
)
WRIST_DISK_PARAMS = dict(
movement_angle=30,