Cura/resources
Ghostkeeper 16bc9db06d
Simplify gradual infill steps maximum formula
The case where it reaches '20' is incorrect, it should never give an error, so it should've been 999999 or something. This case is also overly complex.
Say that P is 'infill_line_distance > 0' and Q is 'spaghetti_enabled'...
Then it would be the logarithmic if (P and not Q)...
Then it would be 0 or 20 if (not (P and not Q)), which is ((not P) or Q)...
Then it would be 20 if (((not P) or Q) and not Q), which is (not P)...
And it would be 0 if (((not P) or Q) and Q), which is Q.

So therefore it can be simplified to: 20 if (not P) else 0 if Q else logarithmic. But 20 became 999999, hence the above formula.

Contributes to issue CURA-3700.
2017-04-19 16:24:39 +02:00
..
definitions Simplify gradual infill steps maximum formula 2017-04-19 16:24:39 +02:00
extruders Update cartesio_extruder_3.def.json 2017-04-07 13:03:32 +02:00
i18n Merge branch '2.5' 2017-04-13 15:02:29 +02:00
images T466: Revert the previous commit since it messed up the file rights. 2016-12-23 15:53:15 -05:00
meshes Resized Rigid3D Zero2 Platform STL 2017-04-18 22:49:50 +03:00
qml Make toggle button labels clickable 2017-04-19 12:46:25 +02:00
quality Merge branch '2.5' 2017-04-14 17:06:37 +02:00
shaders WIP OpenGL 4.1 core profile. CURA-3273 2017-01-31 17:05:00 +01:00
themes/cura Put sizes and numbers for toggle button into theme 2017-04-19 08:56:11 +02:00
variants Merge branch '2.5' 2017-04-14 15:04:05 +02:00