13869 Commits

Author SHA1 Message Date
Diego Prado Gesto
dd0d0d20e9 CURA-5128 Modify the GCode parser to use a stream instead of a file so
we can reuse methods for the GCodeGZReader.
2018-03-23 17:14:53 +01:00
fieldOfView
251e24fedc Merge branch 'master' into feature_xmlmaterials_cura_settings 2018-03-23 14:57:31 +01:00
Ghostkeeper
de20d23df6
Merge branch '3.1'
There was a fix for NVidia on Fedora still on 3.1.
2018-03-23 14:29:46 +01:00
Ghostkeeper
4196624373
Merge branch 'CURA-5135_easy_fix' 2018-03-23 14:23:34 +01:00
Ghostkeeper
8a36f1e074
Make opacity depend on enabled
Simplifies the code a bit.

Contributes to issue CURA-5128.
2018-03-23 14:23:10 +01:00
Aleksei S
d859f71d6e Fix: The Print simulation view was broken because of constant refresheing scene
CURA-5142
2018-03-23 11:41:34 +01:00
Ian Paschal
e8491b4a83 CURA-5135 Easy version
This is the easy fix. When a plugin is downloading, the other plugins' download buttons are not possible to be clicked. This avoids having to write any new logic. It does detract a bit from the user experience though.

The complicated version requires re-writing a big part of the plugin browser code to enable the queueing of downloads and stuff. That's sort of how it "should" be but is a lot more work.
2018-03-23 11:10:21 +01:00
Ghostkeeper
749846e09c
Shorten 'Save to Removable Drive' translation
Wechseldatenträger was a bit too long to fit on that button.

Fixes #2643.
2018-03-23 09:49:47 +01:00
Ghostkeeper
9d63258703
Merge branch 'master' into feature_persistent_postprocessing 2018-03-22 19:19:05 +01:00
Ghostkeeper
3eb50cf37e
Only list configurations if we're still connected
Otherwise there are no available configurations, so no syncing.
2018-03-22 17:30:15 +01:00
Ian Paschal
30b75c7988 CURA-5140 Show confirmation rather than switching to monitor tab 2018-03-22 17:05:07 +01:00
fieldOfView
e7ca4f327e Fix reading and writing yes/no as boolean values 2018-03-22 16:55:12 +01:00
Ghostkeeper
4430a15a2f
Remove needlessly specific super call
There is only one parent.

Contributes to issue CURA-5128.
2018-03-22 16:34:11 +01:00
Ghostkeeper
378cde202c
Correct documentation
Contributes to issue CURA-5128.
2018-03-22 16:33:30 +01:00
Lipu Fei
fd2abdd9fb
Merge pull request #3507 from guillemavila/Copy-all-values-to-all-extruders
add Copy all values to all extruders
2018-03-22 16:16:30 +01:00
Jack Ha
283cbed1ad CURA-5130 move the part that determines if it should slice 2018-03-22 16:02:09 +01:00
Guillem
fecbf82551 Replace all user changed values
Removed check to change the values only if they were different
2018-03-22 15:49:30 +01:00
Jack Ha
3c7b28a144 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-22 14:51:14 +01:00
Lipu Fei
f332b83364 Fix typo and remove unused imports
CURA-5135
2018-03-22 14:50:14 +01:00
Lipu Fei
0787f0b2ba Fix autoslice check so it doesn't slice if there is no need
CURA-5130
2018-03-22 14:46:19 +01:00
Jack Ha
c2888529cb CURA-5128 cleanup .gz and only leave .gcode.gz as Cura and Uranium now accept extensions with multiple periods 2018-03-22 14:35:21 +01:00
Jack Ha
a0badf121a Merge branch 'master' into feature_gz_reader 2018-03-22 14:26:29 +01:00
Jack Ha
b75e0c75ce CURA-5128 add .gz to non sliceable extensions 2018-03-22 14:23:16 +01:00
Guillem
01ec20f5ce Fixed docs, removed todo, changed way to get extruder stacks, slightly faster 2018-03-22 11:39:42 +01:00
Mark
e2478b636a Typo 2018-03-22 09:49:22 +01:00
Lipu Fei
ce0e3f89b7 Fix code style and typo
CURA-4846
2018-03-22 09:42:14 +01:00
Ghostkeeper
2fad098f0b
Adjust description of button
You now no longer click to check if there's something wrong.

Contributes to issue CURA-4557.
2018-03-22 09:11:47 +01:00
Ruben D
58205fb965
Make _getMaterialShrinkage protected
No need to expose this.

Contributes to issue CURA-4557.
2018-03-22 01:59:49 +01:00
Ruben D
c8222b73c7
Merge branch 'feature_model_check' 2018-03-22 01:56:46 +01:00
Ruben D
5d51b75f4d
Remove unnecessary _has_warnings
We just always show the message because the button can only be pressed while there are warnings.

Contributes to issue CURA-4557.
2018-03-22 01:56:12 +01:00
Ruben D
8e6ee41124
Let shrinkage check set its own message
Another attempt to keep the shrinkage check contained to functions related to shrinkage more.

Contributes to issue CURA-4557.
2018-03-22 01:43:06 +01:00
Ruben D
329a0b121d
Move shrinkage parameters into shrinkage function
So that they are closer to where they are relevant if we're going to have more checks in this class.

Contributes to issue CURA-4557.
2018-03-22 01:38:34 +01:00
Ruben D
25e7cb457d
No need to create view again upon showing warnings
It is now already done when initialization is completed.

Contributes to issue CURA-4557.
2018-03-22 01:35:35 +01:00
Ruben D
15ad528aa5
Remove happy message
Since the button can only get shown when there is something wrong, the happy message can never be shown any more.

Contributes to issue CURA-4557.
2018-03-22 01:34:04 +01:00
Ruben D
5bf93a8398
Only display plug-in checker when there's really a warning
As discussed with LukeChen-Ultimaker, we only want to display a button when there is really something up with the current set-up, not when there might be something up. Most users will be confused to see a button that always says that everything is fine.

This also simplifies the signal handling a lot.

Contributes to issue CURA-4557.
2018-03-22 01:31:35 +01:00
Ruben D
987b475e3b
Remove unused parameter
Contributes to issue CURA-4557.
2018-03-22 00:48:23 +01:00
Ruben D
f5c1e59166
Call checkObjectsForShrinkage directly from runChecks
I'd like to transition to a state where you can read in runChecks all the checks that are being run. The former function checkAllSliceableNodes is now a helper function to list sliceable nodes.

Contributes to issue CURA-4557.
2018-03-22 00:46:29 +01:00
Ruben D
7ec7136a3a
Remove debug code
Contributes to issue CURA-4557.
2018-03-22 00:39:07 +01:00
Ruben D
2db208cc75
Remove unused code
The IDs, group, and xlink and such are not used at all.

Contributes to issue CURA-4557.
2018-03-22 00:38:39 +01:00
Ruben D
f91abf042f
Add documentation for globals
And maybe they should not be globals.

Contributes to issue CURA-4557.
2018-03-22 00:35:55 +01:00
Ruben D
55b247abbd
Hide outdated message if checking again
And if the result is different.

Contributes to issue CURA-4557.
2018-03-22 00:32:46 +01:00
Ruben D
37edce5976
Reuse message instances
Slightly more performant. And now if you click on the button again you won't get a spammy new message each time.

Contributes to issue CURA-4557.
2018-03-22 00:28:00 +01:00
Ruben D
ab7f10ea52
Make model checker warning easier to translate
It's often more clear to have a variable name in there so that the translator knows what'll be filled in for the variable.

Contributes to issue CURA-4557.
2018-03-22 00:20:10 +01:00
Ruben D
c7ba9f9e37
Improve wording of warning for too large models
A bit simpler English here.

Contributes to issue CURA-4557.
2018-03-22 00:18:12 +01:00
Ruben D
6646d898c2
Remove debug code
This code was put in to allow debugging before the branches are merged. We should just assume that the two branches get merged at the same time.

Contributes to issue CURA-4557.
2018-03-22 00:14:58 +01:00
fieldOfView
a85c42c246 Merge branch 'master' into feature_xmlmaterials_cura_settings 2018-03-21 21:51:52 +01:00
Aleksei S
47417c86a3 Rename method name
CURA-4846
2018-03-21 17:25:23 +01:00
Aleksei S
feb59f2531 Merge branch 'master' of github.com:Ultimaker/cura 2018-03-21 17:22:24 +01:00
Aleksei S
4fa195894d Fix: After reloading merged models they do not update origin position
CURA-4846
2018-03-21 17:21:11 +01:00
Ghostkeeper
4226f3641b
Better defaults for filament change
And better descriptions.
2018-03-21 17:12:54 +01:00