diff --git a/snap_on_templates.py b/snap_on_templates.py index 177aed1..2ae2e9a 100644 --- a/snap_on_templates.py +++ b/snap_on_templates.py @@ -25,7 +25,6 @@ back_thickness = 1.5 # this number is somewhat estimated, but quite important # it is the offset from the end of the pliers to the point of the cutter lishi_cutter_offset = .54 * MM_PER_IN -key_guide_width = 15 key_guide_height = 12.5 notch_width = 1 @@ -34,6 +33,8 @@ notch_depth = 0.5 def lishi_template(spec: BittingSpecification, name: str, depth: float): + key_guide_width = lishi_width/2 + side_thickness + spec.TFC - spec.BCC/2 + result = ( cq .Workplane("front")