Jaime van Kessel
63f9483037
Connect the config changed of the configuration to that of the output model
2019-08-23 17:15:08 +02:00
ChrisTerBeke
882352c99d
Test fixes, not working yet
2019-08-23 17:03:39 +02:00
ChrisTerBeke
36f6dba2fc
Fix not displaying configuration with both extruders empty
2019-08-23 16:23:51 +02:00
Jaime van Kessel
bc4b2a596a
Rename _printer_configuration to _active_printer_configuration
...
CURA-6732
2019-08-22 15:58:12 +02:00
Jaime van Kessel
a1ca705de9
Add documentation
...
CURA-6732
2019-08-22 15:10:17 +02:00
Jaime van Kessel
5cb485d4d3
Only emit uniqueConfigurationsChanged signal if the set changed
...
CURA-6732
2019-08-22 15:07:57 +02:00
Jaime van Kessel
34c3a04744
Added missing tests for peripheral
...
Not part of the ticket, but I'm boyscouting this.
2019-08-22 14:24:19 +02:00
Jaime van Kessel
561a3e53e5
Only add available configuration if it wasn't already in the list
...
CURA-6732
2019-08-22 14:09:39 +02:00
Jaime van Kessel
d1720db5ad
Ensure that the available configurations are also used in the uniqueConfigurations
...
CURA-6372
2019-08-22 14:07:44 +02:00
Jaime van Kessel
d2e9715409
Add availableConfiguration property to the output model
...
CURA-6732
2019-08-22 14:02:29 +02:00
Jaime van Kessel
9ceb9ce18b
Fix typing issues
...
They were caused by upgrading to a higher mypy version, which found more mistakes
2019-07-23 12:58:46 +02:00
Lipu Fei
4b8a216771
Fix typing
2019-07-22 09:34:00 +02:00
Lipu Fei
6a843866a0
Fix code style
...
CURA-6651
2019-07-18 11:57:07 +02:00
Jaime van Kessel
f402235406
Fix shadowed use of builtin type
...
CURA-6651
2019-07-16 10:27:50 +02:00
Ghostkeeper
fed275024a
Add slot to store peripherals
...
You can get the list of names of peripherals this way.
Contributes to issue CURA-6651.
2019-07-15 17:29:30 +02:00
Ghostkeeper
7927169da1
Add peripheral class
...
It has a non-human-readable type for the plug-ins to use and a human-readable name which can be requested with the peripherals() property.
Contributes to issue CURA-6651.
2019-07-15 17:27:23 +02:00
Diego Prado Gesto
c4044e731a
Fix typo in a log warning message
2019-05-16 12:04:26 +02:00
Jaime van Kessel
f48bc7a047
Fixed highlighting matching configuration if a material is empty
2019-04-26 12:00:57 +02:00
Jaime van Kessel
da736cc4be
Add import redirects with deprecation warning so we don't break plugin compatibility
2019-04-25 14:11:42 +02:00
Jaime van Kessel
5b818d203a
Move a bunch of network only functions out of machine manager
...
Machine manager is way to big as is, so we need to move more code out of it to
locations where the code is actually used.
2019-04-05 17:45:19 +02:00
Lipu Fei
8780fce7a7
Move MaterialOutputModel back
2019-03-28 14:26:54 +01:00
Lipu Fei
4a171eebf6
Move models around again
...
- Move machine related models to cura.Machines.Models
- Move printer device related models to cura.PrinterOutput.Models
- Other UI/GUI related modules in cura.UI
2019-03-26 08:29:22 +01:00
Lipu Fei
81fbc525e4
Rename ConfigurationModel to PrinterConfigurationModel
2019-03-20 09:52:35 +01:00
Lipu Fei
e555f7da68
Move ConfigurationModel into cura.UI module
2019-03-20 09:51:06 +01:00
Lipu Fei
69eb381f10
Move MaterialOutputModel into cura.UI module
2019-03-20 09:47:44 +01:00
Lipu Fei
2d78c2d7fc
Move ExtruderOutputModel into cura.UI module
2019-03-20 09:45:26 +01:00
Lipu Fei
49c87a1e1d
Move ExtruderConfigurationModel into cura.UI module
2019-03-20 09:44:15 +01:00
Lipu Fei
6a8db55112
Move PrinterOutputModel into cura.UI module
2019-03-20 09:43:10 +01:00
Lipu Fei
2b39d6422c
Move PrinterOutputDevice into cura.PrinterOutput module
2019-03-20 09:43:09 +01:00
Lipu Fei
e30104ff7f
Move PrintJobOutputModel into cura.UI module
2019-03-20 09:27:23 +01:00
Jaime van Kessel
5f4907da5c
Added tests for NetworkedPrinterOutputDevice
2019-02-22 14:57:22 +01:00
Jaime van Kessel
4acc480544
Also add tests for configurationModel
2019-02-15 15:27:57 +01:00
Jaime van Kessel
369c64e1b6
Add tests for PrintJobOutputModel & PrinterOutputModel
2019-02-15 15:19:19 +01:00
Ghostkeeper
d42ba9dda0
Merge branch '4.0'
...
Conflicts:
resources/quality/ultimaker2_plus/um2p_pp_0.8_draft.inst.cfg -> Weights being changed while a whole slew of fixes were being done on 4.0
resources/quality/ultimaker2_plus/um2p_pp_0.8_verydraft.inst.cfg -> Ditto
2019-02-15 13:58:47 +01:00
Ian Paschal
10f84184f3
Continued clarification on "name"
...
Contributes to CL-1250
2019-02-14 11:57:47 +01:00
Ian Paschal
af565aff55
Clarify if using key or human-readable name
...
This is refering to "glass", not "Glass". According to @lipufei, "name" should denote a human readable/capitalized name.
Contributes to CL-1250
2019-02-14 11:49:43 +01:00
Ghostkeeper
473633de2c
Merge branch '4.0'
2019-02-08 11:28:06 +01:00
Simon Edwards
18786a1e7d
Fix the default content-type for HTTP PUT requests in NetworkedPrinterOutputDevice
...
CL-1237
2019-02-06 12:18:32 +01:00
Ghostkeeper
232498980c
Merge branch '4.0'
...
Conflicts:
cura/GlobalStacksModel.py -> CuraContainerRegistry being used in stead of ContainerRegistry, but imports were reordered.
plugins/CuraDrive/src/DrivePluginExtension.py -> Typing being solved in two ways.
2019-01-28 16:45:45 +01:00
Ghostkeeper
9d8cf5ddde
Apply division by zero prevention to the denominator
...
Rather than the numerator, which could not cause a division by zero exception.
2019-01-28 16:40:45 +01:00
Ghostkeeper
c5eb3b0e25
Allow floating point in bed temperature
...
This is consistent with the hotend temperature. Only we round it just before outputting it to g-code because the g-code doesn't support it.
This fixes a typing error that my IDE gave me.
2019-01-28 13:35:22 +01:00
ChrisTerBeke
f2922e2405
Merge branch '4.0' into STAR-322_cloud-connection
2019-01-14 14:16:35 +01:00
fieldOfView
c6fa47e584
Mark PrinterOutputDevice without printer type as invalid
...
Since self._printer_type was defined as an empty string and the setter only accepts strings, it could never be None
2019-01-11 17:52:28 +01:00
ChrisTerBeke
e465bd771a
Use toolpath instead of mesh, some review fixes
2019-01-11 16:18:47 +01:00
ChrisTerBeke
d8b5f75e2a
Solve some review comments
2019-01-11 16:14:55 +01:00
ChrisTerBeke
b78ac0664f
Fix return types from review
2019-01-11 16:07:08 +01:00
ChrisTerBeke
485b471522
Fix some review comments
2019-01-08 12:19:00 +01:00
ChrisTerBeke
2f92f6ef50
Simplify checking if cloud or network printer, small fixes
2018-12-20 13:45:59 +01:00
ChrisTerBeke
25caf1a087
Fix merge conflicts
2018-12-18 14:44:13 +01:00
Lipu Fei
6bf39a32a9
Rename Enum names to camal cases
...
CURA-6011
2018-12-14 09:56:10 +01:00