added Triangles infill option, but not yet in fdmPrinter.json, so not present in hte GUI

This commit is contained in:
Tim Kuipers 2015-03-31 13:48:31 +02:00
parent e679c0a2b0
commit 7aa2062fe1

View file

@ -324,6 +324,8 @@ class CuraEngineBackend(Backend):
if self._settings.getSettingValueByKey('fill_pattern') == 'Grid':
settings['infillPattern'] = 'INFILL_GRID'
elif self._settings.getSettingValueByKey('fill_pattern') == 'Triangles': # TODO add option to fdmPrinter.json once it has been translated(?)
settings['infillPattern'] = 'INFILL_TRIANGLES'
elif self._settings.getSettingValueByKey('fill_pattern') == 'Lines':
settings['infillPattern'] = 'INFILL_LINES'
elif self._settings.getSettingValueByKey('fill_pattern') == 'Concentric':