Skip to content

Commit

Permalink
Be verbose with blender params
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc committed Apr 21, 2024
1 parent 7105603 commit 5ef4125
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions make_headcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,16 +268,17 @@ def gen_case(
workdir = mkdtemp()
cleanup = True

_call_blender(
blender_carve_model_template.format(
preview=casefile,
scan=scanfile,
customizations=customizations,
tempdir=workdir,
nparts=nparts,
shrinking_factor=expand_head_model,
)
blender_params = dict(
preview=casefile,
scan=scanfile,
customizations=customizations,
tempdir=workdir,
nparts=nparts,
shrinking_factor=expand_head_model,
)
print("Generating head model by calling Blender with the following parameters:")
print(blender_params)
_call_blender(blender_carve_model_template.format(**blender_params))

pieces = {
2: ["back.stl", "front.stl"],
Expand Down

0 comments on commit 5ef4125

Please sign in to comment.