SebKuzminsky / pycam

Other
340 stars 98 forks source link

Support bridge fail #125

Closed Pf441 closed 5 years ago

Pf441 commented 6 years ago

Good morning! When I try to create the support model ("Models"->"Support"->"Create support model"), PyCAM console outputs an error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pycam-0.7.0_pre0.493.g0acbffb-py3.6.egg/pycam/Plugins/ModelSupport.py", line 137, in _add_support_model
    color=self.core.get("color_support_preview"))
TypeError: add_model() got an unexpected keyword argument 'name_template'

However, support preview is visible in the visualization. image

Is it a known bug or a problem with my configuration? I run Linux Mint 19 with the latest PyCAM commit.

sumpfralle commented 5 years ago

Thank you for your report - it is fixed now.