Commit graph

25151 commits

Author SHA1 Message Date
Ghostkeeper
28f8da8f7b
Move calculation of simulation spectrum limits to separate function
This is just a refactor that shouldn't have any influence on the behaviour.
It is a necessary prerequisite to be able to trigger the updating of the layer view colour spectrum more frequently, i.e. if the visible line types change.
2021-04-03 16:16:02 +02:00
Ghostkeeper
8d13cfb5d6
Make limits in colour scheme depend on the visible line types
This way, if travel moves are not currently visible in the layer view, the travel moves don't get counted with the limits to determine the colour spectrum to grade each line with. Quite often, travel moves had a much greater speed than other moves, like 120mm/s instead of the fastest printed line 60mm/s. This caused all of the layer view to be pushed into the lower end of the spectrum. It makes it hard to distinguish the differences in speed and line width because travel moves influence the spectrum so much. This way, the travel moves only influence the spectrum if they are visible. If they are visible, it might be relevant to the user. Otherwise, the user gets the full spectrum to differentiate between all the line widths and speeds.

This currently doesn't update correctly yet. That is something we'll need to fix.
2021-04-03 16:03:20 +02:00
Evangelos Trantos
78ecb7ec9a
Change the devtoolset to version 8
After the python and Qt upgrade we're using devtoolset v8 in our centos7 container.
2021-04-02 10:26:25 +02:00
Ghostkeeper
27185c268d
Strip whitespace around package name for display
The actual package name internally will still have the spaces.
People were using this to get ahead in the sorting of packages, which is a little unfair. This doesn't make that impossible, but prevents it for the most part.
2021-03-31 16:10:36 +02:00
Remco Burema
7cf2ebe441
Fit text in boxes.
5-min fix.
2021-03-31 09:54:05 +02:00
Remco Burema
368c0310a5
Merge branch 'big_merge_v49' into 4.9 2021-03-30 22:51:50 +02:00
Remco Burema
e1490a68df
Also need to import this.
CURA-7180
2021-03-30 21:46:19 +02:00
Remco Burema
72248d47e1
Windows workaround for keyring issue.
So there is an issue with keyring w.r.t. frozen installs (maybe also local). If you have pywin32 installed, it works fine locally. Take a note here, that a variant of this package, pywin32-ctypes, a rudimentary version of that package that works wholly within python, is already installed as its a dependency for keyring on windows. Due to an unknown reason, when running it fails to detect this, so some workaround is needed, _or_ the 'normal' pywin32 package should be installed. However, problems occurred when attempts where made to install pywin32 via cx_freeze. Then the actual workaround was encountered (https://github.com/jaraco/keyring/issues/468), which _should_ hopefully let use use the keyring on windows without needing the 'full' version of pywin32.

CURA-7180
2021-03-30 20:40:33 +02:00
Remco Burema
bde88d7875
Don't store cerain keys ever.
CURA-7180
2021-03-30 17:24:25 +02:00
Remco Burema
315898864c
Merge branch 'CURA-7180_keyring_storage' into big_merge_v49 2021-03-30 17:21:17 +02:00
Remco Burema
e8defcff7c
Merge branch 'CURA-7180_keyring_storage' into big_merge_v49 2021-03-30 14:56:39 +02:00
Jaime van Kessel
aed653546a
Merge branch 'CURA-8126_Fix_Toolbox_not_closing_instantly_after_quitting' of github.com:Ultimaker/Cura 2021-03-30 14:26:47 +02:00
Jaime van Kessel
eb9d057c76
Merge branch 'CURA-8125_Fix_marketplace_button_not_directing_to_web_marketplace' of github.com:Ultimaker/Cura 2021-03-30 14:19:50 +02:00
Eryone
9bdf139634
Improve End GCode of eryone_thinker (#9466)
Ensure we disable bed temp and turn off all fans.
Move the nozzle up by 0.5mm and retract to remove wipe on model top layer.

Co-authored-by: Demetrius Apostolopoulos <75643490+dapostol73@users.noreply.github.com>
2021-03-30 13:34:14 +02:00
Kostas Karmas
54b30f20a3 Fix Toolbox window not closing instantly after pressing "Quit Cura"
After installing a package and hitting the "Close Ultimaker Cura" button, the Toolbox window
was remaining open for a few seconds, even though the Cura window was instantly closing.

This is not fixed by explicitly hiding the Toolbox dialog once that button is pressed.

CURA-8126
2021-03-30 11:49:56 +02:00
Kostas Karmas
6abb029afd Fix marketplace button not directing to the web marketplace
We generally disabled the clicks in the mouseArea of the tooltips.
In this case though it should still accept the left click since it acts as a button.

CURA-8125
2021-03-30 11:40:03 +02:00
Konstantinos Karmas
8d194d79b5
Merge pull request #9473 from Ultimaker/revert-9472-CURA-7813_QML_warnings
Revert "Cura 7813 qml modules version bump"
2021-03-30 09:53:19 +02:00
Konstantinos Karmas
504f6dbe70
Revert "Cura 7813 qml modules version bump" 2021-03-30 09:48:28 +02:00
Konstantinos Karmas
180732788b
Merge pull request #9472 from Ultimaker/CURA-7813_QML_warnings
Cura 7813 qml modules version bump
2021-03-30 09:42:59 +02:00
Jelle Spijker
53067a6d79
Merge pull request #9471 from Ultimaker/Fix_QML_warnings_in_Qt5.15
Fix QML warnings produced due to signal calls in Connections
2021-03-30 09:40:17 +02:00
jelle Spijker
645dc181bc
Fixed not showing tooltip
CURA-7813
2021-03-30 09:26:36 +02:00
Kostas Karmas
189d00c3ed Fix toolbox not initializing due to enabledChanged signal
The Connections in qml is a QObject and it has an enabledChanged signal by default.
Therefore, we cannot really use the Connections to connect to the enabledChanged signal of e.g.
a python class, because qml complains that there is already a function named enabledChanged() in
the Connections.

To circumvent that, we can simply rename the enabledChanged() signal of the Toolbox to
toolboxEnabledChanged().
2021-03-30 09:02:56 +02:00
Kostas Karmas
7827b36ab7 Fix QML warnings due to depricated on<signal> calls in Connections
As of 5.12, the signals used in connections should not be declared as on<signal>, but as
function on<signal>(arguments).
2021-03-30 09:02:48 +02:00
jelle Spijker
3baa71fd48
Update QtGraphicalEffects, Window and Dialogs
CURA-7813
2021-03-29 18:12:35 +02:00
jelle Spijker
9da321ffb9
Update Layouts, Control.Styles and Dialogs
CURA-7813
2021-03-29 18:04:47 +02:00
jelle Spijker
2986d50745
Update QtQuick and QtQuick.Controls
CURA-7813
2021-03-29 17:55:19 +02:00
Kostas Karmas
fb5d59db32 Fix comment
The Windows Credential Manager actually fails if the password is more than 1024 bits long.

CURA-7180
2021-03-29 17:03:09 +02:00
Kostas Karmas
dbb15b7c71 Account for exception occured when storing long tokens on Windows
The Windows Credential Manager allows for up to 256bits passwords. If a password longer than that
is attempted to be written, it will throw a BaseException.

CURA-7180
2021-03-29 16:33:59 +02:00
Kostas Karmas
dadda742ec Add pywin32 to the requirements
Allows the keyring library to use the Windows Credential Manager as a backend.

CURA-7180
2021-03-29 16:31:31 +02:00
Jelle Spijker
a277adae64
Merge pull request #9462 from Ultimaker/CURA-7813_fix_crash_globalstack
Workaround: Before closing the window, remove the global stack
2021-03-29 16:16:17 +02:00
Jaime van Kessel
8b447ca5cd
Merge pull request #9270 from mehmetsutas/Rigid3D
Update Rigid3D definitions / Add Mucit2 definition
2021-03-29 13:53:30 +02:00
Ghostkeeper
4eec099c31
Slightly lower build plate mesh
The top of the build plate mesh seems to be 1mm into the build volume in its actual coordinates. The mesh was lowered by 0.8mm. Probably they tried to lower it by 1mm first and then found that it was z-fighting. I'm resolving the z-fight the other way around so that the mesh actually appears completely below the build volume. This makes the build plate grid more clear. No more grey film on top of it.
2021-03-29 13:46:58 +02:00
Ghostkeeper
309bd52eb4
Merge branch 'defs_inat' of https://github.com/MarkINAT/Cura into MarkINAT-defs_inat 2021-03-29 13:40:10 +02:00
Jelle Spijker
c798c7b99e
Merge remote-tracking branch 'origin/master' into CURA-7813_fix_crash_globalstack 2021-03-29 10:17:31 +02:00
MarkMan0
d7c8d05be9 Change machine_start_gcode 2021-03-26 14:58:26 +01:00
MarkMan0
cc76002c03 disable infill_before_walls 2021-03-26 11:49:47 +01:00
MarkMan0
5872065dc8 fix temperatures 2021-03-26 11:49:35 +01:00
Remco Burema
729d3afd32
Workaround discinction model/models/group.
Fixes #9448
2021-03-26 11:26:03 +01:00
MarkMan0
ad803c22fd Fix printer height 2021-03-26 11:20:03 +01:00
Jaime van Kessel
2e88a3463c
Merge branch 'CURA-8014_welcome_pages_attract_mode' of github.com:Ultimaker/Cura 2021-03-25 15:53:59 +01:00
Jaime van Kessel
4e80ac5138
Use alignment instead of anchors
Since it's within a layout, you can't use anchors

CURA-8014
2021-03-25 15:53:08 +01:00
Remco Burema
839ac63241
Darker inactive dots in Whats New.
CURA-8014
2021-03-25 15:35:53 +01:00
Kostas Karmas
179d77ef5c Transfer the "What's new" and "Changelog" pages at the end of wizard
To match the requirements specified in the ticket.

CURA-8014
2021-03-25 13:29:17 +01:00
Jaime van Kessel
ab95af167c
Merge branch 'CURA-8094_onoarding_flow' of github.com:Ultimaker/Cura 2021-03-25 13:12:44 +01:00
Kostas Karmas
7af6ea5cc5 Remove unnecessary horizontalCenter anchor
Left and right anchors can't work at the same time with the horizontalCenter. In this case it
makes more sence to remove the horizontalCenter, since the left and right ones also define the
width of the rectangle.

CURA-8014
2021-03-25 12:51:07 +01:00
Kostas Karmas
55cb7f88a7 Change bottom left button text to "Skip"
Or else the page shows two buttons "Next" buttons.

CURA-8014
2021-03-25 12:47:07 +01:00
Jaime van Kessel
46c4a70b50
Merge branch 'CURA-8066_Change_tableView_colors' of github.com:Ultimaker/Cura 2021-03-25 11:33:54 +01:00
pnt103
2ed40fe2c6
Get last position from previous layer instead.
Old code was next-next layer, which is actually the layer _after_ the one that is meant.

Fixes #9430
CURA-8116
2021-03-25 09:19:45 +01:00
Kostas Karmas
e55e157925 Change label text to not contain a new line character
CURA-8094
2021-03-25 09:05:49 +01:00
Kostas Karmas
18c0510727 Fix review comments in WelcomeContent.qml
CURA-8094
2021-03-25 09:00:14 +01:00