105 Commits

Author SHA1 Message Date
Ian Paschal
ac0192f01f Improve fixes 2018-07-09 11:29:25 +02:00
Ian Paschal
cfae634061 Fixes for SliceInfo 2018-07-05 15:54:21 +02:00
Lipu Fei
eb949472e8 Merge remote-tracking branch 'origin/master' into WIP_improve_initialization 2018-05-31 13:47:27 +02:00
Aleksei S
b46a08f566 Add Reft and Right side aligned action buttons to the message box
CURA-4952
2018-05-29 18:15:16 +02:00
Diego Prado Gesto
43657010ba CURA-5164 The Preferences is not a singleton class anymore since in some point
several instances need to be created.

- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.

- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.

- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
Lipu Fei
35e7be1d41 Use pyqtSlot to show more info dialog
CURA-5204
2018-04-17 16:43:41 +02:00
Lipu Fei
40eedbcf70 Add more info dialog
CURA-5204
2018-04-10 15:33:32 +02:00
Lipu Fei
0fbb067508 Clean up code in SliceInfo
CURA-5204

 - Remove some unused imports
 - Do not depend on ExtruderManager
2018-04-10 13:34:59 +02:00
Jaime van Kessel
18551a4a72 Ensure that the "Slice info message disable button" actually disables the sending of info. 2018-04-04 17:39:22 +02:00
Jack Ha
bd775cf32e CURA-4400 fix support_extruder_nr values in overhang angle and SliceInfo 2018-03-19 10:56:40 +01:00
ChrisTerBeke
d1f2d6f45d Fix checking material_used per extruder for analytics - CURA-4858 2018-01-24 14:02:44 +01:00
Jack Ha
bfa33c721c CURA-4525 solved merge conflicts 2018-01-03 13:52:55 +01:00
ChrisTerBeke
b29047abd3 Small fixes for disable user data triggering preferences window 2017-12-22 11:38:56 +01:00
Aleksei S
447c6e7e23 Added Disable link style
CURA-4630
2017-12-21 16:25:13 +01:00
Jack Ha
5152b2ae65 Solved merge conflicts. CURA-4525 2017-12-21 10:52:51 +01:00
alekseisasin
d7146a90f5
Merge branch 'master' into feature_decline_slice_info 2017-12-21 10:24:35 +01:00
ChrisTerBeke
421d93baa3 Fix potential crash on missing index in extruder dict 2017-12-15 16:30:38 +01:00
Ghostkeeper
13c7099e2f
Don't show slice info message if the preference is set to not send it
If the preference was set to not send it but the user never clicked on the message, don't show the message.

Fixes #2840.
2017-12-05 13:30:12 +01:00
Ruben D
0c4db90b7b
Add button to disable sending info directly
Convenient and easy.
2017-11-28 00:20:43 +01:00
Jack Ha
be6561b575 CURA-4525 fixed material info per build plate, bugfix arrange on load 2017-11-15 10:28:34 +01:00
ChrisTerBeke
77cd10374c Always set the active extruder stack when loading project file settings - CURA-4482 2017-10-31 16:00:22 +01:00
ChrisTerBeke
c23c031152 Always use extruder stacks in slice info - CURA-4482 2017-10-31 14:51:31 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Diego Prado Gesto
f139bbe3f1 Fixed some missed references to the previous variables - CURA-4232 2017-09-15 16:05:24 +02:00
alekseisasin
204019702d Added Title for messages
CURA-4203
2017-09-13 13:58:08 +02:00
Lipu Fei
b9397aaa57 Check the content of definition changes container in SliceInfo
CURA-4107

Now we always create a definition changes container for a stack,
checking if the definition changes is empty in SliceInfo doesn't work.
It should check the content too.
2017-08-16 12:50:09 +02:00
Jaime van Kessel
33f843b73a Added name of output device
CURA-4160
2017-08-16 10:52:13 +02:00
Lipu Fei
3a46a337ff In SliceInfo, use the global stack if it is a single-extrusion machine
CURA-4167

Single extrusion machines don't have extruder stacks in the current
architecture.
2017-08-15 14:19:23 +02:00
Ghostkeeper
de8a700bd4
Fix spelling of statistics sending message
Found while working on CURA-3998.
2017-07-18 13:10:16 +02:00
Jaime van Kessel
391533e939 Slice info is now sent by https 2017-07-11 17:09:59 +02:00
Jaime van Kessel
3ee72a5393 Fixed sending wrong setting for bed adhesion
CURA-3858
2017-07-04 10:19:11 +02:00
Jaime van Kessel
1b6152b793 Send print times & extruders as string
CURA-3858
2017-07-04 09:44:09 +02:00
Jaime van Kessel
a1413e8162 Added active mode to sliceinfo
CURA-3858
2017-07-03 13:18:23 +02:00
Jaime van Kessel
d69736ac34 Filter \n from transformation string
CURA-3858
2017-07-03 13:13:42 +02:00
Jaime van Kessel
1682348629 Send data to new server
CURA-3858
2017-07-03 13:10:17 +02:00
Jaime van Kessel
3abde17466 Updated list of settings to be sent.
CURA-3858
2017-07-03 12:57:50 +02:00
Jaime van Kessel
a8492b3a6f Added few more fields (brand & manufacturer) to brand & machine
CURA-3858
2017-06-30 13:33:39 +02:00
Jaime van Kessel
9db00fa9c0 Also send if the user changed the machine definition
CURA-3858
2017-06-30 10:39:22 +02:00
Jaime van Kessel
d38eb7f4e4 Model data is now actually appended to data that's being sent
CURA-3858
2017-06-30 10:35:16 +02:00
Jaime van Kessel
5c9e3c1e4d Extruders are now correctly filled in slicdeInfo
CURA-3858
2017-06-30 10:30:33 +02:00
Jaime van Kessel
c77ff8ea8b Initial set of changed setup for sliceinfo
CURA-3858
2017-06-29 16:54:12 +02:00
Jaime van Kessel
abae2cc28c Moved SliceInfoJob to it's own file
CURA-3858
2017-06-29 14:54:49 +02:00
Jack Ha
bedb41b6d3 SliceInfo now only sends sliceable model hashes (layer data was also sent) 2017-03-02 16:44:40 +01:00
Jack Ha
1029fb4ddd Not to trigger reslice happy anymore, only retrigger if necessary. Also using isSliceable instead of property check when inspecting root node. CURA-3413 CURA-3412 2017-03-02 16:38:31 +01:00
Simon Edwards
1b43e4981e Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.) 2017-01-17 16:57:37 +01:00
Thomas Karl Pietrowski
df63b2d620 Merge remote-tracking branch 'refs/remotes/origin/master-CURA-1445' into master-CURA-1445 2016-09-27 15:40:16 +02:00
Thomas Karl Pietrowski
ca60e517fa Revert "SliceInfo: Defining container_serialized as empty, before trying to serialize"
This reverts commit 1fd169c6697f268588733e7a6d65e80d587b51ab.
2016-09-27 15:39:54 +02:00
Thomas Karl Pietrowski
10d2d7902e Updating the comment about the "settings" keyword
Contributes to CURA-1445
2016-09-24 10:19:26 +02:00
Thomas Karl Pietrowski
db6702fbbc CURA-1445: Sending bundle of serialized data
After an discussion with the developers at YM, we decided to send all data in one keyword.
So now all data is bundled into a JSON dictionary, where "" is the global_container_stack and it's containers go into the same JSON, too, by using their IDs as keywords.
More on JIRA...

Contributes to CURA-1445

Includes/Fixes #1013
2016-09-22 18:24:01 +02:00
Thomas Karl Pietrowski
1fd169c669 SliceInfo: Defining container_serialized as empty, before trying to serialize
While discussing with Jordy about the code I just found a problematic case where sending slice info could fail.
(This shouldn't happen, but..) If the first container is not serializable, then the for-loop will crash because container_serialized is not set for the if clause.
Additionally the if-clause is at the moment useless, because it is always true, because the content of container_serialized gets never resetted.

Contributes to CURA-1445
2016-09-22 11:43:21 +02:00