7945 Commits

Author SHA1 Message Date
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
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
Jaime van Kessel
b2b10f693d
Rate limit the sending of materials to networked ultimakers
Some ultimakers tend to choke if you try and send a lot of materials in one go.

Previously we would also always send the materials on the main thread, which would also make
the interface freeze a bit. That should no longer happen.

The implementation of this is not really great, but since this is a hotfix i've opted to change
as little as possible.

CURA-8224
2021-05-06 15:43:39 +02:00
Jaime van Kessel
eb3bdfc18a
Merge branch 'layer_view_statistic_limits_only_visible' of github.com:Ultimaker/Cura 2021-05-06 13:10:38 +02:00
Ghostkeeper
dfdc7de400
Merge branch 'CURA-7959_add_unit_tests' 2021-05-05 15:41:51 +02:00
Ghostkeeper
84fc35abc2
Default to using customised configuration rather than firmware
Not all printers support a firmware configuration here. Wouldn't want to ruin some people's old prints by adding unsupported commands in there, nor change the tried-and-true old parameters people already tested with.

Contributes to issue CURA-8219.
2021-05-05 14:52:21 +02:00
Ghostkeeper
bed255ecb9
Simplify if/else statement
This deduplicates some code and makes it generally easier to read.

Contributes to issue CURA-8219.
2021-05-05 14:50:43 +02:00
Ghostkeeper
e1e25d629e
Use more neutral setting and variable names
It may be just Marlin that implements this right now, but that is bound to change.

Contributes to issue CURA-8219.
2021-05-05 14:49:41 +02:00
Ghostkeeper
29e4cf06b3
Merge branch 'master' of https://github.com/Sekisback/Cura into Sekisback-master 2021-05-05 14:44:51 +02:00
Jaime van Kessel
12a98388d9
Fix typo in icon name
CURA-8010
2021-05-05 14:28:04 +02:00
Kostas Karmas
354d96d87a Fix getting PyCapsule error on import
Previously, Arcus, Savitar, and pynest2d were being build with a missing sip flag. This led to Cura
getting `ValueError: PyCapsule_GetPointer called with incorrect name`, if those libraries were not
imported (even if they were unused).

This flag was added in the following commits:

* 83393f989c
* e9e530d963
* bd440b50ad

Since the issue seems to be gone now, the unused imports should be removed from Cura.

All credits go to Rex Dieter for figuring that this missing flag was the issue.
https://src.fedoraproject.org/rpms/libarcus/pull-request/1#request_diff

CURA-8146
2021-05-05 12:20:13 +02:00
Jaime van Kessel
0b1bbd8528
Remove unused variable
CURA-7959
2021-05-05 09:54:45 +02:00
Jaime van Kessel
49cd43e5d5
Rename variable in test
CURA-7959
2021-05-05 09:53:00 +02:00
Jaime van Kessel
5700e44914
Apply suggestions from code review
CURA-7959

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-05-05 09:32:59 +02:00
Jaime van Kessel
aac9ba03ec
Merge branch 'fix_path_minimum_limit' of github.com:Ultimaker/Cura 2021-05-03 15:14:31 +02:00
Kostas Karmas
9b58bf0490
Remove commented out code 2021-05-03 10:49:00 +02:00
Kostas Karmas
1347471fea
Remove unused function 2021-05-03 10:48:54 +02:00
Kostas Karmas
a6d311a0f2
Fix incompatible mypy type 2021-05-03 10:48:47 +02:00
Kostas Karmas
daa0826190
Fix mypy issues with the DigitalLibrary plugin 2021-05-03 10:48:40 +02:00
Konstantinos Karmas
6120d8a054
Merge pull request #9716 from Ultimaker/CURA-8010_new_icons
Cura 8010 new icons
2021-04-28 19:02:47 +02:00
Kostas Karmas
f887db23f6 Use detail_level to describe the icons (instead of size)
Previously the icons were organized according to "size" which could prove to be confusing.
This commit fixes that by organizing them according to "detail_level".

CURA-8010
2021-04-28 18:53:32 +02:00
jelle Spijker
247412b16a
Implemeted new icons in on-boarding dialog
CURA-8010_new_icons
2021-04-28 16:54:26 +02:00
Jim Watson
653dd42e87
Fix for crashes on Mac 10.13 in 2010 era hardware
Not sure I understand why this works - size_x/y are for the end of the line not the start
2021-04-28 16:35:47 +02:00
Ghostkeeper
171d425bf6
Match precision of input to precision of previous stage output
It'd probably get cast, but this is better.

Contributes to issue CURA-8189.
2021-04-28 16:33:24 +02:00
jelle Spijker
2bd6f28f3a
Update Icons
Subdivided the new icons in 3 size categories. As requested by UX
Used the company naming scheme for uniformity and easy recognition.

Known issues:
- Top/Bottom category wasn't taken into account by UX at the time. Since
 this is a recent addition. Both the Walls and Top/Bottom will be updated.
- Cloud/Network connection icons 12px don't render correctly. Due to the
 theme-ing.
- Extruder Icons do not render correctly.

CURA-8010_new_icons
2021-04-26 19:42:17 +02:00
Jaime van Kessel
6dd62f9024
Add tests for DFFileModel
CURA-7959
2021-04-26 14:34:30 +02:00
Jaime van Kessel
29f62b0579
Add some tests for DFProjectModel
CURA-7959
2021-04-26 14:08:10 +02:00
Jaime van Kessel
7979483e48
Seperate the init of jobs and starting
This makes it a lot easier to test them

CURA-7959
2021-04-26 13:47:40 +02:00
Jaime van Kessel
cf8113608f
Add simple test for extracting error title
CURA-7959
2021-04-26 11:38:59 +02:00
Jaime van Kessel
32ec72a28c
Add first stubs for DF
CURA-7959
2021-04-26 10:55:32 +02:00
Jim Watson
396c26ce3d
Fix for crashes on Mac 10.13 in 2010 era hardware
Not sure I understand why this works - size_x/y are for the end of the line not the start
2021-04-24 18:56:08 +01:00
Kostas Karmas
8f46a51ff2 Remove commented out code 2021-04-22 15:16:46 +02:00
Kostas Karmas
c67b4ee3a0 Remove unused function 2021-04-22 15:08:47 +02:00
Kostas Karmas
86bfb3a5aa Fix incompatible mypy type 2021-04-22 15:08:07 +02:00
Kostas Karmas
bc408a5a67 Fix mypy issues with the DigitalLibrary plugin 2021-04-22 15:00:42 +02:00
Jaime van Kessel
b21c9a3b24
Merge branch '4.9' of github.com:Ultimaker/Cura 2021-04-21 09:51:38 +02:00
Kostas Karmas
d972c505d0 Initial commit for the DL 2021-04-20 11:30:49 +02:00
Kostas Karmas
ae595affc3 Merge branch '4.9' 2021-04-19 14:16:29 +02:00
Kostas Karmas
00ade8be3a Fix crashing if the quality_type_to_apply is None
Fixes sentry issue CURA-24D
2021-04-16 16:35:44 +02:00
Kostas Karmas
df5c52d1c6 Fail gracefully if writing the backup to a temp file crashes
Fixes sentry issue CURA-21W
2021-04-16 15:55:06 +02:00
Ghostkeeper
0d29610899
Catch environment errors when restoring back-ups
There could be an environment error when saving that file because of access rights or insufficient disk space. Catch that error and display an error message to the user. The log then contains more information on exactly why it failed, but the user just knows it fails.

Fixes Sentry issue CURA-21W.
2021-04-16 14:14:21 +02:00
Ghostkeeper
acb0c57026
Merge branch '4.9' 2021-04-16 12:05:22 +02:00
Ghostkeeper
544b267447
Merge branch 'CURA-8004_fix_wrong_uploaded_print_job_cache' into 4.9 2021-04-16 12:05:06 +02:00
Ghostkeeper
972e024a43
Add typing for get/setShowTravelMoves
This one was missing. The rest already seems to have typing.
2021-04-15 19:31:57 +02:00
Ghostkeeper
cd551555ef
Merge branch 'master' into layer_view_statistic_limits_only_visible 2021-04-15 19:30:56 +02:00