Commit graph

7628 commits

Author SHA1 Message Date
Konstantinos Karmas
c3782c9468 Check for KeychainDenied Exception only on OSX
CURA-8332
2021-06-21 15:40:18 +02:00
Konstantinos Karmas
951c656096 Import they KeychainDenied exception only on Mac
CURA-8332
2021-06-21 10:55:22 +02:00
Konstantinos Karmas
c1618565ea Don't crash if keyring access is denied on MacOS
CURA-8332
2021-06-21 10:47:53 +02:00
Remco Burema
e7a423ea6f
Merge branch '4.10' 2021-06-17 18:54:07 +02:00
Remco Burema
1bd6b3f091
Merge pull request #9991 from Ultimaker/CURA-8313
Re-enable backing up of plugins
2021-06-17 18:28:37 +02:00
Jaime van Kessel
ee16f61d65
Add missing typing
CURA-8313
2021-06-17 16:21:01 +02:00
Jaime van Kessel
40a981b902
Re-enable the backing up of plugins
Because we're adding a messgae for the user if the loading of a plugin failed
(which can happen after backing up a plugin in central storage), we can re-enable
the backing up of plugins again.

CURA-8313
2021-06-17 15:36:45 +02:00
Ghostkeeper
cf7e1af99d
Don't create disallowed areas for areas without any points
It seems people edit definitions to remove all vertices. This causes Cura to crash because of the calculation of disallowed areas.

Fixes Sentry issue CURA-2FY.
2021-06-17 14:56:49 +02:00
Ghostkeeper
fcd585963f
Check if there is a global stack when discard/keep dialog closes
When we close Cura, we now remove the global stack first. If the discard/keep dialog closes as a result of closing Cura, this would crash since there is no global stack any more to discard changes from or keep changes in, and we can't access the extruder stacks either.
So if there's no global stack, just skip this. It'll be as if you selected 'keep'.

Fixes Sentry issue CURA-2ET.
2021-06-17 13:44:02 +02:00
Ghostkeeper
611208368c
Merge branch 'master' into libArachne_rebased
Conflicts:
	cura/CuraApplication.py: Setting version
	fdmprinter and fdmextruder: Setting version
	intents, qualities and variants: Setting version
	Changelog: 4.9.1 was added, should be below Arachne changes
2021-06-16 18:04:54 +02:00
Jaime van Kessel
fa690a0f5e
Fix issue with restoring backups from 4.10
There were some cases where issues could occur due to plugins no longer being there

CURA-8313
2021-06-16 13:51:09 +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
Jaime van Kessel
88f6bb743c
Merge branch '4.10' of github.com:Ultimaker/Cura into 4.10 2021-06-15 11:12:41 +02:00
Jaime van Kessel
467ae6a1d3
Fix quality_changes profile not showing
CURA-7392
2021-06-15 11:12:18 +02:00
Ghostkeeper
ac859fd4c2
Merge branch 'CURA-7859_fix_center_selected_model' into 4.10 2021-06-14 15:47:08 +02:00
Ghostkeeper
cf604570bb
Fix code style
Contributes to issue CURA-7859.
2021-06-14 15:41:30 +02:00
Jaime van Kessel
392c4cfec1
Fix extruder profiles not being shown in profile preferences
CURA-7392

Fixes #7530
2021-06-10 16:55:22 +02:00
Jaime van Kessel
8caae610ba
Set object bottom to be on buildplate with center model action
CURA-7859
2021-06-10 16:18:42 +02:00
Ghostkeeper
62bc9be22b
Re-enable compression
I had disabled that in an attempt to fix the bytes-to-str conversion issue, but it turned out to not be the cause. Compression is fine.

Contributes to issue CURA-8055.
2021-06-09 17:14:46 +02:00
Ghostkeeper
e9031f1aff
Add documentation
Contributes to issue CURA-8055.
2021-06-09 17:10:31 +02:00
Ghostkeeper
66b2825a66
Fix writing bytes to string-stream
Don't open the file first. We can let the zipfile module handle that.

Contributes to issue CURA-8055.
2021-06-09 17:08:57 +02:00
Ghostkeeper
bdcaef134f
Basic implementation of exporting all materials in a .zip archive
It seems to complain about the data types though.

Contributes to issue CURA-8055.
2021-06-09 16:35:51 +02:00
Ghostkeeper
e66783664b
Implement default path for exporting all materials
It needs to be a removable drive if one is available, or else just the local file paths.

Contributes to issue CURA-8055.
2021-06-08 17:36:25 +02:00
Ghostkeeper
f436cb8e7b
Add notion of whether printers support the material export archive
Contributes to issue CURA-8055.
2021-06-08 16:50:03 +02:00
Remco Burema
c73e25195d
Merge pull request #9948 from Ultimaker/CURA-8291_Verbose_plugin_loading_on_startup
CURA-8291: Set enterprise edition on initialization
2021-06-08 15:55:54 +02:00
Konstantinos Karmas
633002865c Set enterprise edition on initialization
CURA-8291
2021-06-08 15:12:33 +02:00
Remco Burema
58a5323709
Merge pull request #9884 from Ultimaker/CURA-7873_fix_positioning_merged_meshes
Fix positioning of merged transformed meshes
2021-06-08 12:37:34 +02:00
Ghostkeeper
e60e44b919
Interpret timeouts as general connection errors
It's a similar problem for us.
We should really have used the HttpRequestManager for these things.

Fixes Sentry issue CURA-295.
2021-06-07 15:03:46 +02:00
Ghostkeeper
2464f64129
Round layer height for display in quality menu
Otherwise it can become very long if it is calculated.

Fixes one of the issues found in #9887.
2021-06-04 14:03:59 +02:00
Ghostkeeper
2f8f98fcca
Add a log entry for importing, duplicating or removing a material
We encountered an issue yesterday that we had to find in a log file when a user was importing a material. Nothing is shown in the log when importing a material, so it was impossible to find.
Now we'll log this action. It is a direct user action, so info is a good log level.
2021-06-04 02:51:13 +02:00
Remco Burema
4fc43c2b32
Compare version-objects, not strings.
This would've gone so wrong if we actually released 4.10 without this, since, as a string, 4.10 is 'smaller than' 4.6 (for example), because alphanumerical-order.

done as part of CURA-8269
2021-06-03 09:25:59 +02:00
Jaime van Kessel
cb2a7e1daa
Remove plugins that weren't restored in the backup from the installed list
CURA-8269
2021-06-01 14:37:12 +02:00
Jaime van Kessel
2d572eef7f
No longer include plugins in the backup
Backups are synced with your account anyway. Backing up the plugins means that you
quickly reach the limit of the max size (250mb) that the backups allow.

CURA-8269
2021-06-01 13:34:07 +02:00
Ghostkeeper
8e12d49160
Merge branch 'master' of github.com:Ultimaker/Cura 2021-05-27 15:21:38 +02:00
Jaime van Kessel
6ec61a6a11
Merge branch 'fix_authdata_infinite_loop' of https://github.com/fieldOfView/Cura 2021-05-25 16:01:25 +02:00
fieldOfView
be06108f36 Fix an crash when starting Cura without a network connection 2021-05-24 18:43:05 +02:00
Ghostkeeper
7eba38b286
Check if child bounding box is None before checking if it's degenerate.
Contributes to issue CURA-7873.
2021-05-21 13:53:55 +02:00
Ghostkeeper
48d1715c2d
Also remove other transformations when getting the center position
The other transformations, in particular rotation, were also influencing the merge. The transformations were not removed when calculating the center position, causing the center position of a mesh to be calculating differently. When the meshes were actually transformed/moved, all of the transformations were removed but this gave the model a different center position. The different center position wasn't properly being compensated for using the previously calculated center position.

Fixes CURA-7873.
2021-05-21 13:45:51 +02:00
Ghostkeeper
6eeb135672
Fix calculating AABBs if group nodes are involved
The position of the group node should in theory never be included.
We'll return that position only if there is no mesh data and all children have no AABB either. In that case we'll return a degenerate AABB so that handling code has something to work with. But then also make sure that those degenerate AABBs are ignored if we want to get the AABB of a parent node.

Contributes to issue CURA-7873.
2021-05-21 13:30:53 +02:00
Ghostkeeper
d4fa1cee45
Fix copying MIME type if scene nodes are copied
We're not doing this in the nicest way possible...

Contributes to issue CURA-8232.
2021-05-18 11:07:02 +02:00
Kostas Karmas
2645dc880e Update setting version to 17 for 4.10
CURA-8212
2021-05-10 17:39:33 +02:00
Jaime van Kessel
cabf821736
Print how much time it took to autosave dirty profiles
This should provide some more info for #9594
2021-05-06 10:54:38 +02:00
Ghostkeeper
08976dcc7e
Merge branch '4.9'
Conflicts:
	resources/themes/cura-light/styles.qml -> Fixes for QML warnings in this theme file, while on Master the icons were renamed.
2021-05-04 11:58:50 +02:00
Jaime van Kessel
c800c2850c
Decrease update interval to 60 sec
It's the same as what the rest uses and it should decrease the load on our servers a lot
2021-04-30 10:51:15 +02:00
Jaime van Kessel
95652556fe
Merge branch 'fix_group_rename' of https://github.com/fieldOfView/Cura 2021-04-28 17:07:33 +02:00
Jelle Spijker
7632f66d23
Merge branch 'master' into libArachne_rebased
# Conflicts:
#	resources/texts/change_log.txt
2021-04-24 14:12:33 +02:00
Ghostkeeper
83767764db
Slightly increase spacing when arranging models
This is closer to the behaviour in Cura 4.7 and earlier. It makes it easier to pull objects apart, and to break them off from a raft.
2021-04-21 15:56:59 +02:00
fieldOfView
0ad49dd412 Allow renaming groups to something other than "Group #n" 2021-04-19 22:14:14 +02:00
Kostas Karmas
7e98fb7fb0 Fix crashing while restoring a backup file with the wrong encoding
Fixes sentry issue CURA-24R
2021-04-19 14:24:42 +02:00
Remco Burema
f22e223d72
Merge branch 'master' into libArachne_rebased 2021-04-16 18:17:04 +02:00