1327 Commits

Author SHA1 Message Date
Jaime van Kessel
cfb147853e Merge branch 'master' of github.com:Ultimaker/Cura into libArachne_rebased 2021-09-13 14:57:40 +02:00
luz paz
d68f375e38 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Jaime van Kessel
42948c376f Add extruder to current version for version upgrade script
This should remove the Unable to upgrade file of type extruder of version 2
messages

CURA-8509
2021-08-30 11:16:49 +02:00
Jelle Spijker
4986861727
Merge branch 'master' into libArachne_rebased 2021-08-12 18:50:29 +02:00
Jaime van Kessel
33b1d71183 Add definitions to known current versions
CURA-8468
2021-08-09 17:43:30 +02:00
Jaime van Kessel
57e66a5796 Add campaign links
CURA-8441
2021-08-05 15:42:23 +02:00
Konstantinos Karmas
0e7553e95e Merge branch 'master' into libArachne_rebased 2021-08-03 13:09:17 +02:00
Jelle Spijker
2263969d5f
Updated message with message types
Contributes to CURA-8418
2021-07-28 08:45:42 +02:00
Jaime van Kessel
900db57f0f
Update messages to use the message_types
CURA-8418
2021-07-27 11:54:43 +02:00
Ghostkeeper
88954922d4
Merge branch 'master' into libArachne_rebased
Conflicts:
	resources/texts/change_log.txt -> Adding 4.10 release notes in between 4.9 and Arachne.
2021-06-30 16:46:19 +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
Konstantinos Karmas
633002865c Set enterprise edition on initialization
CURA-8291
2021-06-08 15:12:33 +02:00
Ghostkeeper
8e12d49160
Merge branch 'master' of github.com:Ultimaker/Cura 2021-05-27 15:21:38 +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
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
Ghostkeeper
b3c03b8771
Merge branch 'master' into libArachne_rebased
Conflicts:
	resources/texts/change_log.txt -> 4.9 got added while we added the Arachne change log as well. I put 4.9 below the Arachne info.
2021-04-08 13:49:52 +02:00
jelle Spijker
72478994ec
Bumped up the Preference version to 7
reverted the SettingVersion to 16

CURA-8110_upgrader
2021-04-02 14:41:52 +02:00
jelle Spijker
77ea5e5e89
Allow setting visibilities to be upgraded
CURA-8810_version_upgrade
2021-04-01 16:15:47 +02:00
jelle Spijker
da4db51b0a
Bump setting_version to 17
CURA-8810_version_upgrade
2021-03-31 15:13:06 +02:00
Ghostkeeper
9462366158
Merge branch 'master' into libArachne_rebased 2021-03-30 16:50:56 +02:00
Ghostkeeper
93a3f15b4f
Workaround: Before closing the window, remove the global stack
There's an extensive explanation in the documentation. But truth be told, I don't know why the conversion of global stack to QObject fails after the main window is closed. This may be something in PyQt as it doesn't seem to happen for Nallath who is still on PyQt5.11, but did update Qt to 5.14. So this should be considered a workaround.

This is currently just ONE of the reasons why the application crashes on exit in PyQt5.14+. There is another, much more mysterious issue that is causing the application to segfault on exit, which is still happening. But if it didn't happen it would otherwise still crash on this, so this needs to be solved anyway.

Contributes to issue CURA-7813.
2021-03-22 15:55:37 +01:00
Jaime van Kessel
cc1aadde12
Set & use enabled property for saving projects when ufp/gcode is loaded
CURA-8034
2021-03-05 14:09:39 +01:00
Jelle Spijker
30293fb3b4
Merge remote-tracking branch 'origin/master' into libArachne_rebased 2021-02-15 11:54:31 +01:00
Ghostkeeper
0c9175d7f7
Lower camera default position by 70mm
The previous default position was aimed at 100mm above the build plate. This is taller than most models that people load into Cura. It's now aimed at 30mm. Models up to 50mm are way more common to print, so this brings it right in the butter zone for most people, hopefully.

Fixes #9251.
2021-02-15 11:31:28 +01:00
Ghostkeeper
c781391b9b
Merge branch 'master' into libArachne_rebased
To my surprise, it seems fdmprinter has merged perfectly. Nice.

Conflicts:
	resources/setting_visibility/advanced.cfg -> Settings moved to a different category while we added new settings in the same place.
2021-02-10 11:55:37 +01:00
Kostas Karmas
7be67f43f8 Let the FileNotFound error be handled later in the read file process
An error will pop up by the ReadFileJob if the file cannot be found. If we also handle the File
NotFound error in the checkIsValidProjectFile, then two error message will pop up in the user's
screen, which is not desired. So, let only the ReadFileJob show it's error instead.

CURA-7996
2021-02-08 11:59:32 +01:00
Kostas Karmas
56b3cc5fe5 Don't stop the readLocalFile process if there is no workspace reader
Or else the non-project files, which do not get a workspace reader by definition, won't be opened
in Cura.

CURA-7996
2021-02-08 11:58:12 +01:00
Kostas Karmas
f8a9e7f2d2 Pass the "add to recent" as an input var to dialogs that open projects
This way it is clear before to the dialog whether it should add the file to the recent files list,
before the dialog opens.

CURA-7996
2021-02-08 11:55:28 +01:00
Ghostkeeper
b54f792561
More appropriate error message
Project files can't be a directory.

Contributes to issue CURA-7996.
2021-02-05 15:29:56 +01:00
Kostas Karmas
e2699a5ab8 Display the correct message when opening deleted files from Recent
If a file that existed in the Recent Files list was deleted, Cura was still trying to open the file
on user's request without properly displaying an error if the file was not found.

This is now fixed by popping up a message to indicate that the file doesn't exist.

CURA-7996
2021-02-05 12:10:23 +01:00
Jelle Spijker
55e3b858d6
Merge remote-tracking branch 'origin/master' into libArachne_rebased 2021-02-05 08:48:57 +01:00
Remco Burema
06666bddca
Fix recent files hint when file opens via dialoges. 2021-01-29 14:49:32 +01:00
Remco Burema
9197a1ca51
Fix crash on open project from term or by file.
Opening a .3mf file or other project would cause a crash if the preference for always opening as a project (as opposed to importing models or 'always ask') was set. Traced back to a typo.

CURA-7987
2021-01-23 12:02:57 +01:00
Jaime van Kessel
5d9affc690
Drop objects to buildplate that have been scaled
Otherwise they could be floating very high above the buildplate.

CURA-7855
2021-01-15 15:21:57 +01:00
Kostas Karmas
3282ad7a41 Don't add temporary files in the recent files list if F5 is pressed
CURA-7864
2021-01-11 12:52:23 +01:00
Remco Burema
13d45e3a55
Typing typo.
CURA-7864
2021-01-08 13:51:03 +01:00
Remco Burema
aa0a08500e
Temproray files shouldn't be in recent file list.
CURA-7864
2021-01-08 13:44:23 +01:00
Kostas Karmas
71994eaaf9 Change the Open File(s) option according to the file providers count
When there is only one file provider (i.e. the local file provider), the Open File(s) will be a
simple item in the File menu.
When there are more than one file providers, the Open File(s) will become a submenu in the File
menu, which will contain all the file providers as submenu items.

CURA-7868
2020-12-23 17:13:14 +01:00
Remco Burema
0fdcd208ee
Possible alternate non-numbered versions.
CURA-7932
2020-12-20 21:55:13 +01:00
Ghostkeeper
2fbbd79789
Merge branch 'CURA-7683_VersionUpgrader_for_libArachne_5.0' into libArachne_rebased 2020-12-08 15:33:07 +01:00
Kostas Karmas
5bca31e37a Update setting version to 18 for libArachne release
Although it is not entirely sure yet, we are fairly certain that libArachne release will have
a setting version of 18, so it is changed by this commit. With this change, the VersionUpgrader
will be properly triggered.

Contributes to CURA-7683 and CURA-7656
2020-12-02 15:29:25 +01:00
Jaime van Kessel
68bc75e7a2
Merge branch 'CURA-7501_fix_warning_preloaded_plugins' of github.com:Ultimaker/Cura 2020-11-16 15:24:31 +01:00
Jaime van Kessel
526eb8dacd
Gracefully handle exceptions in arrange
CURA-7785
2020-11-03 09:48:54 +01:00
Jaime van Kessel
d35d6b087a
Reset the entire transformation when merging
This fixes the issue when the packing algorithm rotated an object

CURA-7796
2020-10-27 13:44:33 +01:00
Ghostkeeper
bf36aae0c0
Add ConsoleLogger as pre-loaded plug-in
This way it gets loaded only once on start-up, which prevents errors that the plug-in was already loaded.

Contributes to issue CURA-7501.
2020-10-16 13:09:41 +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
Jaime van Kessel
9312dc5c07
Add deprecated tag to arranger
CURA-7440
2020-10-05 14:15:49 +02:00