24784 Commits

Author SHA1 Message Date
Ghostkeeper
bcb30caf98
Show error message when print job queue is full on the printer
Implements issue CURA-7760.
2020-10-13 17:32:47 +02:00
Ghostkeeper
0e14eef47d
Allow for a callback when the HttpRequestManager doesn't catch the error
There are really two types of errors that the HttpRequestManager can throw: Errors that it understands and errors that it doesn't understand. We must now intercept an error that it doesn't understand.

Contributes to issue CURA-7760.
2020-10-13 17:31:53 +02:00
Kostas Karmas
ceda3e70bd Include organization id and type of enterprise plan in slice data
CURA-7717
2020-10-13 16:30:29 +02:00
Remco Burema
534b8f74a9
Merge pull request #8503 from Ultimaker/CURA-7440-pynest2d_for_arrange
Swap out arrange for PyNest2d
2020-10-13 11:54:00 +02:00
Kostas Karmas
a0e4e4325d Add missing documentation
CURA-7440
2020-10-12 17:57:00 +02:00
Ghostkeeper
602e09e8af
Fix printer name in setting
This really isn't used anywhere in the final g-code but all right then.

Contributes to issue CURA-7767.
2020-10-12 17:15:25 +02:00
Ghostkeeper
98f92e0f2e
Change tabs into 4 spaces
This is our code style for these files.

Contributes to issue CURA-7767.
2020-10-12 17:14:29 +02:00
Ghostkeeper
62129f9066
Merge branch 'master' of https://github.com/FoxExe/Cura-Anycubic-Kossel-support into FoxExe-master 2020-10-12 17:05:35 +02:00
jelle Spijker
d78ddd6c17
Created Print job upload Queue Full Message
This message is shown to the user in Cura when the digital
factory returns a 409, because the queue is full

CURA-7760 sending multiple printjobs notifications
2020-10-12 16:55:57 +02:00
Kostas Karmas
972e2f6716 Fix crash when arranging objects in one-at-a-time mode
Crashing was occuring because node.getPoints() can return None.

CURA-7440
2020-10-12 16:28:28 +02:00
Jaime van Kessel
3ad5219f5d
Simplify the printer state display
CURA-7745
2020-10-12 11:06:49 +02:00
Ghostkeeper
f1c34ca386
I wrote this script, not Thopiekar 2020-10-12 11:01:39 +02:00
Remco Burema
9f929298d7
Merge pull request #8510 from Ultimaker/CURA-7754_add_disallowed_areas
Mark disallowed areas as disallowed areas
2020-10-09 19:27:26 +02:00
Kostas Karmas
7e77910d10 Make the code of the locked_nodes more readable
CURA-7440
2020-10-09 18:17:10 +02:00
Kostas Karmas
a94ebc6261 Don't arrange locked objects when arrangeAll is called
CURA-7440
2020-10-09 18:09:40 +02:00
Kostas Karmas
d47623d58a Remove duplicate addition of items in the node_items list
CURA-7440
2020-10-09 17:19:53 +02:00
Kostas Karmas
f9bd5e3dcd Modify arrange() to optionally create AddSceneNodeOperations
Then the MultiplyObjectsJob can use the arrange function instead of duplicating the code

CURA-7440
2020-10-09 17:12:59 +02:00
Kostas Karmas
518003f027 Remove unused variables
CURA-7440
2020-10-09 16:03:31 +02:00
Kostas Karmas
eedbcb6a2d Fix z position of objects that end outside the buildplate
When multiplying objects or inserting objects in the scene that do not fit in the buildplate, those
objects would correctly end up outside the buildplate, but their Z position would be aligned at the
absolute Z=0 of the buildplate.

This commit fixes that by compensating in the z-axis, properly moving the object outside the
buildplate in the correct z-position so that it's bottom is aligned with the original object.

CURA-7440
2020-10-09 15:59:50 +02:00
Jaime van Kessel
0493fb24df
Add extra human readable strings to asserts 2020-10-09 15:08:27 +02:00
Jaime van Kessel
8f4dd3cb12
Made the asserts of the profile tests a bit more explicit
This makes it easier to read the test outcome, since it gives
much better hints what can / needs to be done to fix it.
2020-10-09 14:02:47 +02:00
Jaime van Kessel
bfef61ad81
Use fastConfigParser for the versionUpToDate test
This makes the test a fair bit faster!
2020-10-09 13:58:26 +02:00
Jaime van Kessel
f31490125c
Add test to check if profile ID's are unique
CURA-7763
2020-10-09 13:53:58 +02:00
Kostas Karmas
0922f03ca5 Merge branch 'CURA-7440-pynest2d_for_arrange' of https://github.com/Ultimaker/Cura into CURA-7440-pynest2d_for_arrange 2020-10-09 13:52:07 +02:00
Remco Burema
d3ec1d7d28
Cache wasn't valid due to a reference being stored, not a copy.
paer of CURA-7440
2020-10-09 13:39:53 +02:00
Jaime van Kessel
77290451e1
Remove a bunch of unneeded properties from the labels
CURA-7745
2020-10-08 18:00:53 +02:00
Jaime van Kessel
ec5796400b
Remove hardcoded narrow_margins
CURA-7745
2020-10-08 17:55:11 +02:00
Jaime van Kessel
3e67d20890
Remove monitor_text_primary
It's so close to the text one that it really doesn't make sense to keep it.
Boyscouting the code a bit here

CURA-7745
2020-10-08 17:31:19 +02:00
Jaime van Kessel
910d8ec472
Fix reference error
CURA-7745
2020-10-08 17:22:24 +02:00
Jaime van Kessel
99f42c179f
Remove hardcoded value for num extruders
CURA-7745
2020-10-08 17:18:24 +02:00
Kostas Karmas
8678682d94 Reformat file and remove unused import
CURA-7440
2020-10-08 16:27:36 +02:00
Ghostkeeper
6bfa24686f
Mark disallowed areas as disallowed areas
Also improve the filtering a bit so that it's no longer dependent on the order. Doesn't really matter in this case but it should be more robust.

Contributes to issue CURA-7754.
2020-10-08 11:10:24 +02:00
Jaime van Kessel
a46bf8d6fa
Apply suggestions from code review
CURA-7440

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2020-10-08 09:43:22 +02:00
Remco Burema
24f95a9cab
Fix confusing nozzle-node 'ghost' in simulation-view.
part of a 30-min fix
2020-10-07 16:22:22 +02:00
Jip-Hop
3a16750b5a
Update creality_cr10max.def.json
We need the same fix as in https://github.com/Ultimaker/Cura/pull/7526 for the CR-10 Max as well.
2020-10-07 16:10:22 +02:00
Kostas Karmas
f25bfd717e Recalculate the number of user settings after setting the quality group
So that the dialog ensures actually knows that there are no changed settings and will not show up.

CURA-7728
2020-10-06 09:55:11 +02:00
Ghostkeeper
55f0c10f94
Upgrade usage of support_tree_enabled
This setting no longer exists.

Contributes to issue CURA-7752.
2020-10-05 17:59:57 +02:00
Ghostkeeper
87eca6f46a
Raise error if there is a syntax error in stored post-processing scripts
Instead of just crashing the entire application.

Fixes Sentry issue CURA-19W.
2020-10-05 17:59:25 +02:00
Jaime van Kessel
d801f9838a
Fix mypy issues
It doesn't seem to like blanket imports

CURA-7440
2020-10-05 14:52:50 +02:00
Jaime van Kessel
59b9639d87
Don't let arranger place all objects on the same spot if they don't fit
CURA-7440
2020-10-05 14:31:42 +02:00
Jaime van Kessel
a14135be5e
Add some documentation to the arrange nest algorithm
CURA-7440
2020-10-05 14:24:34 +02:00
Jaime van Kessel
9312dc5c07
Add deprecated tag to arranger
CURA-7440
2020-10-05 14:15:49 +02:00
Jaime van Kessel
a1f43e7bcf
Also use the new arranger when multiplying objects 2020-10-05 14:09:50 +02:00
Ghostkeeper
9b5005fc90
Fix Biqu definition files
There were a number of problems with it:
* There were duplicate JSON keys. One of the duplicates gets ignored then according to the JSON implementation in Python.
* There were some 'value' properties that contained undefined variables since the setting type was a string and the value is a string containing a Python expression that should result in a string, not a plain string.
* There was one instance in which a 'default_value' property contained a formula.

Contributes to issue CURA-7752.
2020-10-05 13:47:24 +02:00
Jaime van Kessel
5823140b21
Always add multiplied nodes to the root.
No idea why it was using the parent of the current node. It's
technically the same, but this is much more explicit

CURA-7440
2020-10-05 13:45:24 +02:00
Ghostkeeper
a73cd96e1a
Rename Biqu quality profiles to have unique IDs
These IDs were the same as the Creality profiles. As a result, only one profile could load into Cura of the two duplicates. In this case it chose Biqu's profile, and the Creality profiles wouldn't load as a result.

Contributes to issue CURA-7752.
2020-10-05 13:39:31 +02:00
Jaime van Kessel
30966beed2
Let autoplacement also take the existing nodes into account
CURA-7440
2020-10-05 13:37:57 +02:00
Jaime van Kessel
a34f1a6504
Arrange newly placed models
CURA-7440
2020-10-05 13:14:21 +02:00
Jaime van Kessel
2d084c9e2b
Remove the old arrange from mesh placement on load
For some reaso it was also handling the move up to the buildplate (which it
really shouldn't do)

CURA-7440
2020-10-05 13:08:28 +02:00
Ghostkeeper
abe2a56a03
Merge branch 'hotfix/simplify-baud-job-plugin' of https://github.com/aerotog/Cura into aerotog-hotfix/simplify-baud-job-plugin 2020-10-05 13:02:13 +02:00