Derive key guide width from bitting specs
This commit is contained in:
parent
a8f2382f5e
commit
dcab806632
@ -25,7 +25,6 @@ back_thickness = 1.5
|
|||||||
# this number is somewhat estimated, but quite important
|
# this number is somewhat estimated, but quite important
|
||||||
# it is the offset from the end of the pliers to the point of the cutter
|
# it is the offset from the end of the pliers to the point of the cutter
|
||||||
lishi_cutter_offset = .54 * MM_PER_IN
|
lishi_cutter_offset = .54 * MM_PER_IN
|
||||||
key_guide_width = 15
|
|
||||||
key_guide_height = 12.5
|
key_guide_height = 12.5
|
||||||
|
|
||||||
notch_width = 1
|
notch_width = 1
|
||||||
@ -34,6 +33,8 @@ notch_depth = 0.5
|
|||||||
|
|
||||||
|
|
||||||
def lishi_template(spec: BittingSpecification, name: str, depth: float):
|
def lishi_template(spec: BittingSpecification, name: str, depth: float):
|
||||||
|
key_guide_width = lishi_width/2 + side_thickness + spec.TFC - spec.BCC/2
|
||||||
|
|
||||||
result = (
|
result = (
|
||||||
cq
|
cq
|
||||||
.Workplane("front")
|
.Workplane("front")
|
||||||
|
Loading…
Reference in New Issue
Block a user