27107 Commits

Author SHA1 Message Date
fieldOfView
e537fa562e Hide badge for disabled extruders
A configuration error or warning in a disabled extruder does not affect slicing or the available profiles for other extruder
2021-11-19 14:11:37 +01:00
Ghostkeeper
6601728741
Merge branch 'feature_extruder_warning_icon' of https://github.com/fieldOfView/Cura into fieldOfView-feature_extruder_warning_icon 2021-11-19 13:48:45 +01:00
fieldOfView
c805aac3cc Deactivate tooltip hover if there is no tooltip to show 2021-11-19 13:43:34 +01:00
bodyboarder2528
1d44ebd5e0 Update creality_cr100.def 2021-11-19 09:26:17 +11:00
Ghostkeeper
920d9b9d44
Make _parseJWT asynchronous as well
Now it calls checkToken correctly. However now this _parseJWT is not called correctly since there are things calling this one in an attempt to be synchronous again.
There is the additional issue that we can't call getAccessTokenUsingRefreshToken synchronously now, because this runs on the main thread and it will then block the main thread until the request is made, which is never because the request is also done on the main thread via Qt's event loop.

Contributes to issue CURA-8539.
2021-11-18 17:33:39 +01:00
Ghostkeeper
aff0764c1d
Add failed callback for when the request fails
Maybe we should add a parameter to this to respond with an error message. But maybe later.

Contributes to issue CURA-8539.
2021-11-18 17:19:05 +01:00
Ghostkeeper
a9990eaa75
Make parseJWT asynchronous
This involves returning the user profile via a callback.
No longer use the Requests library, which doesn't properly use the SSL certificates locally on the computer like the QNetworkManager does.

Contributes to issue CURA-8539.
2021-11-18 17:11:27 +01:00
Remco Burema
4a6f6475ee
Merge branch '4.12' 2021-11-18 16:05:50 +01:00
Remco Burema
26ad9766df
Merge pull request #10872 from Ultimaker/update-change-log
Update change log
4.12.1
2021-11-18 11:44:18 +01:00
Ghostkeeper
d6f8984cf0
Use integer positions for fixed items too
Pynest2d requires it. It seems the SIP version we're using is lenient for this, but newer SIP versions are not.

Fixes #10801.
2021-11-18 11:44:09 +01:00
fvrmr
d569742800 Update change log 2021-11-18 11:42:04 +01:00
Karl Nilsson
e0e227404f
Fix picking pixel on integer indices
The QImage.pixel() function should only get integers.
In theory an input position of -2,-2 would get rounded to 0 now. However that shouldn't occur because the user can't click outside of the window. And if it does occur, it's not really a problem either that it's theoretically picking a position inside of the window when you click slightly next to it.

Fixes #10785.
2021-11-18 11:36:20 +01:00
fvrmr
d266a9c8a1 Update change log
Updated the change log with two bug fixes
2021-11-18 11:25:13 +01:00
Ghostkeeper
3466404782
Expand limits for flow and 2nd and 3rd layers of bridging too
We removed the limit of density for the first bridging layer, but there are more settings for that, and there's a similar arbitrary limit for flow in place.

Contributes to issue CURA-8639 and #10736.
2021-11-18 11:10:09 +01:00
fieldOfView
9ebd8524ad Use badge icons 2021-11-18 10:53:35 +01:00
fieldOfView
77cfd8218a Add warning and error badge icons 2021-11-18 10:23:53 +01:00
fieldOfView
c6b6af668d Fix shader compilation on some GPUs
Some GPUs (rightly) complain about the difference between a float and an int. Fixes #10837
2021-11-18 08:04:14 +01:00
Jelle Spijker
52d639f980
fixed missing , in json 2021-11-17 19:50:15 +01:00
Jaime van Kessel
6a988c8fa0 Remove incorrect authors of profiles
Ultimaker didn't make these profiles, so it shouldn't be listed here
2021-11-17 17:01:30 +01:00
Remco Burema
71c6df8829
Fix capitalization in what (should) refer(s) to a key-value.
CURA-8701
2021-11-17 14:35:29 +01:00
Remco Burema
291d047fac
Revert "fixed top bottom pattern zigzag in profiles"
This reverts commit 3abbcc99c07b3b434a95183968e2b2e1cf7664ab.
2021-11-17 14:35:28 +01:00
Ghostkeeper
f1c763ad9f
Use HttpRequestManager to acquire new tokens
This is a re-write from a previous attempt. Instead of requests, which doesn't properly use SSL certificates installed on the computer among other things, we'll now use the HttpRequestManager which uses QNetworkManager under the hood and properly uses system settings.
The QNetworkManager is asynchronous which would normally be very nice, but due to the nature of this call we want to make it synchronous so we'll use a lock here.

Contributes to issue CURA-8539.
2021-11-17 14:32:53 +01:00
Jaime van Kessel
34aa7240d4 Merge branch 'PP-55_reduce-cross3D-top-layer-bridge-distance_Arachne' of github.com:Ultimaker/Cura into libArachne_rebased 2021-11-17 14:25:57 +01:00
Philip Rueker
5e9becc4f9 Fix initial layer bed and print head temperature in start gcode script for Snapmaker 2021-11-16 11:05:37 -08:00
fieldOfView
452aa4cc1c Add a tooltip explaining the status of the extruder 2021-11-16 16:05:02 +01:00
fieldOfView
d1f21ec7c4 Adjust size and position of extruder warning "badges" 2021-11-16 15:34:10 +01:00
Ghostkeeper
a292524af6
Correct German translation of indicating a time
This is better grammar.

Further improvement for #10718.
2021-11-16 15:16:18 +01:00
fieldOfView
19dbd1f168 Merge branch 'master' into feature_extruder_warning_icon 2021-11-16 14:56:43 +01:00
Ghostkeeper
caa9a6bfc4
Merge branch 'patch-1' of https://github.com/Ladnessness/Cura into Ladnessness-patch-1 2021-11-16 14:54:58 +01:00
Remco Burema
c2ed0a9181
Workaround for if layer is None somehow. 2021-11-16 12:40:56 +01:00
Remco Burema
f0cb9dd39e
Workaround for if layer is None somehow. 2021-11-16 12:33:29 +01:00
Rijk van Manen
fc594bcb4a no infill overlap for high density infill
To avoid over extrusion for high density infill in overlap needs to be set to zero. (see PP-25)
2021-11-16 10:04:21 +01:00
Rijk van Manen
304599326d no infill overlap for high density infill
To avoid over extrusion for high density infill in overlap needs to be set to zero. (see PP-25)
2021-11-16 09:59:02 +01:00
Jelle Spijker
cc92a9dc1c
Merge pull request #10841 from Ultimaker/master
Merge master into libArachne
2021-11-16 08:04:41 +01:00
Jelle Spijker
322d48cdd7 Fixed speed flow equalization width factor 2021-11-15 16:54:47 +01:00
Rijk van Manen
78aec480e7 change infill pattern to zigzag for >80% infill
This is done for all ultimaker profiles (PP-25).
2021-11-15 16:07:05 +01:00
Rijk van Manen
c109bc3613 revert 100% density pattern hack
In the fdmprinter definition the 'infill' is created by 999999 bottom layers to change to infill pattern to lines. This hack is reverted for ultimaker printers. More info: PP-25
2021-11-15 15:42:47 +01:00
Rijk van Manen
d3951a1a59 change infill pattern to zigzag for >80% infill
This is done for all ultimaker profiles (PP-25).
2021-11-15 15:29:40 +01:00
Rijk van Manen
35550fc1b4 revert 100% density pattern hack
In the fdmprinter definition the 'infill' is created by 999999 bottom layers to change to infill pattern to lines. This hack is reverted for ultimaker printers. More info: PP-25
2021-11-15 15:23:17 +01:00
Ghostkeeper
5e60cc6208
Merge branch 'bremco-graphics_buffer_update' 2021-11-15 15:20:10 +01:00
Ghostkeeper
dc28370178
Remove implicit casts and comparisons of int to float
We can't change this index to an integer, because varying variables can't be integer, even though this variable will only really be tested on vertex level. Not sure if varying was the right choice, but I don't want to change that.
This prevents a crash, probably only occurring on certain GPUs.

Contributes to issue CURA-8657.
2021-11-15 15:19:57 +01:00
Ghostkeeper
c9feace0fb
Change user-visible name of Maximum Feedrate to Maximum Speed E
Maximum Feedrate was correct, but compared to the names of the X/Y/Z maximum speeds, this is considered to be more consistent.

Fixes #10767.
2021-11-15 10:59:58 +01:00
Jelle Spijker
de94fd7412
Merge remote-tracking branch 'origin/PP-60_libArachne_iteration3_settings' into libArachne_rebased
# Conflicts:
#	resources/definitions/fdmprinter.def.json
#	resources/definitions/ultimaker.def.json
#	resources/definitions/ultimaker2.def.json
#	resources/definitions/ultimaker3.def.json
#	resources/definitions/ultimaker_s3.def.json
#	resources/definitions/ultimaker_s5.def.json
2021-11-15 09:48:48 +01:00
Ghostkeeper
d12d756b1d
Move machine_height to the other machine dimension settings
It's quite logical that the 3 dimensions of the printer are next to each other...

Found during work on a plug-in.
2021-11-13 16:42:06 +01:00
Jelle Spijker
c43ff07072 Changed description and label of flow equalization factor 2021-11-12 16:52:15 +01:00
Ghostkeeper
cbe3cf778a
Change distribution count to be the maximum diameter of distribution
Instead of the minimum. So previously a value of 2 would make it spread the error over 2 walls for an even number, or 3 for an odd. Now it makes it spread the error over 2 walls for an even number or 1 for an odd. This means that the minimum allowed value becomes 2, because for an even wall count it needs to place the error somewhere.

Done as a 5 minute fix.
2021-11-12 16:48:08 +01:00
Ghostkeeper
a94415b388
Merge branch 'flow_equalization_width_factor_as_ratio' into libArachne_rebased 2021-11-12 15:19:51 +01:00
Ghostkeeper
b8ccb32836
Merge branch 'master' into libArachne_rebased
Conflicts:
	resources/definitions/ultimaker2.def.json -> Additions in Arachne around a place where we fixed an enum setting.
	resources/definitions/ultimaker3.def.json
	resources/definitions/ultimaker_s3.def.json
	resources/definitions/ultimaker_s5.def.json
2021-11-12 15:08:29 +01:00
j.spijker@ultimaker.com
c668746769
Flow equalization width factor as percentage
This variable makes more sense to as a Ratio.
This was discussed during the eCCB 12/11/21
and implemented as a 5 min fix.

Note: The current default values were 0.5 there
is a new PR which change these 1.0. These values
should be multiplied with a 100
2021-11-12 14:13:25 +01:00
Lin Yu-Chieh (Victor)
b68a33df21
Update atom2.def.json 2021-11-12 12:16:44 +08:00