14 Commits

Author SHA1 Message Date
Lipu Fei
f69005fef9 Rename to CuraFormulaFunctions
to avoid confusion with "SettingFunction" in Uranium.
2018-10-01 11:24:34 +02:00
Lipu Fei
7a681a2ae4 Move Cura custom setting functions to a separate file 2018-09-26 16:54:00 +02:00
Jaime van Kessel
638f9fb941 Remove unused functions 2018-09-07 16:02:54 +02:00
Diego Prado Gesto
71e8de13a8 Fix retrieving setting values with "extruderValues()" and "resolveOrValue()"
CURA-4358

Using the context for override the extruderValues() and resolveOrValue()
functions, for getting the correct values. Also indicate in the context
to skip the first container in the stacks (user container)
2017-10-11 11:05:01 +02:00
Lipu Fei
852e59f310 Fix retrieving default values with "extruderValue()"
CURA-4358

Use evaluation context to override the default extruderValue()
function with getDefaultExtruderValue() so it can get the correct
default values from each extruder.
2017-10-09 12:24:08 +02:00
Lipu Fei
8b8fb8db95 Coding style fixes 2017-03-08 15:09:02 +01:00
Lipu Fei
5724ee71d0 CURA-3221 Group items into categories for the profile change summary 2017-03-08 15:08:45 +01:00
Jaime van Kessel
4514f53ea4 Formulas are no longer shown in discard changes dialog
CURA-3221
2017-03-03 10:22:06 +01:00
Jaime van Kessel
87336c4c01 Fixed exception for clean start 2017-03-02 17:11:33 +01:00
Jaime van Kessel
6cf1fa4121 Removed uneeded global container changed signal hook
CURA-3221
2017-03-01 13:27:25 +01:00
Jaime van Kessel
1ba8ee2051 Fixed issue that in some cases not all changed settings for all extruders were shown
CURA-3221
2017-03-01 11:35:06 +01:00
Jaime van Kessel
9b63f1237a Instead of the setting function we now show the calculated value for settingoverride dialog
CURA-3221
2017-03-01 09:48:26 +01:00
Jaime van Kessel
4d32bbda99 Values are now converted to string.
For some reason this causes a different rounding to occur. I don't know why, but it does solve the problem

CURA-3221
2017-02-28 13:42:35 +01:00
Jaime van Kessel
2462699982 Switching profiles now shows a new dialog with all the changes.
CURA-3221
2017-02-28 10:25:42 +01:00