Thomas Karl Pietrowski
36f4f51804
Adding missing return
...
Without the function would be still progressed of course.
2016-07-26 18:25:54 +02:00
Thomas Karl Pietrowski
8597b5c9be
CURA-1923: SliceInfo: Sending data threaded
...
The idea is to make the sending process, so it won't block the UI until the data is sent or the timeout has reached.
This commit does the following:
* Increasing the timeout to 5s
-> As we are sending our data threaded now this won't hurt. At least for clients in slow networks.
* Moving section for "sending data to info_url" into a seperate thread.
* Starting the thread instead and collecting all threads in a list
* Removing all threads from the list, if they have already finished their work.
* When the SliceInfo Extension gets __del__'d, it will wait for the threads until they finish.
Contributes to CURA-1923
2016-07-25 22:25:26 +02:00
Thomas Karl Pietrowski
93a0637b23
Merge pull request #866 from thopiekar/master-CURA-1445-only
...
CURA-1445: Using getDisplayString(ISO8601) in SliceInfo
2016-07-25 13:42:26 +02:00
Thomas Karl Pietrowski
d9839ee41d
SliceInfo: Using getDisplayString(ISO8601) instead
2016-07-25 13:40:19 +02:00
Jaime van Kessel
7a43164654
Both material weights & lengths are now exposed
...
CURA-1038
2016-07-15 15:49:25 +02:00
Jaime van Kessel
ec0e19e175
Removed material profiles field from sliceinfo
2016-07-13 14:20:41 +02:00
Thomas-Karl Pietrowski
bea67f0536
CURA-1445: Using getDurationInISOFormat in SliceInfo
...
I think this is the way YouMagine expects the data to be sent.
2016-07-11 12:10:03 +02:00
Thomas-Karl Pietrowski
a854554d94
CURA-1831: Adding only the basic workaround for OSX
2016-07-08 16:56:12 +02:00
Jaime van Kessel
57d0ad1bd0
Made exception handling of slice info plugin way more robust
...
CURA-1831
2016-07-06 16:32:24 +02:00
Thomas Karl Pietrowski
25c81ce1f8
Just a little typo
2016-07-05 18:55:13 +02:00
Jaime van Kessel
aba0392728
Saving g-code no longer crashes
2016-07-05 10:46:38 +02:00
Jaime van Kessel
318182495a
We now recieve material estimation per extruder
...
CURA-1687
2016-07-04 17:11:03 +02:00
fieldOfView
3f7f6f8a23
Skip containers that can not be serialized
...
CURA-1445
2016-06-23 14:08:38 +02:00
Thomas Karl Pietrowski
3ea11d3063
SliceInfo: Removing debug code
2016-06-22 14:35:19 +02:00
Thomas Karl Pietrowski
4bc5883ad7
SliceInfo: Check for available data before submitting it
...
The code here is self-explaining again..
2016-06-22 14:30:20 +02:00
Thomas Karl Pietrowski
f1ac2405a7
Merge branch 'master-CURA-1615' of https://github.com/thopiekar/Cura.git into master-CURA-1445
2016-06-22 14:02:41 +02:00
Thomas Karl Pietrowski
1dc29fb984
SliceInfo: Correctly output the print time
2016-06-22 14:02:11 +02:00
Thomas Karl Pietrowski
e78bd92b7f
SliceInfo: Adding all containers as serialized data
2016-06-22 14:01:23 +02:00
Thomas Karl Pietrowski
eb6abdf773
Move f.close() into try:
...
In case urlopen() fails, e.g. because of a missing internet connection,
f will be indefined.
2016-06-18 14:07:14 +02:00
Thomas Karl Pietrowski
8f450d0d2f
Sending serialized global_settings
...
Containers currently don't have a function to return their content as
JSON or dict
2016-06-18 14:05:32 +02:00
Thomas Karl Pietrowski
cbb8eebf72
Correcting and adding different things to SliceInfo
...
* Replace regular print() with Logger.logException()
* Adding log message that reporting is turned off
* Rename variable "settings" to "global_container_stack". Should be less
misleading.
2016-06-17 12:52:14 +02:00
Thomas Karl Pietrowski
9511692638
Replace old MachineManager with GlobalContainerStack
...
Also removing unused variable.
2016-06-17 12:10:34 +02:00
Thomas Karl Pietrowski
29f7c240c4
CURA-1615: Updating SlicingInfoPlugin
...
Just bumped the API version to 3 and added a message that is sent to the
log that data was sent to the given URL.
As slicing is broken here, because of "Arcus Error (5, native 32): Could
not send message size" this also needs testing here.
2016-06-16 20:37:32 +02:00
Thomas-Karl Pietrowski
8197e84927
Using PyDev compatible tag
2016-03-15 12:54:41 +01:00
Thomas-Karl Pietrowski
27da5c56c0
Marking unused variable
2016-03-14 15:43:57 +01:00
fieldOfView
6e11c2409b
Use working profile instead of "active" profile
2016-02-08 09:20:46 +01:00
daid
743b403b29
Whole bunch of um-pep8 style fixes.
2015-11-27 13:50:44 +01:00
Arjen Hiemstra
67086b4d9f
Update translated strings and contexts
2015-09-12 20:08:41 +02:00
Tamara Hogenhout
4a9bf2b4d6
adds/adapts translation context markers
...
all nescessary in folder: Cura/plugins
Contributes to: issue CURA-116
2015-09-08 15:26:49 +02:00
Jaime van Kessel
610792a077
Updated slice info for new API
2015-09-02 14:49:43 +02:00
Jaime van Kessel
f17cc811c4
Added message asking about sending data to server
2015-08-27 13:24:37 +02:00
Jaime van Kessel
97f80914c5
Fixed slice settings sender
2015-08-26 15:09:53 +02:00
Jaime van Kessel
721dd8e2d8
Fixed ported urllib code from old cura
2015-08-26 12:24:17 +02:00
Jaime van Kessel
dafe0c8b0d
Added sliceInfo
2015-08-25 13:34:51 +02:00