24635 Commits

Author SHA1 Message Date
Kostas Karmas
bd5ed7a3ac Add tests for _correctPrintSequence
CURA-7827
2020-11-06 09:21:55 +01:00
Kostas Karmas
c1becbe43c Fix failing tests in TestMachineManager
When the machine manager calls the _onGlobalContainerChanged(), it calls updateNumberExtruders
Enabled, which triggers the signal numberExtrudersEnabledChanged. This, in turn, triggers the need
to check the MachineManager's pyqtProperty numberExtrudersEnabled. Now, since this property has no
setter, it cannot be patched. Instead, to work properly, patch the updateNumberExtrudersEnabled.

CURA-7827
2020-11-06 09:19:21 +01:00
Kostas Karmas
a1c7ebe1c3 Fix mypy complaints
CURA-7827
2020-11-05 19:04:29 +01:00
Kostas Karmas
845c994cbc Replace f string since it's not available in Python3.5
That should fix the failing test which produces a SyntaxError.

CURA-7827
2020-11-05 17:38:34 +01:00
Kostas Karmas
1a759f81df Change print sequence when the number of enabled extruders changes
Fixes https://github.com/Ultimaker/Cura/issues/8682 while still maintaining the correct behavior for CURA-6914.

CURA-7827
2020-11-05 16:58:47 +01:00
Kostas Karmas
726175a01d Merge branch '4.8' of https://github.com/Ultimaker/Cura into 4.8 2020-11-04 09:22:42 +01:00
Kostas Karmas
881e4406a4 Ensure the organization_id is None 2020-11-04 09:21:28 +01:00
Remco Burema
6b38695c22
Merge pull request #8678 from Ultimaker/CURA-7383
Gracefully handle exceptions in arrange
2020-11-03 16:51:12 +01:00
Remco Burema
0c7e31ece5
More readable.
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2020-11-03 16:12:50 +01:00
Remco Burema
4866127e50
Send None instead of empty string. 2020-11-03 14:36:27 +01:00
Ghostkeeper
ef7cfd846b
Change maximum resolution from 0.05mm to 0.25mm
This was found to be better in https://github.com/Ultimaker/Cura/issues/8321 due to changes to the simplification function.

Other printers are assumed to have a similar effect, or have their original value copied from Creality printers.
2020-11-03 11:48:07 +01:00
Jaime van Kessel
526eb8dacd
Gracefully handle exceptions in arrange
CURA-7785
2020-11-03 09:48:54 +01:00
Jelle Spijker
8a4bab27cb
Merge pull request #8656 from Ultimaker/CURA-7784_Hide_queue_if_printer_doesnt_support_it
Hide queue in Monitor page if printer does not support it
2020-10-31 12:30:59 +01:00
Kostas Karmas
c8e3c4ff12 Display the queue by default if there are no capabilities
If the capabilities list is missing, display the queue anyway, even if it is always empty

CURA-7784
2020-10-30 12:49:39 +01:00
Kostas Karmas
adc8072991 Hide queue in Monitor page if printer does not support it
CURA-7784
2020-10-30 12:44:59 +01:00
Ghostkeeper
e8e90e398a
Don't render non-printed meshes as if being outside of build volume
They aren't rendering like that in the solid view either.

Contributes to issue CURA-7797.
2020-10-29 12:29:10 +01:00
Jaime van Kessel
1cd91a3a24
Merge branch '4.8' of github.com:Ultimaker/Cura into 4.8 2020-10-28 15:42:12 +01:00
Jaime van Kessel
cc29ffa40e
Disable the activate button if the machine is already active
Fixes #8643
2020-10-28 15:41:36 +01:00
Konstantinos Karmas
3dc1e7a0fe
Merge pull request #8633 from Ultimaker/CURA-7796_fix_merge_models
Reset the entire transformation when merging
2020-10-27 14:40:34 +01:00
Jaime van Kessel
d35d6b087a
Reset the entire transformation when merging
This fixes the issue when the packing algorithm rotated an object

CURA-7796
2020-10-27 13:44:33 +01:00
Jaime van Kessel
6799e3fd7d
Update the material packages versions 2020-10-26 14:11:18 +01: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
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
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
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
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
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
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
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
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
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
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
Remco Burema
f6bf21c185
Send None instead of '' if no organisation.
part of CURA-7717
2020-10-16 13:00:12 +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
Kostas Karmas
8c1cf89d45 Skip arranging objects that have no convex hull
CURA-7780
2020-10-16 11:31:00 +02:00
Remco Burema
40b8139409
Update change-log with draft 1.3 of release notes for 4.8(-BETA). 2020-10-16 11:20:58 +02:00
Kostas Karmas
148dd26b67 Close "Finding Location" message if arrange crashes
CURA-7780
2020-10-16 11:10:02 +02:00
Jaime van Kessel
50ae33c42d
Force an re-evaluation of a setting when extruder has been disabled
CURA-7770
2020-10-16 10:50:05 +02:00
Konstantinos Karmas
e961c6271e
Merge pull request #8508 from Jip-Hop/master
Update the start gcode in creality_cr10max.def.json
2020-10-15 12:45:32 +02:00
Ghostkeeper
81217880fd
Merge branch 'CURA-7745-fix-montior-page-hacks' 2020-10-15 09:57:34 +02:00
Kostas Karmas
21b9c0639d Exclude objects outside buildplate from OneAtATimeIterator
CURA-7776
2020-10-14 17:14:38 +02:00
Remco Burema
ac239e3e2a
Merge pull request #8533 from Ultimaker/CURA-7771_compensate_for_shrinkage_compensation
disable material shrinkage percentage
2020-10-14 14:48:30 +02:00