Commit graph

7424 commits

Author SHA1 Message Date
Thomas Karl Pietrowski
0a126cf809 Generate cura.desktop (#668)
Adds support to install Cura to an alternative path, while generating a correct .desktop file for it.

* Renaming cura.desktop to cura.desktop.in
* CMAKE: Generate .desktop from .desktop.in
* Replace hardcoded paths with FULL_PATHs
* Tell CMake to generate cura.desktop
* CMake: Set full paths for .desktop generation
   * It tells CMake where to find the .desktop.in is and where to store the result.
2016-08-07 08:38:15 +02:00
Thomas Karl Pietrowski
e5ff77bc5c Showing less traceinfo 2016-08-07 08:17:31 +02:00
Thomas Karl Pietrowski
8e92cb4c91 CURA-1923: Don't return a complete traceback on HTTPError
As discussed on GitHub we don't need a complete traceback on HTTPError.
However URLError should return a full traceback, like any other
exception that might occur.
2016-08-07 08:16:22 +02:00
Thomas Karl Pietrowski
6b2935379f Adding "LinuxMint"
Moving the Nvidia fix just broke another PR here on GitHub. This is the original commit:
8b750cb27c
Thanks to @Nihlus

Why we are still listing all the distributions? - Still it isn't clear whether this problem is a "Debian"-specific bug or not.
2016-08-07 08:03:51 +02:00
Thomas Karl Pietrowski
35c520a787 Merge pull request #836 from Ultimaker/master-updates-for-Linux
Updating NVidia workaround
2016-08-07 07:59:34 +02:00
Thomas Karl Pietrowski
7c6df5a485 Merge branch 'master' of https://github.com/Ultimaker/Cura.git into master-CURA-1923 2016-08-06 20:32:27 +02:00
Ghostkeeper
021a33d6bd
Always set value of added setting instance
The value property was sometimes not set. In the default case, this just added an empty setting instance (for a particular key), which appeared to do nothing until you've changed it. This appears correct because if it's not changed then it should be the same as the extruder's value, but if you then change the extruder's value it doesn't update its visible value but still has no value in the setting instance, so the value still falls back to the extruder and the setting ends up different from what is being displayed.

Contributes to issue CURA-1988.
2016-08-05 17:30:22 +02:00
fieldOfView
78848567e0 Add printer when pressing enter in Add Printer page instead of closing page
CURA-1354
2016-08-05 16:04:51 +02:00
fieldOfView
fa0d8f912f Don't show UMO upgrades page for UMO+ 2016-08-05 16:02:10 +02:00
fieldOfView
ea3e2225ed Don't pass support_angle to shader unless it is valid
CURA-2058
2016-08-05 15:23:47 +02:00
fieldOfView
2edda68021 Improve validator for numeric fields
Do not accept fractional input for "int" settings
Also only accept a "-" as the first character
2016-08-05 15:12:13 +02:00
Ghostkeeper
09801db5f8
Fix support interface density and pattern global inherits stack
These depend on values that are obtained through global_inherits_stack, so they must also have global_inherits_stack.

Contributes to issue CURA-2024.
2016-08-05 13:48:04 +02:00
Ghostkeeper
51d972941e
Handle rounding errors in stack_nr
Wouldn't want it to index extruder '1.0'.

Contributes to issue CURA-2067.
2016-08-05 12:05:01 +02:00
Ghostkeeper
92b154f5fe
More defensive check for global_inherits_stack extruder
This should never give the keyerror any more and always default back to non-global_inherits_stack mode.

Contributes to issue CURA-2067.
2016-08-05 11:59:32 +02:00
Ghostkeeper
a46f6cc14d
Properly fallback to global if no extruders
This fixes the extruderValue function for printers such as the Ultimaker 2+.
2016-08-05 11:36:43 +02:00
Mark Walker
a485b58051 Move equalize_flow settings ahead of acceleration
And add "the print speed" to the description
2016-08-04 12:18:53 -07:00
Mark Walker
1e62b43d53 Rename pressure to flow 2016-08-04 10:54:04 -07:00
Mark Walker
eddbc87ceb New settings to allow control over automatic speed
changes when MergeInfillLines adjusts speed for even pressure when
changing extrusion widths.
2016-08-04 10:34:53 -07:00
Jack Ha
c0dd19ce08 Seems to work, except for the tooltip (shows global value). CURA-2007 2016-08-04 19:23:23 +02:00
Jack Ha
30898f9642 Merge branch 'feature_quality_changes' into cura-2008 2016-08-04 18:26:14 +02:00
Jack Ha
bfabf8d11a Merge, fix qml files. Contributes to CURA-2007.
Merge branch 'feature_quality_changes' into cura-2007

Conflicts:
	resources/qml/Settings/SettingItem.qml
	resources/qml/Settings/SettingView.qml
2016-08-04 18:22:36 +02:00
fieldOfView
6cf8536404 Rename pause button to pause/resume button for clarity
CURA-1851
2016-08-04 18:22:35 +02:00
fieldOfView
d3333540de Show printer in "indeterminate" state when we are not authenticated
CURA-1851
2016-08-04 18:16:05 +02:00
Arjen Hiemstra
4a02a9d1e3 Fix updating changed state for all stacks
Contributes to CURA-2006
2016-08-04 18:11:36 +02:00
Arjen Hiemstra
bc8c55f8fb Properly return True in updateQualityChanges
Since it is declared as returning bool

Contributes to CURA-2006
2016-08-04 18:05:45 +02:00
Arjen Hiemstra
7b9c982c62 Properly fix machinemanager access
Contributes to CURA-2006
2016-08-04 18:04:32 +02:00
Arjen Hiemstra
324d1415d7 Fix updating active quality
Contributes to CURA-2006
2016-08-04 17:55:16 +02:00
Arjen Hiemstra
354a467d8e Fix circular import bullcrap
Contributes to CURA-2006
2016-08-04 17:51:43 +02:00
Arjen Hiemstra
d150acb79c Change setActiveQuality to set quality of extruders & global and also set change containers
Contributes to CURA-2006
2016-08-04 17:41:01 +02:00
Arjen Hiemstra
e2045cdb7f Remove obsolete container switcheroo
Contributes to CURA-2006
2016-08-04 17:40:16 +02:00
Arjen Hiemstra
5361efcf2c Return the name/id of the quality changes container if it is set for activeQuality
Contributes to CURA-2006
2016-08-04 17:39:52 +02:00
Arjen Hiemstra
10de07c08e Remove some code that was moved to ContainerManager
Contributes to CURA-2006
2016-08-04 17:39:09 +02:00
Arjen Hiemstra
6d49fb87af Use ContainerManager::createQualityChanges when creating a quality from current settings
Contributes to CURA-2006
2016-08-04 17:38:19 +02:00
Arjen Hiemstra
2ee2bc7348 Properly implement ContainerManager::createQualityChanges
Contributes to CURA-2006
2016-08-04 17:37:15 +02:00
Arjen Hiemstra
b76ebbb850 Ensure we have an empty quality changes container in the extruder stack
Contributes to CURA-2006
2016-08-04 17:36:39 +02:00
Arjen Hiemstra
70dee38c95 Show quality_changes instance containers for custom containers in the profile menu
Contributes to CURA-2006
2016-08-04 17:35:33 +02:00
Arjen Hiemstra
9d0acf5b03 Properly send global settings to the global stack
Contributes to CURA-2006
2016-08-04 17:35:01 +02:00
Arjen Hiemstra
7613274686 Properly hide link icon if setting is not settable per extruder
Contributes to CURA-2006
2016-08-04 17:34:41 +02:00
Arjen Hiemstra
ec383b46b9 Emit blurSettings for ContainerManager::merge/clear user containers
Contributes to CURA-2006
2016-08-04 17:33:35 +02:00
Arjen Hiemstra
b6d0c40852 Store "quality_changes" type containers in the quality directory
Contributes to CURA-2006
2016-08-04 17:32:38 +02:00
Ghostkeeper
50cd98f2bb
Allow extruderValue(s) to fallback to global
If a setting is not defined in the extruder stack, fall back to global. At least it still tries to get the extruder value from the correct stack first. If that stack has no value, then so be it, use global anyway.

Contributes to issue CURA-2024. Also could affect issue CURA-2006.
2016-08-04 16:54:43 +02:00
Ghostkeeper
93f6f5d8d3
Don't use extruderValue on settings that have no global_inherits_stack
It's unnecessary and seems to break things.

Contributes to issue CURA-2024.
2016-08-04 16:54:43 +02:00
fieldOfView
cf06df8b07 Add a sidebar state for when a printer is not accepting commands
CURA-1851
2016-08-04 16:39:46 +02:00
fieldOfView
5f3c051ec6 Code cleanup
CURA-1990
2016-08-04 16:02:05 +02:00
fieldOfView
0faa7f4abb Fix error in PrinterOutputDevice.acceptsCommands
CURA-1851
2016-08-04 15:49:07 +02:00
fieldOfView
ed669925ad Disable print monitor if the printer is not (yet) ready to receive commands
CURA-1851
2016-08-04 15:06:22 +02:00
Jack Ha
2402ba3d0e Bed temperature is now either a resolved value or a global value.
Contributes to CURA-2007
2016-08-04 14:30:48 +02:00
fieldOfView
ef36c70d83 Check if the printer is ready to receive *before* doing work.
This has very little to do with CURA-1990
2016-08-04 14:23:57 +02:00
Ghostkeeper
f3a119f9bb
Use correct extruder's value when inheriting global_inheritance_stack settings
This uses the new function extruderValue() which picks the value from a different extruder. Every setting that has the global_inheritance_stack property is now referenced via the extruderValue() setting in all functions.

Contributes to issue CURA-2024.
2016-08-04 13:35:13 +02:00
fieldOfView
31861d82dc Show message while aborting
CURA-1990
2016-08-04 13:27:42 +02:00