26148 Commits

Author SHA1 Message Date
Konstantinos Karmas
74a611d577 Change maximum network printers item count
So that it does not make the Local printers button overlap with the add/cancel buttons when the network printers list is full.
2021-07-21 11:49:34 +02:00
Remco Burema
86d104afe7
DL: Allow 1 char filenames (not counting extension).
CURA-8395
2021-07-20 18:01:44 +02:00
Remco Burema
d099bc8290
Merge branch 'master' of https://github.com/Ultimaker/Cura 2021-07-20 17:58:45 +02:00
Remco Burema
71937bf828
DL: Align with online backend on allowed characters.
CURA-8395
2021-07-20 17:58:29 +02:00
Konstantinos Karmas
25649a0699
Merge pull request #10155 from Ultimaker/also_search_on_description_in_visibility
Also search on description when using search in visibility page
2021-07-20 15:52:55 +02:00
Ghostkeeper
109fce5211
Theoretical fix for MacOS not moving Preferences option any more
Perhaps this ampersand was messing with it.

Contributes to issue CURA-8245.
2021-07-20 15:22:44 +02:00
NilsRo
d536dd12a0
Changed "Deviation" for Anycubic Mega S and X to better support hardware (#10093)
* Update anycubic_i3_mega_s.def.json

Adapted Deviation to ATMega2560 of Anycubic Mega S

* Update resources/definitions/anycubic_i3_mega_s.def.json

Good points. Thanks!

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-07-20 09:11:32 +02:00
NilsRo
3527a14f04
Update resources/definitions/anycubic_i3_mega_s.def.json
Good points. Thanks!

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-07-20 08:04:51 +02:00
Ghostkeeper
e591f3db5b
Don't translate certain keywords in the application menu on MacOS
There's a suspicion that this is causing a crash on exit. From the traceback it seems like it's attempting to find a certain property on a deleted item. I'm thinking it might be trying to update properties on an item that was already deleted by the system here because the item got moved to a system-specific menu. Qt doesn't realise that. By not translating that property, it's not necessary to update and hopefully this prevents the need to look up data on the deleted item.
Not translating it is not an issue anyway, since the menu will also be renamed by Qt to some system-specific name, which is then also translated to the user's system-language by MacOS itself.

It's not at all sure if this will fix it. Tests are necessary.

Contributes to issue CURA-8245.
2021-07-19 17:34:44 +02:00
Luke Harrison
918d1f188b
Biqu bx definition (#10086)
* Added prelim support for the BX

* Revert "Added prelim support for the BX"

This reverts commit 923fbdbbb617d000663f04d08d468ed0c560517c.

* Added prelim support for the BX

* Revert "Added prelim support for the BX"

This reverts commit 923fbdbbb617d000663f04d08d468ed0c560517c.

* Added BIQU BX printer def

* Updated the platform name.

* Minor update to the start code. Ready for merge.
2021-07-19 15:57:30 +02:00
Jaime van Kessel
7ace875279
Also search on description when using search in visibility page 2021-07-19 15:47:38 +02:00
Konstantinos Karmas
5bd9970a82 Change default_value to value 2021-07-16 13:44:14 +02:00
Thushan Fernando
c60295c69e
Adds FLSun Super Racer Profile (#10078)
* Initial FLSun Super Racer profile setup.

* flip has_machine_quality to false as suggested by @konskarm.

* tabs vs spaces! Space is the final frontier!

* Enumeration value should be in inner single quotes as requested by @konskarm.
2021-07-16 13:43:22 +02:00
Remco Burema
f9557295fa
Allow non-ASCII characters for DL project names.
CURA-8395
2021-07-16 12:39:41 +02:00
Ghostkeeper
c2f2304512
Move Kossel Pro platform mesh a bit lower to prevent Z-fighting
As reported in #8296.
2021-07-16 10:48:24 +02:00
Ghostkeeper
503293fbeb
Revert "Also show error message if connection got reset without error code"
This reverts commit 40fe8b577d004d1357235e931ee7344b013d96ad.
2021-07-16 10:15:40 +02:00
Ghostkeeper
cc82ff97a7
Merge branch 'CURA-8112_Inform_the_user_about_their_subscription_limits' 2021-07-16 10:04:43 +02:00
Ghostkeeper
65a2cd30fe
Corrections to the paths to log files
These have been wrong for years, I reckon...
2021-07-16 09:48:40 +02:00
Ghostkeeper
6f6d8d0f93
Override all settings that might influence infill mesh shells to 0
If the user had specialised settings fixing the number of walls or skin layers to an integer number, this fixed value would get copied over from the extruder settings, causing infill meshes to have walls by default.
This is unintuitive. We want infill meshes to behave like it's only infill by default. So remove all of those overrides so that only infill gets printed there, by default.

The user may still change the number of walls or skin layers or their parent settings. But by default it should now behave like infill within infill, regardless of the user's setting overrides.

Fixes issue CURA-8393 and fixes #9815.
2021-07-15 18:46:20 +02:00
Ghostkeeper
5503c57631
Reduce margins around troubleshooting link
This makes the link space out better on some screens, where the space is limited.

Contributes to issue CURA-8392.
2021-07-15 18:24:25 +02:00
Ghostkeeper
40fe8b577d
Also show error message if connection got reset without error code
When working with --external-backend, the engine just stops responding, and the operating system cleans up its socket connection. From Cura's front-end we then just see the socket reset. So we should interpret a reset socket to mean that the slicing process was halted.
When not working with an external backend, a crash would always give a response code and we can base it on that instead (as previously implemented).

Contributes to issue CURA-6568.
2021-07-15 17:01:07 +02:00
Ghostkeeper
623b59d0e8
Set self to be in an error state if backend crashed
Contributes to issue CURA-6568.
2021-07-15 16:52:35 +02:00
Ghostkeeper
e127f7e4b6
Move construction of slicing error message to constructor
This way we could re-use it in other places.

Contributes to issue CURA-6568.
2021-07-15 16:45:50 +02:00
Konstantinos Karmas
82c189327d Change link of "Upgrade plan" button
CURA-8112
2021-07-15 16:36:49 +02:00
PurpleHullPeas
983d1fc8a2
Removing mp_mini_delta_v2 default bed temperature. 2021-07-15 08:21:08 -05:00
PurpleHullPeas
e9e9795bcc
MP Mini Delta V2 temperature settings and version. 2021-07-15 08:16:46 -05:00
PurpleHullPeas
b20a183922
Adding MP Mini Delta V2 def
Utilizing information shared from MP Mini Delta V2 owners in order to make this definition work.
2021-07-15 07:48:02 -05:00
PurpleHullPeas
3f1052f756
Minor MP Mini Delta V1 Def updates
Adding comment distinguishing the printer as the V1 versus the V2. Removing "+5" initial layer temperatures. Setting line width equal to nozzle size.
2021-07-15 07:47:00 -05:00
PurpleHullPeas
d675386358
Adding MP Mini Delta V2 Extruder 2021-07-15 07:44:24 -05:00
Konstantinos Karmas
26a17e0603
Code-style improvement
CURA-8112

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-07-15 10:02:57 +02:00
Ghostkeeper
26487c5b31
Stop slicing if an error occurred
If the user has auto-slicing enabled, this causes the indeterminate progress bar to appear.
If the user doesn't have auto-slicing enabled, this causes the slice button to reappear.

Both of these indicate that something has caused slicing to be interrupted. The message should make clear why.

Contributes to issue CURA-6568.
2021-07-14 17:05:45 +02:00
Ghostkeeper
399b378ba6
Show message when slicing failed with nonzero exit code
The slicing engine should never crash. If it does though, it's best to show something to the user. Otherwise the slicing process just halts and the user will wait a long time for it to never finish.

Contributes to issue CURA-6568.
2021-07-14 17:05:44 +02:00
Jaime van Kessel
e9ecba1374
Remove bindingloop in project selector 2021-07-14 16:03:06 +02:00
Konstantinos Karmas
11d86b98ef Merge branch 'master' into CURA-8112_Inform_the_user_about_their_subscription_limits 2021-07-14 15:52:27 +02:00
Ghostkeeper
610582bab7
Merge branch 'CURA-8009_search_digital_library_projects' 2021-07-14 15:40:54 +02:00
Konstantinos Karmas
fd322c0512 Fix having no "load more projects" available when using the search
When the `_onGetProjectsFirstPageFinished` is reached, the pagination manager already contains the correct pagination metadata and links, so calling `clear()` there resets them giving the impression that there is no next page.

This commit fixed that by calling the `clear()` function should when the search filter is applied, instead.

CURA-8009
2021-07-14 15:32:57 +02:00
Ghostkeeper
c305f8b36a
Merge branch 'master' of https://github.com/v-xup6/Cura into v-xup6-master 2021-07-14 15:09:49 +02:00
Konstantinos Karmas
016371d771 Add the external link icon to the Upgrade plan button
CURA-8112
2021-07-14 14:34:00 +02:00
Konstantinos Karmas
7027a8f904 Fix mypy complaint again
Mypy doesn't recognize that the check for `None` has happened before calling the `callbackWrap` (before the get request has been made).

CURA-8112
2021-07-14 13:08:51 +02:00
Konstantinos Karmas
300176cdc6 Check for the maximum **private** projects
When checking whether the user is allowed to create a new library project, we need to retrieve the **private** (aka non-shared) projects that are linked to the user's account. If the user has reached the maximum private projects, then they are no longer allowed to create new ones.

**Note**: We need to set the `pagination_manager` to `None` when doing this get request, or else the next/previous links of the pagination will become mixed up with the pagination links of the list of projects shown to the user, corrupting them and creating the wrong "get more projects" link.

CURA-8112
2021-07-14 13:03:03 +02:00
Konstantinos Karmas
3dbbe7276b Remove check for account subscriptions
Since the variable `self._user_has_access` already contains the information on whether the user can access the Digital Library.

CURA-8112
2021-07-14 12:55:28 +02:00
Konstantinos Karmas
11f66b2a78 Add brackets
CURA-8112
2021-07-14 12:54:31 +02:00
Jaime van Kessel
b642ebeaf2
Merge branch 'master' of https://github.com/lorenzoromagnoli/Cura 2021-07-14 10:43:24 +02:00
Konstantinos Karmas
2961d20c04 Fix mypy complaint
CURA-8112
2021-07-13 17:38:15 +02:00
Konstantinos Karmas
f643f19af6 Fix tooltip not shown when the tooltip text is too long
When the tooltip text is too long and the tooltip width ends up being longer than the window it is supposed to be drawn into, the tooltip is not drawn at all. This commit fixed that by allowing the tooltip width of the ActionButton to be changed within QML, limiting it to a certain size that fits the purpose.

CURA-8112
2021-07-13 17:30:30 +02:00
Konstantinos Karmas
2d45b8c2cd Show an "Upgrade plan" button to users that have reached maximum projects
Instead of letting users go through the project creation process only to get rejected with a "subscription limits reached" message, now the "New Library project" button is being replaced with an "Upgrade plan" button when the maximum allowed projects have been reached for the specific amount. The button is accompanied by a tooltip that explains the situation to the user. Once clicked, the user is redirected to the subscriptions page.

CURA-8112
2021-07-13 17:28:38 +02:00
Jaime van Kessel
888f62a9ea
Add missing typing
CURA-8009
2021-07-13 16:55:28 +02:00
Konstantinos Karmas
9ddb3b7713 Fix icon being ignored in message action buttons
CURA-8112
2021-07-13 16:53:02 +02:00
Konstantinos Karmas
9d8286d90c Set the correct initial value in the feature budget attributes
They were defined as `Optional[int]` but started with the default value as `False`.

CURA-8112
2021-07-13 16:52:36 +02:00
Victor Lin
52b022c575
Delete atomPlus_extruder_0.def.json
Prototype machine
2021-07-13 22:42:12 +08:00