65 Commits

Author SHA1 Message Date
Ghostkeeper
107d12856d
Remove fill colours from this icon
Otherwise the theme won't have any effect on it since 5.0.

Done as a 5 minute fix.
2022-07-13 17:35:19 +02:00
fieldOfView
b622738ae3 Fix missing icons since move to PyQt6 2022-04-22 22:33:14 +02:00
Remco Burema
0232b4f639 Upgrade SDK version to 8.0.0 for Cura 5.0 2022-04-20 10:57:38 +02:00
Jelle Spijker
02a2d9c012
Update plugins/ModelChecker/ModelChecker.qml
Looks like a left over

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2022-04-14 14:49:35 +02:00
c.lamboo
4f70d34631 wip qt changes 2022-03-30 16:55:56 +02:00
Jelle Spijker
3f8907d02a
Merge branch 'master' into CURA-8640_PyQt6
# Conflicts:
#	cura/CuraApplication.py
#	resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
#	resources/qml/Preferences/Materials/MaterialsView.qml
2022-03-24 11:53:44 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Jaime van Kessel
8195b9be28 Remove more references to old controls 2021-11-10 17:30:42 +01:00
Jaime van Kessel
900db57f0f
Update messages to use the message_types
CURA-8418
2021-07-27 11:54:43 +02:00
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +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
Ghostkeeper
08be77adad
Increment SDK version to 7.5.0
The Cura 4.9 release will have expanded functionality. If you have a plug-in that uses this functionality, marking it as using SDK 7.5.0 will notify older Cura releases that they can't use that plug-in.
2021-04-06 13:28:08 +02:00
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +02:00
Ghostkeeper
bd074bf753
Fix check of model checker to take new unit of shrinkage factor into account
It's now based around 100%, so this should be adjusted.

Contributes to issue CURA-7118.
2020-09-02 01:02:12 +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
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
553b09b6cf Convert doxygen to rst for GcodeWriter, LegacyProfileReader,
MachineSettingsAction, ModelChecker
2020-05-08 16:20:55 +02:00
Ghostkeeper
bf3d6c67d9
Check the bounding box before using it
Some objects don't have a bounding box if they are improperly constructed by a plug-in.

Fixes Sentry issue CURA-N3.
2020-04-29 14:07:03 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
Jaime van Kessel
68d70734ee
Skip nodes in modelchecker without active extruder
Fixes CURA-5S
2020-02-28 13:56:16 +01:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Jaime van Kessel
0ff9d72c4c
Remove use of deprecated extruders property 2019-09-13 17:27:16 +02:00
Jaime van Kessel
198ea3c74f Ensure the model checker doesn't update a gazillion times on multiply
CURA-6237
2019-02-21 21:09:49 +01:00
Jaime van Kessel
22b70e1a34 Ignore sceneChange signals if the camera triggered them in some places
These places weren't interested in all changes. They can probably be more
strict, but the camera is a really safe bet (and already greatly decreases
the number of updates, especially when just moving the camera)
2019-02-19 17:06:48 +01:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Diego Prado Gesto
b0c3a4e17a Align the additional components to the right of the job specs
The model checker now shows centered
2018-12-06 09:25:31 +01:00
Ghostkeeper
4d87c46423
Remove sourceSize.width: width from all RecolorImages
It is now the default in Uranium.

Contributes to issue CURA-5876.
2018-12-04 15:04:51 +01:00
Ghostkeeper
1bcd134f85
Fix code style
Most stuff here was recently changed. Some of it was where I found a pattern in something that was likely copy-pasted from somewhere else, so I did a global search and replace on that.

Contributes to issue CURA-5784.
2018-10-18 14:30:33 +02:00
fieldOfView
9ac744b9ba Remove unnecessary import and declaration of i18n in plugins 2018-10-03 22:00:24 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
Mark
6a7812a18f Textual fix for Marketing 2018-05-28 15:27:22 +02:00
Lipu Fei
fca14eeef3 Fix optional arguments in MA _onChanged 2018-04-24 13:56:09 +02:00
Lipu Fei
4d7bf579e6 Do not keep triggering on changed in MA 2018-04-24 13:49:07 +02:00
Lipu Fei
c381f3707b Schedule model check for later if a machine change has not done yet
CURA-5239
2018-04-16 17:33:14 +02:00
Lipu Fei
e5d795cc0b Update model checker text
CURA-5237
2018-04-16 17:21:12 +02:00
Lipu Fei
4bb6962302 Rename model checker property to hasWarnings
CURA-5237
2018-04-16 17:20:40 +02:00
Diego Prado Gesto
04c21f3f30 CURA-4557 Minor changes in the message. 2018-03-26 11:52:39 +02:00
Ghostkeeper
2fad098f0b
Adjust description of button
You now no longer click to check if there's something wrong.

Contributes to issue CURA-4557.
2018-03-22 09:11:47 +01:00
Ruben D
58205fb965
Make _getMaterialShrinkage protected
No need to expose this.

Contributes to issue CURA-4557.
2018-03-22 01:59:49 +01:00
Ruben D
5d51b75f4d
Remove unnecessary _has_warnings
We just always show the message because the button can only be pressed while there are warnings.

Contributes to issue CURA-4557.
2018-03-22 01:56:12 +01:00
Ruben D
8e6ee41124
Let shrinkage check set its own message
Another attempt to keep the shrinkage check contained to functions related to shrinkage more.

Contributes to issue CURA-4557.
2018-03-22 01:43:06 +01:00
Ruben D
329a0b121d
Move shrinkage parameters into shrinkage function
So that they are closer to where they are relevant if we're going to have more checks in this class.

Contributes to issue CURA-4557.
2018-03-22 01:38:34 +01:00
Ruben D
25e7cb457d
No need to create view again upon showing warnings
It is now already done when initialization is completed.

Contributes to issue CURA-4557.
2018-03-22 01:35:35 +01:00
Ruben D
15ad528aa5
Remove happy message
Since the button can only get shown when there is something wrong, the happy message can never be shown any more.

Contributes to issue CURA-4557.
2018-03-22 01:34:04 +01:00
Ruben D
5bf93a8398
Only display plug-in checker when there's really a warning
As discussed with LukeChen-Ultimaker, we only want to display a button when there is really something up with the current set-up, not when there might be something up. Most users will be confused to see a button that always says that everything is fine.

This also simplifies the signal handling a lot.

Contributes to issue CURA-4557.
2018-03-22 01:31:35 +01:00
Ruben D
987b475e3b
Remove unused parameter
Contributes to issue CURA-4557.
2018-03-22 00:48:23 +01:00
Ruben D
f5c1e59166
Call checkObjectsForShrinkage directly from runChecks
I'd like to transition to a state where you can read in runChecks all the checks that are being run. The former function checkAllSliceableNodes is now a helper function to list sliceable nodes.

Contributes to issue CURA-4557.
2018-03-22 00:46:29 +01:00