7988 Commits

Author SHA1 Message Date
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Ghostkeeper
ddfcc94649
Merge branch 'CURA-8320_update_sdk' into 4.10 2021-06-16 16:45:37 +02:00
Ghostkeeper
f18e5f96ab
Use Cura-style drop-down to select mesh type
MacOS has some trouble with the QtQuick.Controls 1 system-styled drop-downs since Qt 5.15. We've removed the other ones, but forgot about this one.

Contributes to issue CURA-8128.
2021-06-15 17:13:08 +02:00
Remco Burema
04002056ae
Update SDK/API from 7.5.0 to 7.6.0 for 4.10
CURA-8320
2021-06-15 16:08:07 +02:00
Ewald Kleefstra
94871a32e3
Update plugins/PostProcessingPlugin/scripts/PauseAtHeight.py
Get extrusion mode from global container stack instead of first extruder

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-06-14 15:26:57 +02:00
Ewald Kleefstra
76da7768e8
Added relative extrusion mode support for PauseAtHeight.py script 2021-06-14 15:26:41 +02:00
Jaime van Kessel
dc8c5e4268
Merge branch 'mb-fix-flow-rates-min-max' of https://github.com/smartavionics/Cura 2021-06-07 15:29:45 +02:00
Ghostkeeper
515c7459d3
Catch EnvironmentError when writing to UFP files
This should result in a user-visible error message rather than a crashing application.

Fixes Sentry issue CURA-28E.
2021-06-07 14:34:26 +02:00
Ghostkeeper
9a65008952
Catch correct exceptions
To catch the exception of duplicate file types, catch only the exception that triggers at this, OPCError. To catch generic file writing errors, catch all of EnvironmentError, not just OSError.
2021-06-07 14:28:33 +02:00
Mark Burton
d2a7a4186a Avoid crash calculating max/min flow rates if there are no visible lines with extrusion. 2021-06-07 07:51:58 +01:00
Mark Burton
f65731e4c2 Reset min/max flow rates in calculateColorSchemeLimits(). 2021-06-06 12:17:19 +01:00
Mark Burton
2f1f370fe0 Remove local variable. 2021-06-06 12:17:03 +01:00
Mark Burton
4973d53057 Rework calculation of min/max flow rates for simulation view colour scheme.
The max value was being calculated as the product of the max line width, max layer thickness
and max feedrate but it should be calculated as the maximum of the products of the width,
thickness and feedrate for each individual line. i.e. calculate the flow for each line
and use the min and max values of the flows.
2021-06-06 09:34:56 +01:00
Ghostkeeper
3dc1dbbbdb
Load profile from ContainerRegistry if the stack refers to it
We encountered a case where the version upgrade changed the quality profile to a new one which was specific to the printer rather than a global profile. As the upgraded stack was being read from the project file, it would go look for the new quality profile in the workspace. That ID wouldn't be present in there, and so it would crash and pretend the project file is plain 3MF.
This change makes it fallback to the built-in profiles, for precisely such cases as when a version upgrade changes the stack.

Contributes to issue CURA-8212.
2021-06-03 17:13:22 +02:00
Ghostkeeper
cc6191a141
Merge branch 'master' of https://github.com/kaleidoscopeit/Cura into kaleidoscopeit-master 2021-06-02 15:24:23 +02:00
Jaime van Kessel
70e4e9640e
Revert "Merge pull request #9716 from Ultimaker/CURA-8010_new_icons"
This reverts commit 6120d8a054b8c04bf90b8b3d3cb219d691bece2f, reversing
changes made to 95652556fef90f70adbf25bfa9bd3b8af7220d4a.
2021-05-27 16:06:20 +02:00
Jaime van Kessel
38ce22ba7c
Revert "Fix typo in icon name"
This reverts commit 12a98388d9fd00cd9e3b85a2ea060d6c8c9a215e.
2021-05-27 16:03:13 +02:00
Jaime van Kessel
6483db3d47
Revert "Merge branch 'CURA-8205_Introduce_new_icons_in_Cura' of github.com:Ultimaker/Cura"
This reverts commit 90eb2bfbdcc66fdbf82b0e1dac6bcf1a536845b0, reversing
changes made to 91c4d8b5f2cf3c18df2f75a0161f727eeae1bf41.
2021-05-27 16:01:17 +02:00
Humsie
21baf90ec8
Add Z Position parameter to FilamentChange (#9658)
* Add Z Position

* PR Comment: Add minimum value for z_position

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-05-21 17:02:53 +02:00
Remco Burema
0e95a4612a
Merge pull request #9856 from Ultimaker/CURA-8232_measure_file_type_usage
Add source file type to anonymous usage statistics
2021-05-21 14:05:30 +02:00
Vandresc
4936ff54d2
Merge pull request #9855 from Ultimaker/CURA-8233_filter_images_from_digital_factory
Filter images from DF open screen
2021-05-21 08:41:51 +02:00
kaleidoscopeit
59a0625046 Deltacomb configs for VersionUpgrade Plugin 2021-05-20 17:44:53 +02:00
Jaime van Kessel
cfb32bfd50
Also notify layercolor changed if the feedrate with extrusion changed
CURA-8196
2021-05-19 16:44:49 +02:00
Jaime van Kessel
de07286900
Change logger severity of log
CURA-8196
2021-05-19 16:38:55 +02:00
Jaime van Kessel
a49627a1f7
Remove unneeded declaration
CURA-8196
2021-05-19 11:10:25 +02:00
Jaime van Kessel
a9970800f6
Don't use travel moves to calculate max flow
CURA-8196
2021-05-19 11:03:29 +02:00
Ghostkeeper
9a7b19f8ac
Only upgrade stacks based on TwoTrees printers
Both extruder stacks and global stacks though.

Contributes to issue CURA-8212.
2021-05-18 17:37:08 +02:00
Ghostkeeper
a00b21a802
Be more robust to broken input files
We've seen from experience that people do end up with broken files, due to user-modifications and whatnot. Corrupting it further won't make things better for the user.

Contributes to issue CURA-8212.
2021-05-18 17:37:08 +02:00
Jaime van Kessel
6f5c3a0c4c
Merge branch 'master' of github.com:Ultimaker/Cura 2021-05-18 16:19:34 +02:00
Jaime van Kessel
5bfb0fc437
Use properties instead of slots for min & max flow
This fixes some update issues in the simulation view display

CURA-8196
2021-05-18 16:18:45 +02:00
Ghostkeeper
0ee9cbd9ee
Merge branch 'CURA-8246_repetier_pause_at_height_fix' 2021-05-18 16:14:37 +02:00
Jaime van Kessel
45f8f3ba3c
Remove some code duplication in DF image filtering
CURA-8233
2021-05-18 15:52:06 +02:00
Ghostkeeper
5d3b442efb
Remove debugging print statement
Don't know how this passed code review. I think I was the one to review it, too.
2021-05-18 13:41:36 +02:00
Remco Burema
4d4427ce79
Extrusion should be retraction.
Should fix #9752 aka internal ticket CURA-8246 -- This makes the repetier case completely analogous to the other 'not-griffin' flavours (at least what concerns retraction amounts), and also neatly dove-tails with the first point things start to go wrong in the bug-report.
2021-05-18 13:21:34 +02:00
Ghostkeeper
9e136eb499
Serialise MIME type name rather than entire MIME type
So we don't get the bracket syntax from its repr, just the MIME type itself.

Contributes to issue CURA-8232.
2021-05-18 11:08:06 +02:00
Ghostkeeper
77b7a29fca
Add source file type to anonymous usage statistics
Contributes to issue CURA-8232.
2021-05-17 17:54:13 +02:00
Jaime van Kessel
3018485077
Remove stray debug code
CURA-8233

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-05-17 15:24:46 +02:00
Jaime van Kessel
2a304ce90a
Filter images from DF open screen
CURA-8233
2021-05-17 14:12:46 +02:00
Jaime van Kessel
90eb2bfbdc
Merge branch 'CURA-8205_Introduce_new_icons_in_Cura' of github.com:Ultimaker/Cura 2021-05-17 13:49:21 +02:00
Jaime van Kessel
91c4d8b5f2
Fix rendering issue in flow view 2021-05-17 10:37:38 +02:00
Jaime van Kessel
dd952c7f63
Merge branch 'master' of https://github.com/khani3s/Cura 2021-05-17 10:33:32 +02:00
Kostas Karmas
7feba68847 Add new icon for block support overlaps
CURA-8205
2021-05-14 09:16:43 +02:00
Kostas Karmas
89d71d5ddd Fix comment
CURA-8212
2021-05-10 17:43:27 +02:00
Kostas Karmas
caaf5ccd14 Add version upgrader from 4.9 to 4.10 for twtrees
Makes sure to upgrade the old twotrees_bluer into the new two_trees_bluer definition.

CURA-8212
2021-05-10 17:40:05 +02:00
Jaime van Kessel
2d396a81c5
Remove unneeded pycapsule imports 2021-05-10 16:53:16 +02:00
Konstantinos Karmas
08e2687c14
Merge pull request #9774 from Ultimaker/CURA-8010-fallback_icon_names
Add system to deprecate icons in the theme
2021-05-10 14:23:05 +02:00
Jelle Spijker
2813ae62b2
Merge pull request #9781 from Ultimaker/CURA-8146_Fix_getting_PyCapsule_error_on_import
CURA-8146: Fix getting PyCapsule error on import
2021-05-10 11:21:55 +02:00
Felipe Navas
62bc71572a Add flow color scheme on preview 2021-05-10 01:04:01 -03:00
Ghostkeeper
34ba341115
Merge branch '4.9' 2021-05-06 16:48:20 +02:00
Ghostkeeper
16c5fdd798
Code style: Spaces around binary operators
Contrbutes to issue CURA-8224.
2021-05-06 16:27:09 +02:00