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
900db57f0f
Update messages to use the message_types
...
CURA-8418
2021-07-27 11:54:43 +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
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
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
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
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
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
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
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
Jack Ha
e958516913
CURA-4557 add checking on material change as well
2018-03-19 16:50:35 +01:00
Jack Ha
ef7139d3b2
CURA-4557 First version of model checker
2018-03-19 16:17:24 +01:00
Jack Ha
50f9548da0
CURA-4557 setting up plugin
2018-03-15 14:33:31 +01:00