Commit graph

3273 commits

Author SHA1 Message Date
fieldOfView
f083d41353 Update extrudermodel when material is changed
So the swatch updates, and we can use the materialname for extruder selection later on

CURA-333
2016-06-22 09:55:20 +02:00
fieldOfView
d0626f8c8a Add hypothetical multiextrusion printer to test 2016-06-22 09:55:19 +02:00
fieldOfView
825fcc2020 Fix filtering of variants and materials by definition instead of by machine
CURA-333
2016-06-22 09:55:18 +02:00
fieldOfView
ee7cfe273e Fix check for has_variants & has_materials
These are defined as bool values instead of strings in UM2+ definitions, so I would expect other machine definitions (including jedi) also use bools.

CURA-333
2016-06-22 09:55:18 +02:00
fieldOfView
bd703e65af Fix variant vs nozzle
CURA-333
2016-06-22 09:55:17 +02:00
fieldOfView
8a206b74fd Use new-style signalemitter decorator instead of SingalEmitter subclass
CURA-1615
2016-06-21 16:24:07 +02:00
Ghostkeeper
63edd6f74d
Improve default raft settings
Results from materials testing.
2016-06-21 12:57:33 +02:00
Ghostkeeper
f139e91f88
Remove minimum and maximum of _extruder_nr settings
This way the validation won't get an error any more. There is no validation. It's an enum anyway.

Contributes to issue CURA-1716.
2016-06-20 12:00:56 +02:00
Tim Kuipers
db3d568c76 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-06-17 16:31:22 +02:00
Tim Kuipers
2e9ee9f668 JSON lil fix: default didn't coicide with default inherited state 2016-06-17 11:36:50 +02:00
fieldOfView
68a737129e Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-06-16 15:09:07 +02:00
fieldOfView
0893e4b2cc Revert "Fix variant vs nozzle"
This reverts commit cb05f75f6a.
2016-06-16 15:08:45 +02:00
fieldOfView
666b1a0263 Revert "Fix check for has_variants & has_materials"
This reverts commit 7f093be75a.
2016-06-16 15:08:20 +02:00
fieldOfView
a5424fa207 Revert "Fix filtering of variants and materials by definition instead of by machine"
This reverts commit 623b8f276e.
2016-06-16 15:08:05 +02:00
Ghostkeeper
60d6cc07fb
Add Mendel90 by Bo Herrmannsen
Provided via https://github.com/Ultimaker/Cura/issues/808
2016-06-16 13:17:41 +02:00
fieldOfView
f2819cb9b0 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-06-16 12:47:23 +02:00
fieldOfView
623b8f276e Fix filtering of variants and materials by definition instead of by machine
CURA-333
2016-06-16 12:47:08 +02:00
Ghostkeeper
e308c69c54 Merge pull request #804 from thopiekar/master-eclipse-markers
Adding a marker for a correctly unresolved import on Linux and OSX
2016-06-16 11:07:27 +02:00
fieldOfView
7f093be75a Fix check for has_variants & has_materials
These are defined as bool values instead of strings in UM2+ definitions, so I would expect other machine definitions (including jedi) also use bools.

CURA-333
2016-06-16 10:41:50 +02:00
fieldOfView
631ab9c0a1 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-06-16 10:14:49 +02:00
fieldOfView
cb05f75f6a Fix variant vs nozzle
CURA-333
2016-06-16 10:14:17 +02:00
Simon Edwards
98f9b4f9a0 Minor codestyle/naming fix.
Contributes to CURA-1667 Profile import/export
2016-06-16 09:15:34 +02:00
Aldo Hoeben
3d53bc38b7 Merge pull request #803 from thopiekar/master-CURA-1615
[CURA-1615] Updating firmware manager for API 3
2016-06-15 17:49:20 +02:00
Thomas Karl Pietrowski
7ef64cd05b Return an empty string just to be sure 2016-06-15 17:43:28 +02:00
Thomas Karl Pietrowski
6b41608db2 Correcting the last comment.. 2016-06-15 17:33:52 +02:00
Thomas Karl Pietrowski
51222325b0 Last cleanup
Removing useless comments and replacing the log message with something
more simple.
2016-06-15 17:29:49 +02:00
Simon Edwards
d74cecd9db Set the ID of the profile object during import; ensure it is unique.
Contributes to CURA-1667 Profile import/export
2016-06-15 16:27:40 +02:00
Thomas Karl Pietrowski
38eec41162 Merge pull request #805 from thopiekar/master-using-platform
Differencing between Platform from UM.* and UM.Scene.*
2016-06-15 16:04:32 +02:00
Thomas Karl Pietrowski
6a89062b0a Differencing between Platform from UM.* and UM.Scene.* 2016-06-15 16:03:18 +02:00
Thomas Karl Pietrowski
77961e83c2 Adding a marker for a correctly unresolved import on Linux and OSX 2016-06-15 15:05:36 +02:00
Thomas Karl Pietrowski
3c4d09464d Merge pull request #790 from thopiekar/master-using-platform
[master] Using UM.Platform for OS detection
2016-06-15 15:00:21 +02:00
Thomas Karl Pietrowski
536e0f489a Merge branch 'master' of https://github.com/Ultimaker/Cura into master-using-platform 2016-06-15 14:59:34 +02:00
Thomas Karl Pietrowski
2e7db9b732 Adding check whether getGlobalContainerStack() returns None or not.
If we get None here, the firmware-updater will be closed and detailed
error returned to the logs with an explanation why.
2016-06-15 14:38:23 +02:00
Ghostkeeper
7c2c24b8a5
Remove unused function
Contributes to issue CURA-340.
2016-06-15 14:38:19 +02:00
Ghostkeeper
cb467f488b
Don't convert ids to lowercase
Eventually we might have to do this due to case-insensitivity of some file systems, but this is not the place for that anyway.

Contributes to issue CURA-340.
2016-06-15 14:36:58 +02:00
Jaime van Kessel
8b5800c1ee Merge branch 'master' of github.com:Ultimaker/Cura 2016-06-15 14:14:19 +02:00
Jaime van Kessel
12faf23af8 Added a way to check if a printer is connected
CURA-1036
2016-06-15 14:13:54 +02:00
Ghostkeeper
8617f10a46 Merge branch 'materials_test' 2016-06-15 13:58:18 +02:00
Ghostkeeper
85422ae6a5
Make extruder_nr a string value
It's an enum after all, and the front-end doesn't work well with enums that are ints. The code for the back-end should remain the same.

Contributes to issue CURA-1716.
2016-06-15 13:52:57 +02:00
Simon Edwards
92569d63e9 Call the method correctly through the instance.
Contributes to CURA-1667 Profile import/export
2016-06-15 13:40:41 +02:00
Simon Edwards
70b2311c59 Use the file name to create the profile name during import. Also moved the createUniqueName() method up into CuraContainerRegistry.
Contributes to CURA-1667 Profile import/export
2016-06-15 12:51:47 +02:00
Thomas Karl Pietrowski
a7fc3258a7 Only use Application.[...].getGlobalContainerStack() to get all values 2016-06-15 11:16:13 +02:00
fieldOfView
89f64eb870 Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-06-15 11:13:48 +02:00
fieldOfView
2460b37c99 Fix check for self._global_container_stack for consistency
CURA-340
2016-06-15 11:13:31 +02:00
Thomas Karl Pietrowski
5128ea41c4 Getting "machine_heated_bed" (hopefully) correctly + little fix 2016-06-15 10:57:58 +02:00
Thomas Karl Pietrowski
253bb5f43c Removing hasHeatedBed from MachineManagerModel again.. 2016-06-15 10:56:01 +02:00
Jaime van Kessel
7176c98d8a Fixed stupid mistake with getting active extruder stack
CURA-1689
2016-06-15 10:21:06 +02:00
Thomas Karl Pietrowski
9e6f5a4a68 CURA-1615 - Updating for API 3
This updates the firmware updater to use the new MachineManagerModel

Additionally renamed "machine_type" to "machine_id", which makes it more
selfexplaining, when reading the code.

My printers firmware is not available here and has no heated bed, so
please test this commit!
2016-06-15 10:04:47 +02:00
Jaime van Kessel
6a1f4cbabb Merge branch 'master' of github.com:Ultimaker/Cura 2016-06-15 09:50:26 +02:00
Jaime van Kessel
f0340c6d63 Rework based on review
CURA-1689
2016-06-15 09:50:05 +02:00