Diego Prado Gesto
ff6bc9de4e
Fix some more code-style
2018-07-03 13:09:05 +02:00
Ian Paschal
8f7370db6c
Merge remote-tracking branch 'origin/master' into feature_send_material_profiles
2018-07-02 12:37:56 +02:00
Ghostkeeper
e717abf499
Fix typing related to Network Printing
...
Contributes to issue CURA-5330.
2018-06-15 16:53:45 +02:00
Ghostkeeper
01a645e726
Use only CuraApplication
...
It was complaining that getMachineManager doesn't exist, because that is in CuraApplication instead of UM.Application. I removed all references to UM.Application so that the imports are a bit simpler.
Contributes to issue CURA-5330.
2018-06-15 10:28:07 +02:00
Diego Prado Gesto
7eba868574
CURA-5330 Fix typing and code style in the UM3NetworkPrinting plugin
2018-06-14 15:41:12 +02:00
Diego Prado Gesto
803d945fb6
CURA-5330 Add assertions when the networkmanager is not None after creating it.
2018-06-13 13:35:17 +02:00
Diego Prado Gesto
6e364f0895
CURA-5330 Fix typing and code-style in the ContainerNode and all the
...
related children, and QualityGroup and its children.
Also fix the related calls in the managers.
2018-06-13 10:55:57 +02:00
Diego Prado Gesto
f860b9c99e
CURA-5330 Fix typing in GenericOutputController
2018-06-13 09:07:34 +02:00
Ghostkeeper
b2cd0ffc0f
Make createFormParts public
...
Because the postFormWithParts function is public and it needs these parts that can (or should) only be created with this function.
Contributes to issue CURA-5034.
2018-06-12 15:44:22 +02:00
Diego Prado Gesto
8c2ba64f32
CURA-5330 Add typing to NetworkedPrinterOutputDevice
2018-06-08 16:47:52 +02:00
Diego Prado Gesto
51462b20c3
CURA-5330 Add typing to PrinterOutputModel constructor
2018-06-08 15:56:20 +02:00
Diego Prado Gesto
1982c9b84c
CURA-5330 Change TYPE_CHECKING flag
2018-06-08 15:54:28 +02:00
Diego Prado Gesto
fcdb1aef52
CURA-5330 Add typing in ExtruderOutputModel
2018-06-08 15:53:33 +02:00
Diego Prado Gesto
ace7e89ea0
CURA-5330 Add typing to PrintJobOutputModel
2018-06-08 15:48:47 +02:00
Diego Prado Gesto
e5e96bc600
Merge branch 'master' into mypy_fixes
...
Contributes to CURA-5330
2018-06-08 15:29:22 +02:00
Ghostkeeper
3b510af8f5
Add default 'None' for onFinished
...
I don't always need to know whether it was successful.
Contributes to issue CURA-5034.
2018-06-08 14:31:19 +02:00
Lipu Fei
3b46816632
Also check btemporary value
...
CURA-5449
2018-06-07 11:29:21 +02:00
Diego Prado Gesto
1019f2dd65
CURA-5449 Do not check if the name is the correct group name if the
...
output device is manual create device and it is marked as temporary.
Wait until all the information is retrieved when the request finishes.
2018-06-06 14:54:26 +02:00
Ghostkeeper
b3f73594bf
Fix types of on_finished callback
...
It only has a QNetworkReply argument.
Contributes to issue CURA-5330.
2018-06-01 14:53:13 +02:00
Ghostkeeper
8ed3bd29cb
Don't return any boolean in _update
...
Nothing listens to that return value, and its parent classes say that this must return None.
Contributes to issue CURA-5330.
2018-06-01 14:53:13 +02:00
Ghostkeeper
a55cf0678e
Add missing function types
...
The class is typed now. There's some bugs though.
Contributes to issue CURA-5330.
2018-06-01 14:53:12 +02:00
Ghostkeeper
4aec316b48
Prevent homing twice on printers that don't support X/Y specialisation
...
If the X Y is ignored and it just executes G28, it still executes it only once now.
2018-04-25 13:29:07 +02:00
Ian Paschal
54c32c52f6
CURA-5221 Added S5 ID code
2018-04-23 11:22:11 +02:00
Lipu Fei
340916179a
Small typo fixes for preheat timeout
...
CURA-5227
2018-04-18 12:00:50 +02:00
fieldOfView
bc84c1f6e6
Prevent preheat timeout from occurring during a print
2018-04-04 13:47:40 +02:00
Ghostkeeper
f15eb4be2d
Merge branch 'feature_custom_gcode_commands'
2018-03-20 13:44:23 +01:00
Ghostkeeper
c1f9b455bb
Remove unnecessary import
...
This import is not used.
Contributes to issue CURA-5097.
2018-03-19 11:22:55 +01:00
ChrisTerBeke
d4d9a58d04
Fix merge conflicts, add can_send_raw_gcode ability, rename to sendRawCommand, small fixes
2018-03-15 16:51:25 +01:00
ChrisTerBeke
5ee30e0c99
Merge branch 'master' into feature_custom_gcode_commands
2018-03-15 16:40:42 +01:00
alekseisasin
67261ccd4b
Merge pull request #3144 from fieldOfView/feature_preheat_extruder
...
Feature preheat extruder
2018-03-15 16:38:18 +01:00
Diego Prado Gesto
dcb68bb33e
CURA-4870 Move the checkCorrectGroupName to the machine manager, where
...
it must belong to.
2018-03-15 15:13:35 +01:00
Diego Prado Gesto
cbe929242e
CURA-4870 Update the names of the groups in the container stacks when
...
there is temporary name after upgrading from 3.2
2018-03-15 14:44:01 +01:00
fieldOfView
584f98cb07
Fix code style
2018-03-15 11:27:48 +01:00
fieldOfView
dbabf3bda9
Merge branch 'master' into feature_preheat_extruder
...
# Conflicts:
# cura/PrinterOutput/ExtruderOutputModel.py
# cura/PrinterOutput/PrinterOutputModel.py
2018-03-15 11:21:37 +01:00
Lipu Fei
4cc2d882d3
Fix merge conflicts
...
CURA-4879
2018-03-14 10:53:10 +01:00
Ian Paschal
4a16d04dd7
CURA-5053 Changed printer type checking
...
"Still hard coded but at least doesn't use `elif` because `elif`/`else if` should not exist in any programming language." - Grumpy Pedants & Ian >:[
2018-03-14 10:50:54 +01:00
Ian Paschal
4478989332
Merge pull request #3463 from Ultimaker/feature_sync_button
...
[Feature] Sync Button
2018-03-13 16:52:39 +01:00
Aleksei S
e2cbfa8cec
Fix: Retrieve printer type during creating outputDevice
...
CURA-5053
2018-03-13 16:37:09 +01:00
Diego Prado Gesto
180139090a
CURA-4870 Reuse the filter in findContainerStacks to find specific
...
printers.
Allow to show configurations with empty material or variant.
2018-03-13 15:54:00 +01:00
Diego Prado Gesto
dfb903fb81
CURA-4870 Wait until the configuration has all the mandatory data before
...
add it to the list of unique configurations.
Remove some connections to signals and reuse already defined listeners.
2018-03-13 13:14:29 +01:00
Diego Prado Gesto
b3f9679a5f
CURA-4870 Style the __str__ function
2018-03-13 09:43:44 +01:00
Diego Prado Gesto
54882402ad
CURA-4870 Change the name of the signal to be more related with the
...
context.
2018-03-13 09:41:26 +01:00
Diego Prado Gesto
39a7f5a53d
CURA-4870 Update the configuration also when the type or the buildplate
...
changed signal is emitted.
2018-03-12 16:37:35 +01:00
Diego Prado Gesto
97740123fa
CURA-4870 Add information about the buildplate in the printer output
...
model so it can be used to show the buildplate name in the configuration
list.
2018-03-07 13:57:13 +01:00
Diego Prado Gesto
f625fa8a90
CURA-4870 Add function to set the configuration from the printer back to
...
Cura.
Change the hash function to compare by GUID instead of type.
Show the material name instead of type in the list.
2018-03-06 16:08:50 +01:00
Diego Prado Gesto
13e18c9d54
Merge branch 'master' into feature_sync_button
2018-03-06 10:24:11 +01:00
Ghostkeeper
3e8f29d380
Allow floating point values for moving print head
...
The X, Y, Z coordinates and speed don't necessarily have to be full millimetres or millimetres per minute.
Fixes #3271 .
2018-03-06 09:37:47 +01:00
Diego Prado Gesto
d02d845d1b
CURA-4870 Update the selected configuration in the UI when the
...
configuration in the printer changes.
Modify again the hash function.
2018-03-06 09:24:42 +01:00
Diego Prado Gesto
d83eb383d9
CURA-4870 Fix an error in the hash function that detects a matching when
...
the extruders are inverted.
Add pretty output to the configuration model.
2018-03-06 08:44:43 +01:00
Diego Prado Gesto
51686943e6
CURA-4870 Create an extruder configuration model to store the extruder configuration.
...
Connect the signals coming from the printer to correctly update the UI
2018-03-05 17:15:09 +01:00