53 Commits

Author SHA1 Message Date
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
Ruben D
7ec7136a3a
Remove debug code
Contributes to issue CURA-4557.
2018-03-22 00:39:07 +01:00
Ruben D
2db208cc75
Remove unused code
The IDs, group, and xlink and such are not used at all.

Contributes to issue CURA-4557.
2018-03-22 00:38:39 +01:00
Ruben D
f91abf042f
Add documentation for globals
And maybe they should not be globals.

Contributes to issue CURA-4557.
2018-03-22 00:35:55 +01:00
Ruben D
55b247abbd
Hide outdated message if checking again
And if the result is different.

Contributes to issue CURA-4557.
2018-03-22 00:32:46 +01:00
Ruben D
37edce5976
Reuse message instances
Slightly more performant. And now if you click on the button again you won't get a spammy new message each time.

Contributes to issue CURA-4557.
2018-03-22 00:28:00 +01:00
Ruben D
ab7f10ea52
Make model checker warning easier to translate
It's often more clear to have a variable name in there so that the translator knows what'll be filled in for the variable.

Contributes to issue CURA-4557.
2018-03-22 00:20:10 +01:00
Ruben D
c7ba9f9e37
Improve wording of warning for too large models
A bit simpler English here.

Contributes to issue CURA-4557.
2018-03-22 00:18:12 +01:00
Ruben D
6646d898c2
Remove debug code
This code was put in to allow debugging before the branches are merged. We should just assume that the two branches get merged at the same time.

Contributes to issue CURA-4557.
2018-03-22 00:14:58 +01:00
Jack Ha
d8d226c0d6 CURA-4557 it's now a small button next to the job spec when one of the warping materials is selected 2018-03-21 16:55:58 +01:00
Jack Ha
25bf7a6aba CURA-4557 added icon 2018-03-21 13:11:42 +01:00
Jack Ha
9ea59c1976 CURA-4557 rename ratio percentage to percentage 2018-03-20 17:07:03 +01:00
Jack Ha
1aba1cfe6a CURA-4557 model checker is now a tool, click to activate 2018-03-20 16:30:11 +01:00