Development/Adding New Slice Settings
Revision as of 14:57, 15 December 2015 by MatterHackers (Talk | contribs) (Created page with "In MatterControl there are several files that are used to configure SliceSettings *'''StaticDataPrinterSettingsconfig.ini''' - This is the list of all possible printer settin...")
Revision as of 14:57, 15 December 2015 by MatterHackers (Talk | contribs) (Created page with "In MatterControl there are several files that are used to configure SliceSettings *'''StaticDataPrinterSettingsconfig.ini''' - This is the list of all possible printer settin...")
In MatterControl there are several files that are used to configure SliceSettings
- StaticDataPrinterSettingsconfig.ini - This is the list of all possible printer settings. Your new type needs to be in here.
- StaticDataSliceSettingsLayouts.txt - This file describes where the setting will be laid out in the ui.
- StaticDataSliceSettingsProperties.txt - This file contains the description of the friendly name and the help for each setting.
How to add a new setting
- Add the setting name to config.ini
- Put the setting name in the right place in Layouts.txt
- Add the friendly name and help text to Properties.txt
If the setting is also applicable to CuraEngine you need to write some code.
- Open - SlicerConfigurationSlicerMappingEngineMappingCura.cs
- Add the setting to curaToDefaultMapping. Write translation code if required
If the setting should not be available in Slic3r
- Open - SlicerConfigurationSlicerMappingEngineMappingSlic3r.cs
- Add the setting name to hideItems