Jaime van Kessel
801c282c97
Only update ExtrudersModel when material changes
...
CURA-3780
2017-05-10 10:59:21 +02:00
Jaime van Kessel
42fc703516
Added a few profiling decorators to expensive methods
2017-05-10 10:45:07 +02:00
Jaime van Kessel
9a387f9ee2
ReplaceQuality changes only emits signals if there was a change
...
CURA-3780
2017-05-10 10:33:40 +02:00
Jaime van Kessel
3d429e44ae
Updating extruders now also works with timer
...
CURA-3780
2017-05-10 09:59:19 +02:00
Jaime van Kessel
19bc6bb710
All error checks now use the timer instead of re-checking multiple times.
...
This significantly speeds up all setting / container changes for multi extrusion machines
CURA-3780
2017-05-09 14:38:57 +02:00
Jaime van Kessel
6493bcd5b5
Merge branch 'master' of github.com:Ultimaker/Cura
2017-05-09 14:02:09 +02:00
Jaime van Kessel
40c9e45532
Send specific signals for container changes if we know the type
...
CURA-3780
2017-05-09 14:01:37 +02:00
Lipu Fei
5706a540d9
Only set global stack in addMachine() if there was none
2017-05-09 13:57:02 +02:00
Jaime van Kessel
eb677f5625
Merge branch 'feature_cutting_mesh' of github.com:Ultimaker/Cura
2017-05-09 10:20:27 +02:00
Jaime van Kessel
bd25448021
Changes to make um2 upgrade work with new stack changes
...
CURA-3742
2017-05-08 15:03:39 +02:00
Jaime van Kessel
3f9a5fbcbb
Changed logging so it doesn't look like it's printing lists
2017-05-08 14:22:36 +02:00
fieldOfView
3fbdaf6c17
Ignore values of extruders that are inactive for the current machine instance
...
extrudervalues() would include the values of extruders whose position >= machine_extruder_count. This can happen in machine definitions that have more extruders than machine_extruder_count, eg Custom FDM printer.
2017-05-08 13:43:09 +02:00
fieldOfView
98b127851b
Fix setting number of extruders when hasVariants is set
2017-05-08 12:54:12 +02:00
Jack Ha
8680c6d79d
Changed addExtruder exception to a warning to let Custom FDM Printer work again. Removed unused imports. CURA-3757
2017-05-08 11:27:19 +02:00
Jack Ha
1fe142ad1f
Fix crashing Cura when switching multi extruder machine to single extruder machine while object selected. CURA-3776
2017-05-08 10:50:15 +02:00
Lipu Fei
91b22edb06
Fix missing imports in CuraContainerRegistry
...
CURA-3497
2017-05-04 16:19:18 +02:00
Arjen Hiemstra
230740ed64
Fixup extruders that were converted from ContainerStack on load
...
We need to make sure the extruder stacks get the proper next stack set,
even when converting them from ContainerStack. Since the conversion can
make no guarantees about the loading order, we need to add an extra step
to post-process the extruders.
Contributes to CURA-3497
2017-05-04 15:44:16 +02:00
Lipu Fei
f06562bc6e
Remove kitten image and related text from CrashDialog
2017-05-04 14:33:19 +02:00
Ghostkeeper
945486ade9
Merge branch 'cura_containerstack'
...
Contributes to issue CURA-3497.
2017-05-03 17:11:55 +02:00
Ghostkeeper
ea9e0e2e9c
Replace material without needing to find its index
...
We have an easy setter for this.
Contributes to issue CURA-3497.
2017-05-03 17:09:33 +02:00
Ghostkeeper
c42d092b0f
Merge branch 'master' into cura_containerstack
2017-05-03 15:21:01 +02:00
Ghostkeeper
86f1a0559f
Add documentation and further specify except around disconnecting signals
...
Catch just a TypeError instead of all exceptions. Added documentation to say why we catch a TypeError there. Also splitted up the try-except block for the 3 disconnects, just so that if the first fails we still try to disconnect from the other two.
Contributes to issue CURA-3497.
2017-05-03 14:56:52 +02:00
Lipu Fei
155f01356a
Set job name when opening a file from CLI
...
CURA-3711
2017-05-03 13:30:52 +02:00
Arjen Hiemstra
d95488a940
Use the new stack properties so we can properly create quality changes
...
Contributes to CURA-3497
2017-05-03 13:16:57 +02:00
Arjen Hiemstra
aad623fab6
Correct a typo in CuraContainerStack::findDefaultQuality
...
Contributes to CURA-3497
2017-05-03 13:16:19 +02:00
Jaime van Kessel
9a46a24b19
Profile menu now correctly marks active qualties as checked
...
CURA-3497
2017-05-03 13:13:09 +02:00
Jaime van Kessel
d83b4daf78
Switching from quality_changes to quality profile is now possible again
...
CURA-3497
2017-05-03 11:23:59 +02:00
Jaime van Kessel
c8f823154c
Instead of searching for a container with type, we now use the newly introduced properties
...
CURA-3497
2017-05-03 11:10:39 +02:00
Jaime van Kessel
f062322ebf
Switching from dual extrusion to single extrusion machine is now possible again
...
CURA-3497
2017-05-03 10:59:07 +02:00
Jaime van Kessel
ab6240bd31
Replace quality(changes) in machine manager now uses new API as well
...
CURA-3497
2017-05-03 10:38:31 +02:00
Jaime van Kessel
a028297cb2
Machine manager now uses the new specific setters to switch instanceContainers
...
CURA-3497
2017-05-03 10:15:18 +02:00
Jaime van Kessel
8d80f20db7
Added way to dynamicly set loading order
...
This is to ensure that Global stacks are loaded before extruders, so once the extruders are deseralized, they can always find the next (global) stack
CURA-3497
2017-05-03 09:54:00 +02:00
Jack Ha
5d15d6e792
Merge branch 'master' into feature_multiextruder_machinesettings
2017-05-02 17:26:27 +02:00
Jaime van Kessel
58ab9dcd09
Fixed wrong typehinting
2017-05-02 17:00:26 +02:00
Jaime van Kessel
3dae6b4bbf
Fixed machine not being set
2017-05-02 11:58:48 +02:00
Jaime van Kessel
d7004d3547
Merge branch 'master' of github.com:Ultimaker/Cura into cura_containerstack
2017-05-02 11:42:16 +02:00
Jaime van Kessel
4bdbe42dcb
Fixed type hinting issues
...
CURA-3497
2017-05-02 11:21:17 +02:00
Jaime van Kessel
69c3baf87f
Fixed unit test
...
CURA-3497
2017-05-02 11:06:25 +02:00
Ghostkeeper
5b8e1f25b7
Don't add prime tower area if single extrusion
...
Simple papercut fix.
2017-05-01 14:25:08 +02:00
Ghostkeeper
6e5f7ac28a
Merge branch 'feature_support_top_bottom_speed'
...
Contributes to issue CURA-3491.
2017-04-25 16:46:30 +02:00
Jack Ha
ed23e6f5b2
Removed more commented out code. CURA-3497
2017-04-25 08:56:28 +02:00
Jack Ha
163929196d
Removed commented out code. CURA-3497
2017-04-25 08:50:22 +02:00
Jack Ha
c91bc015e4
Removed unused variables. CURA-3497
2017-04-25 08:43:44 +02:00
Arjen Hiemstra
ada614e413
Workaround a tiny display issue with checkable MenuItems
...
If there are no changes to make, we still need to reset the selected
extruders. This is a workaround for checked menu items being deselected
while they actually should still be selected.
Contributes to CURA-3609
2017-04-24 17:11:37 +02:00
Arjen Hiemstra
89310cb41e
Select the group when right clicking an object that is part of a group
...
Instead of selecting the individual object.
Contributes to CURA-3609
2017-04-24 17:10:00 +02:00
Arjen Hiemstra
86d3cbadca
Also search through groups when figuring out the extruders of the selection
...
Contributes to CURA-3609
2017-04-24 17:09:18 +02:00
Arjen Hiemstra
b4c557679c
Change the selected extruder for all child nodes of a group
...
Instead of setting the extruder for the group node, go through all
children and set their extruders instead. Fixes extruder selection on
groups.
Contributes to CURA-3609
2017-04-24 17:08:19 +02:00
Jack Ha
765ddefd7f
Reverse lookup TypeIndexMap is now also a dict. CURA-3497
2017-04-24 16:09:00 +02:00
Jaime van Kessel
01f33d3f28
Merge pull request #1732 from Ultimaker/feature_extruder_contextmenu
...
Add Extruders to Context Menu and Refactor
2017-04-24 14:55:57 +02:00
Arjen Hiemstra
27256cae9e
Revert import change
2017-04-24 13:12:36 +02:00