Commit graph

6967 commits

Author SHA1 Message Date
Ghostkeeper
28f4d8513d
Revert "Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7"
This reverts commit 7f47f12bf0, reversing
changes made to dd42c87da7.
2020-08-20 16:01:46 +02:00
Jelle Spijker
b685da5a24
Merge pull request #8195 from Ultimaker/GetPropertySpeedImprovements
Get property speed improvements
2020-08-19 16:41:26 +02:00
Jaime van Kessel
907caa53f0
Ensure that changing material type results in profile re-evaluation
CURA-7657
2020-08-18 13:54:21 +02:00
Jaime van Kessel
bc67b057ea
Add missing required typing 2020-08-14 15:19:59 +02:00
Jaime van Kessel
eee84a82bf
Use exception instead of check if key is in dict
Since the amount of times that the key is in there is orders of magnitude
larger, it's better to catch the exception when it doesn't (as that is
slightly faster)
2020-08-14 15:15:33 +02:00
Jaime van Kessel
9c904f95ce
Add a cache for settable_per_extruder property 2020-08-14 14:51:46 +02:00
Jaime van Kessel
51737dccd6
Don't create a context when it's not provided
The rest of the functions already assume that None is an empty context
2020-08-14 14:19:19 +02:00
Jaime van Kessel
4c00a8ff2c
Add extra short-circuit for resolve 2020-08-14 13:57:09 +02:00
Jaime van Kessel
9a0264644b
Simplify the _shouldResolve function
This increases the speed of the setting resolvement.
2020-08-14 13:41:20 +02:00
Jaime van Kessel
7f47f12bf0
Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7 2020-08-14 10:01:26 +02:00
Remco Burema
6ad696e69a
Fix non-printing objects in preview. 2020-08-12 17:45:31 +02:00
Jaime van Kessel
dd42c87da7
Merge branch 'CURA-7646_Settings_not_applied_when_creating_new_CFFF_from_project_file' of github.com:Ultimaker/Cura into 4.7 2020-08-12 13:42:14 +02:00
Ghostkeeper
c49056f319
Merge branch '4.7' 2020-08-11 13:30:09 +02:00
Jaime van Kessel
e42369179f
Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7 2020-08-11 11:38:31 +02:00
Ghostkeeper
23ba40e54f
Clarify replacement key in translated text
This is done as a reaction to translators asking what the brackets mean.
2020-08-11 11:28:25 +02:00
Kostas Karmas
61cc8c9a95 Remove reference to JIRA ticket in comments
CURA-7646
2020-08-10 14:58:59 +02:00
Kostas Karmas
2828f45e89 Add optional machine_extruder_count when creating a machine
If the machine_extruder_count is not taken into consideration on machine creation, calling the
extruderList of that machine will return an incomplete list of extruders (since it considers the
default machine_extruder_count). This causes problems in machines with settable number of extruders
where the default machine_extruder_count is 1 while the machine may have more than 1 extruders.

The problem becomes especially visible when opening a project file with e.g. a CFFF with multiple
extruders, because when the machine is created we do not know yet how many extruders the printer
actually has.

CURA-7646
2020-08-10 14:49:41 +02:00
Ghostkeeper
e7d95f6d90
Give an error message when stack fails to build
This way we may venture at a reason why it failed to build.
2020-08-10 11:26:09 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Jaime van Kessel
724498cba7
Reset quality if none was found
CURA-7589
2020-08-06 17:12:14 +02:00
Jaime van Kessel
eb17e146bc
Fix some quality_changes being incorrectly shown for some configurations
CURA-7589
2020-08-06 16:59:30 +02:00
Jaime van Kessel
c9239ed32e
Hide unavailable quality groups in profile preferences
CURA-7589
2020-08-06 16:01:11 +02:00
Jaime van Kessel
f9c6bbb092
Fix strict noneCHeck mypy issue 2020-07-29 12:24:38 +02:00
Jaime van Kessel
fb2f40fba7
Add missing typing 2020-07-29 12:12:54 +02:00
Jaime van Kessel
65377770c4
Remove invalid quality_changes from the container registry
Fixes CURA-3T
2020-07-29 12:03:03 +02:00
Jaime van Kessel
6934e9521f
Make sure that loading an invalid container gets handled correctly
Previously it would still add them, which caused issues.
2020-07-29 11:08:10 +02:00
Jaime van Kessel
56fc5f9706
Create i18Catalog for QualitySettingsModel
CURA-7575
2020-07-28 11:20:23 +02:00
Ghostkeeper
c7b960edfa
Don't send -1 as profile count
The server gives an error about this and we got complaints about it. As far as we know this can only happen when users mess with their profile folders. Still, it's good to not send -1. The original implementation of this is indeed very naive, but we don't have the resources to refactor that now.
2020-07-21 10:42:24 +02:00
Jaime van Kessel
f948b7c4fc
Add bit more logging around MachineNode loading 2020-07-20 16:03:06 +02:00
Jaime van Kessel
4bb9cf29d0
Merge branch 'CURA-6980_tower_brim_disallowed_areas' of github.com:Ultimaker/Cura 2020-07-20 15:08:38 +02:00
Nino van Hooff
8464121001 Fix prime tower adhesion size
CURA-6980
2020-07-16 13:04:06 +02:00
Nino van Hooff
bc51db321f Merge branch 'master' into CURA-6711_support_structure_dropdown 2020-07-15 11:57:34 +02:00
Nino van Hooff
e39f004202 Do not increase diallowed area margin when tower brim is used
CURA-6980
2020-07-13 13:38:20 +02:00
Ghostkeeper
4372099e1d
Don't crash if material preferences are corrupt
This time we don't need to catch permission errors and such since we're reading it from a string that was stored in memory (read when the preferences file was read). However we do need to catch JSON Decoding Errors since the JSON syntax might be broken by the user modifying these files or because the file wasn't saved properly before.

Fixes Sentry issue CURA-112.
2020-07-13 11:45:16 +02:00
Nino van Hooff
649cc4a881 Replace support_tree_enable by a support_structure enum
CURA-6711
2020-07-09 17:17:40 +02:00
Nino van Hooff
816aaafc19 Revert changes for CURA-5479
It was decided that functionality present in existing plugins is
sufficient. No need to replicate it in our own codebase and
take on the burden of maintenance

CURA-5479
2020-07-07 16:11:03 +02:00
Ghostkeeper
3032221b70
Prevent division by 0 if total download size is 0
This can happen if the downloads are all so small that it gets rounded to 0kB.

Fixes Sentry issue CURA-ZM.
2020-07-06 17:23:58 +02:00
Jaime van Kessel
21e28089a8
Merge branch 'CURA-7248_fix_misp_config_detection' of github.com:Ultimaker/Cura 2020-07-02 16:37:53 +02:00
Nino van Hooff
9ffadb369d Fix ExtruderConfigurationModel.__eq__
Fixes an issue where 2 configurations
(empty, empty) and (pla, empty) were considered
equal

CURA-7248
2020-07-02 15:44:22 +02:00
Nino van Hooff
06284b6a73 Implement Review comments
CURA-5479
2020-07-01 16:47:20 +02:00
Nino van Hooff
24820bab07 Fix: incorrect return statement
CURA-5479
2020-07-01 15:00:35 +02:00
Nino van Hooff
c50f7aa455 Add a print job name setting to general preferences
CURA-5479
2020-06-30 17:04:03 +02:00
Jaime van Kessel
440474b1e8
Pass the cached normal transformation to the rendere
CURA-7106
2020-06-30 13:39:32 +02:00
Jaime van Kessel
ccd9a17be4
Remove normals for ConvexHullNode
They are rendered flat, so no need to store the normals

CURA-7106
2020-06-30 13:22:45 +02:00
Jaime van Kessel
22de878e5c
Merge branch 'CURA-7473_account_pending_update_button' of github.com:Ultimaker/Cura 2020-06-29 15:11:42 +02:00
Konstantinos Karmas
c6fd25e7e9
Merge pull request #7971 from Ultimaker/CURA-7106-Speedup-multiple-objects-on-build-plate
CURA-7106 Speedup multiple objects on build plate
2020-06-29 12:36:02 +02:00
Nino van Hooff
979407eddf Additional typing fixes
CURA-7473
2020-06-29 11:10:50 +02:00
Nino van Hooff
8e62a6d6d7
Apply suggestions from code review
Typing suggestions by Jaime

CURA-7473

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2020-06-29 10:35:49 +02:00
Nino van Hooff
294afdb7ca Connect sync timer to sync() for consistency and add unit tests.
Also rename a function to camelCase

CURA-7473
2020-06-26 16:09:33 +02:00
Nino van Hooff
4f1a18f102 Add Install Pending Updates button to Account popup
CURA-7473
2020-06-26 11:37:01 +02:00