Skip to content

Commit

Permalink
add tail end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bat52 committed Aug 12, 2024
1 parent 178c30e commit 97b46db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions pylele2/pylele_bottom_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ def gen(self) -> Shape:

if self.cli.separate_fretboard or self.cli.separate_top:
bodyCutters.append(fbspCut)


bodyCutters.append(tnrsCut)
if tailCut is not None:
bodyCutters.append(tailCut)
self.add_part(tailCut)
bodyCutters.append(wormKeyCut)
self.add_part(tailCut.cut(tnrsCut).cut(wormKeyCut))
else:
bodyCutters.append(tnrsCut)
if self.cfg.isWorm:
bodyCutters.append(wormKeyCut)

Expand Down Expand Up @@ -121,6 +122,8 @@ def test_bottom_assembly():
'gotoh_tuners' : ['-t','gotoh'],
'worm_tuners' : ['-t','worm'],
'big_worm_tuners' : ['-t','bigWorm'],
'tail_end' : ['-t','worm','-e','60','-E','-wah'],
'flat_body' : ['-t','worm','-e','60','-E','-wah', '-bt', 'flat']
}

for test,args in tests.items():
Expand Down
3 changes: 2 additions & 1 deletion pylele2/pylele_tuners.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ def test_tuners():
'worm' : ['-t','worm'],
'big_worm': ['-t','bigWorm'],
'cadquery': ['-i','cadquery'],
'blender' : ['-i','blender']
'blender' : ['-i','blender'],
'tail_end': ['-t','worm','-e','60','-E','-wah','-C']
}

for test,args in tests.items():
Expand Down

0 comments on commit 97b46db

Please sign in to comment.