fix: Tongue overthick problem
This commit is contained in:
parent
dfc745617f
commit
363a67841e
|
@ -1362,7 +1362,7 @@ class ElbowJoint(Model):
|
||||||
def post(sketch: Cq.Sketch) -> Cq.Sketch:
|
def post(sketch: Cq.Sketch) -> Cq.Sketch:
|
||||||
y_outer = self.disk_joint.total_thickness / 2
|
y_outer = self.disk_joint.total_thickness / 2
|
||||||
y_inner = self.disk_joint.tongue_thickness / 2
|
y_inner = self.disk_joint.tongue_thickness / 2
|
||||||
if y_outer < y_inner:
|
if y_outer <= y_inner:
|
||||||
return sketch
|
return sketch
|
||||||
y = (y_outer + y_inner) / 2
|
y = (y_outer + y_inner) / 2
|
||||||
width = self.lip_side_depression_width
|
width = self.lip_side_depression_width
|
||||||
|
|
|
@ -34,7 +34,7 @@ ELBOW_PARAMS = dict(
|
||||||
ELBOW_DISK_PARAMS = dict(
|
ELBOW_DISK_PARAMS = dict(
|
||||||
housing_thickness=2.5,
|
housing_thickness=2.5,
|
||||||
disk_thickness=6.8,
|
disk_thickness=6.8,
|
||||||
tongue_thickness=12.3,
|
tongue_thickness=2.5 * 2 + 6.8,
|
||||||
)
|
)
|
||||||
WRIST_DISK_PARAMS = dict(
|
WRIST_DISK_PARAMS = dict(
|
||||||
movement_angle=30,
|
movement_angle=30,
|
||||||
|
|
Loading…
Reference in New Issue