24907 Commits

Author SHA1 Message Date
Jaime van Kessel
6799e3fd7d
Update the material packages versions 2020-10-26 14:11:18 +01:00
Ghostkeeper
7b1f1025a0
Clarify what a project file is
Also update the name of the menu entry for 4.7+.
2020-10-26 11:49:28 +01:00
Cláudio 'Patola' Sampaio
44dc893a3b Updated pt_BR strings for 4.8. 2020-10-25 14:27:50 +01:00
Remco Burema
b80675a149
Merge branch '4.8' 2020-10-23 14:47:03 +02:00
Jaime van Kessel
69b855f298
Ensure changeAtZ script sees speed 100 as default
The speed is asumed to be default at 100%. This is so much assumed
that the g-code doesn't even put a m220 s100 command as the basis anymore

CURA-7773
4.8-beta
2020-10-23 11:58:29 +02:00
Remco Burema
ae9ab5745e
'M220' doesn't take a 'T' parameter in any format. 2020-10-23 11:56:54 +02:00
Ghostkeeper
3353817e1c
Fix displaying time estimation with Griffin header
Otherwise it can't find the time and then doesn't output any time remaining commands.

Contributes to issue CURA-7787.
2020-10-22 16:26:15 +02:00
Ghostkeeper
9471ad1c32
Split time remaining setting into activation and method
It's a bit more elegant to have two separate settings for it, and show only the method if relevant.

Contributes to issue CURA-7787.
2020-10-22 16:23:56 +02:00
Ghostkeeper
3fce511d67
Merge branch 'postprocess_periodic_progress' of https://github.com/KimmoHop/Cura 2020-10-22 16:15:58 +02:00
Jaime van Kessel
10ed7c1288
Merge branch '4.8' of github.com:Ultimaker/Cura 2020-10-22 13:41:44 +02:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Kostas Karmas
a42c1493b7 Merge branch '4.8' 2020-10-22 11:10:48 +02:00
Konstantinos Karmas
1e005260b4
Merge pull request #8582 from Ultimaker/CURA-7643_fix_prime_tower_overlap
Fix prime tower overlap
2020-10-22 11:02:20 +02:00
Jaime van Kessel
c8889606a6
Merge branch 'master' of github.com:Ultimaker/Cura 2020-10-21 16:53:43 +02:00
Jaime van Kessel
257a661ef1
Ensure changeAtZ script sees speed 100 as default
The speed is asumed to be default at 100%. This is so much assumed
that the g-code doesn't even put a m220 s100 command as the basis anymore

CURA-7773
2020-10-21 16:52:39 +02:00
Kostas Karmas
3bc324aca5 Merge branch '4.8' 2020-10-21 15:35:31 +02:00
Kostas Karmas
12aa114483 Surround the addition the convexHull with try-except when loading a 3mf
The buildplate meshes can be in .3mf format. When Cura is loading a printer, it may try to load
its mesh from a 3mf file. At the moment cura is starting up there is no build volume yet, so adding
a convexHull to the printer's 3mf buildplate mesh is not possible. By surrounding the addition of
the convexHull with a try-except, loading of 3mf buildplate meshes on startup doesn't cause issues.

Fixes https://github.com/Ultimaker/Cura/issues/8585
2020-10-21 15:31:34 +02:00
Ghostkeeper
c9fdf5954a
Merge branch '4.8' 2020-10-20 15:28:12 +02:00
Ghostkeeper
01b432a3c3
Merge branch 'CURA-7745_Add_printer_preparing_status_in_monitor_page' into 4.8 2020-10-20 15:27:43 +02:00
Jaime van Kessel
953d363d96
Merge branch '4.8' of github.com:Ultimaker/Cura 2020-10-20 14:20:29 +02:00
Jaime van Kessel
5109bd3684
Fix crash when duplicating node with support blocker
Suggested & reported by smartavonics.

Fixes #8581
2020-10-20 14:19:33 +02:00
Jaime van Kessel
5c5a26bf35
Merge branch '4.8' of github.com:Ultimaker/Cura 2020-10-20 13:45:50 +02:00
Jaime van Kessel
e13ffb597d
Increase resolution of prime tower shadow and use doulbe brim size
It needs to use the double brim size, as it needs to ensure that
it has enough room for it's own brim and any object brim.

The resolution of the circle is increased so that the shadow matches
more with what is actually being printed

CURA-7643
2020-10-20 13:41:35 +02:00
Remco Burema
a8acdd01e4
Merge branch 'master' of https://github.com/Ultimaker/Cura 2020-10-20 12:36:41 +02:00
Remco Burema
eb9912b924
'M220' doesn't take a 'T' parameter in any format. 2020-10-20 12:36:06 +02:00
Kostas Karmas
f576e07c11 Add "preparing" status in monitor page
CURA-7745
2020-10-20 09:49:11 +02:00
Jelle Spijker
2254a49c74
Merge pull request #8551 from Ultimaker/CURA-7360_Fix_not_a_group_host_message
Fix not a group host message
2020-10-19 17:31:17 +02:00
Ghostkeeper
02e990735f
Updating translation files with new strings
These are the new strings for 4.8 in every language, to be filled in by translators.

Contributes to issue CURA-7782.
2020-10-19 13:33:12 +02:00
Ghostkeeper
bc9c767c78
Restore reporting e-mail
Contributes to issue CURA-7782.
2020-10-19 13:24:52 +02:00
Ghostkeeper
f2afe03647
Update translation templates for Cura 4.8
These are the new strings to be translated.

Contributes to issue CURA-7782.
2020-10-19 13:17:45 +02:00
Ghostkeeper
0f86481ac2
Add libnest2d and pynest2d to list of dependencies
Contributes to issue CURA-7781.
2020-10-19 13:11:46 +02:00
Kostas Karmas
25612d4184 Merge branch '4.8' 2020-10-19 11:34:11 +02:00
Konstantinos Karmas
a2cd21ac49
Merge pull request #8549 from Ultimaker/CURA-7770_Update_setting_after_disable_extruder
Force an re-evaluation of a setting when extruder has been disabled
2020-10-19 11:33:10 +02:00
Ghostkeeper
5cd62ae15b
Optimise images losslessly
This runs a filter optimisation to choose the best PNG filters for compression, then RLE optimisation. The pixel value output is still the same, but file size somewhat smaller.
2020-10-19 11:21:21 +02:00
Jaime van Kessel
ff10eac372
Merge branch '4.8' of github.com:Ultimaker/Cura 2020-10-19 11:02:44 +02:00
Jaime van Kessel
02605f00e5
Merge branch 'CURA-7780_Fix_arrange_message_not_closing_when_arrange_crashes' of github.com:Ultimaker/Cura into 4.8 2020-10-19 10:58:47 +02:00
jelle Spijker
653c14852b
Removed @-symbols from changelog
The changelog doesn't use the @-syntax for linking Github users. Removed
@-symbols in front of user names to stay consistent with previous
developer mentions.

Also rephrased the description of allow scrolling through settings-
tooltips.
2020-10-18 12:01:08 +02:00
Ghostkeeper
4b3fda21e2
Prevent duplicate adding of extruders
The addMachineExtruders function assumes that this is a new printer (first time the printer is activated since a restart of Cura) and it needs to add the extruder stacks to it. However most of the time when we're switching, it's not to a new printer. If it's not a new printer, this function would get called anyway and we'd be adding the extruders multiple times. This then does a lot of unnecessary work and eventually fails a couple of calls deep.
This change prevents it from adding the extruders if there are already extruders associated with the printer, thus preventing this unnecessary work (switch is faster) and preventing the error from happening.

Discovered during work on CURA-7501.
2020-10-16 16:09:37 +02:00
Ghostkeeper
5668eba6b2
Don't use anchors in a Layout context
The anchors won't work then. They can never mix.
In this case it's easiest to continue with the Layout.

Contributes to issue CURA-7501.
2020-10-16 15:41:14 +02:00
Ghostkeeper
13d0fbdea7
Don't attempt to send the empty material
We can't send it because sending it looks up the serialised form on disk, and there is no file for this one on disk.

Contributes to issue CURA-7501.
2020-10-16 14:32:00 +02:00
Ghostkeeper
6abfa38838
More fixes for PyCapsule_GetPointer race condition
One of the weirdest errors out there, and as far as I know we're the only ones suffering from it, due to having multiple packages of Python bindings created with Sip as well as having PyQt and different threads.
2020-10-16 14:26:27 +02:00
Ghostkeeper
26cb661240
Fix PyCapsule_GetPointer error when running tests
This obscure error happens when a module with Sip bindings is being imported after PyQt. Due to a clash with the Sip versions or something, it then fails on the custom module. Import all of our custom modules with Sip bindings first.
2020-10-16 14:18:17 +02:00
Ghostkeeper
df69d543a2
Not logged in for API calls is not a warning
Many requests are made without being logged in, such as to get the list of plug-ins when opening the Marketplace.

Contributes to issue CURA-7501.
2020-10-16 14:15:18 +02:00
Ghostkeeper
8f9e0da400
Fix binding of extruder enable checkbox if there is no active stack
There was a typo there.

Contributes to issue CURA-7501.
2020-10-16 14:03:59 +02:00
Jelle Spijker
3c7422f172
Merge pull request #8536 from Ultimaker/CURA-7717_Add_Essentials_subscription_information_in_slice_data
CURA-7717: Add subscription information in slice data
2020-10-16 13:42:51 +02:00
Ghostkeeper
bf36aae0c0
Add ConsoleLogger as pre-loaded plug-in
This way it gets loaded only once on start-up, which prevents errors that the plug-in was already loaded.

Contributes to issue CURA-7501.
2020-10-16 13:09:41 +02:00
Remco Burema
f6bf21c185
Send None instead of '' if no organisation.
part of CURA-7717
2020-10-16 13:00:12 +02:00
Ghostkeeper
452fe3972f
Don't cache CuraApplication singleton
This is causing a crash if self._application is used before the __init__ has finished (or at least passed the definition of self._application). That can happen in this class since some functions are called asynchronously.
It would also make writing tests easier because you can mock the getInstance() function to return a mock object, and only need to monkeypatch that for the function under test rather than also for the constructor.

Fixes Sentry issue CURA-1B5.
2020-10-16 12:05:21 +02:00
Jaime van Kessel
70d081afaa
Dont immediately show the "not a group host" message
By delaying a bit, we can ensure that this only happens if the cluster
itself isn't offline

CURA-7360
2020-10-16 11:45:47 +02:00
Kostas Karmas
82fc05c915 Always add a ConvexHullDecorator to objects loaded from 3MF
When loading from 3mf, objects outside the buildplate had no ConvexHullDecorator.

CURA-7780
2020-10-16 11:31:32 +02:00