Commit graph

3071 commits

Author SHA1 Message Date
Ian Paschal
1f403f815d CURA-4972 Moved validation to SettingOverrideDecorator.py
**The diagnosis:**
The issue arrises from the fact that while the original object is subscribed to be validated, that subscription is only created by setting it as a settings override object. A clone of that object, while still a settings-override object, never gets subscribed because it's not explicitly set with the tool.

**The solution (?):**
I moved all the validation stuff over to SettingOverrideDecorator.py, and use its onSettingChanged() function to trigger the validation. Unfortunately, I can't use the timer because of some limitation with QTTimer and threads. So it's _a bit laggy in some places, and I'd be open to tips about how to fix this. It does work reliably though.
2018-03-02 17:05:58 +01:00
Lipu Fei
ab4cfa5fbb Use userChanges instead of getContainer(0)
CURA-4916
2018-02-28 12:49:41 +01:00
Aleksei S
e533c4604c Update infill scroll bar if setting is changed in custom mode
CURA-4916
2018-02-28 10:52:46 +01:00
Ghostkeeper
c47045a42e
Revert "CuraApplication/UM.MeshBuilder: Removing _reloadMeshFinished"
This reverts commit 269b52487e. It was crashing Cura when pressing F5.
The completion of this job should not be moved to Uranium because the job exists only in Cura.

Contributes to issue CURA-4912.
2018-02-27 11:47:17 +01:00
Ian Paschal
f98b60f549
Merge pull request #2827 from Ultimaker/thopiekar-UM-watch-files-for-modification
CuraApplication/UM.MeshBuilder: Removing _reloadMeshFinished
2018-02-26 16:58:55 +01:00
Aleksei S
ed7dec0cae Fix: per model settings validation
CURA-4972
2018-02-23 13:05:29 +01:00
Diego Prado Gesto
6af5a5d4bc CURA-4946 When storing the gcode profile, the definition must be the
quality definition if the printer has_machine_quality. Otherwise the
fdmprinter definition must be used as a fallback. If there is no
quality_definition then the printer definition is use.
2018-02-20 11:11:21 +01:00
Diego Prado Gesto
6a4f519238 Revert "CURA-4946 Add the quality_definition metadata entry to the gcode so when"
This reverts commit 744313af27.
2018-02-20 09:30:05 +01:00
fieldOfView
51062a4784 Add a button to open the configuration folder. 2018-02-19 15:30:39 +01:00
Aleksei S
8d98f20751 Merge branch 'master' of github.com:Ultimaker/cura 2018-02-19 15:05:16 +01:00
Aleksei S
1afe2668f7 Fix: Extreme small model was not automatically scaled. 2018-02-19 15:04:08 +01:00
Ian Paschal
438f11b2e6 CURA-4965 Custom / Duplicated Material's Build Plate Temperature returns to default
Holy hell that took a long time to figure out. Thanks @diegopradogesto!
2018-02-19 14:09:02 +01:00
Diego Prado Gesto
744313af27 CURA-4946 Add the quality_definition metadata entry to the gcode so when
parsing, the quality definition is taken into account instead of the
definition.
The message when importing a profile to a different machine,
now shows the expected machine and the current machine definition id.!!
2018-02-16 14:01:46 +01:00
Diego Prado Gesto
85059882fe CURA-4959 Add buildplate information to the summary when saving a
project file.
- The activeVariantNames now returns only the names of the variants in
the extruder stacks.
2018-02-16 11:01:02 +01:00
Diego Prado Gesto
125fd1a1e2 Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-02-16 09:15:12 +01:00
Diego Prado Gesto
735dac6a4a Modify debug message to show the correct/useful information 2018-02-16 09:15:06 +01:00
Mark
17943ceb70 Merge branch 'master' of github.com:Ultimaker/Cura 2018-02-15 15:49:19 +01:00
Mark
c508e77fe2 Improved the text 2018-02-15 15:49:06 +01:00
Jack Ha
06ec77e012 Better readability in PreviewPass 2018-02-15 15:23:17 +01:00
Jack Ha
037298cf03 Tweaked the snapshot images to make it look prettier 2018-02-15 13:53:45 +01:00
Ian Paschal
bc47c6e623 Fix for CURA-4963
Exclude buildplate and nozzle meshes from being reloaded on F5 press.
2018-02-15 11:20:46 +01:00
Diego Prado Gesto
a4df9b6cc6 CURA-4891 Add a '+' that I removed by accident 2018-02-14 15:02:53 +01:00
Diego Prado Gesto
605c63514d CURA-4891 Remove print out for debugging 2018-02-14 14:51:32 +01:00
Diego Prado Gesto
a4455bbbe5 CURA-4891 Use the printer definition name instead of the ID to generate
the abbreviated name.
- Also revert some previous changes to keep the same behavior as before.
2018-02-14 13:47:30 +01:00
Ian Paschal
4d3f7d098f
Merge pull request #3299 from Ultimaker/feature_circular_prime_tower
Circular prime tower functionality

Looks good Diego!
2018-02-13 16:01:02 +01:00
Ghostkeeper
6eeaab3c12
Add plug-in locations with different lib suffixes
Or suffices if you want to go the Latin way.

Fixes #3195.
2018-02-13 11:45:49 +01:00
Diego Prado Gesto
488d310643 CURA-4320 Add the new setting to the tower's settings list so the
buildvolume reacts to its changes.
2018-02-12 15:03:03 +01:00
Ian Paschal
2964bedc28 CURA-4891
Scan for 'ultimaker' in the name. If found, add 'UM' to abbreviation, and scan again for a number after 'ultimaker' (e.g. 'ultimaker3'). If found, add the number as well. If 'ultimaker' is not found, take either the first 4 letters of the name or first letter.
2018-02-12 14:58:55 +01:00
Diego Prado Gesto
c6328968db CURA-4320 Add circular prime tower setting and draw shadow according to
it.
2018-02-12 14:56:26 +01:00
Ghostkeeper
03b4213e92
Merge branch '3.2'
Conflicts in Cura.qml and SaveButton.qml from people fixing positioning rounding at the same time...
2018-02-12 13:10:24 +01:00
Diego Prado Gesto
487608574a CURA-4931 Avoid creating a snapshot when there is no model in the buildplate. Since the writeStarted signal is catched by all the Writers, the createSnapshot method is triggered, but there is no scenenode in the buildplate to take a picture of, so the process is skipped 2018-02-08 17:02:11 +01:00
Jack Ha
8bb70d6cc2 CURA-4934 fix crash handler cleanup in some rare case 2018-02-08 14:19:47 +01:00
Jaime van Kessel
b36d3c759f Codestyle & typing fixes 2018-02-08 11:40:23 +01:00
Jaime van Kessel
22e0c80b3d Removed unneeded extra error check
This caused an extra 1.5 second delay on changing machine configurations for dual extrusion machines.
2018-02-08 10:27:54 +01:00
Jack Ha
4782659569 CURA-4425 remove resolution optimization, it does not work as expected and leaves a cropped image 2018-02-07 13:48:23 +01:00
Lipu Fei
ffa4df6a06 Merge 3.2 into master 2018-02-07 13:20:24 +01:00
Jack Ha
3a88c1ee88 CURA-4923 fix handle setting function in material_diameter 2018-02-07 11:27:02 +01:00
Jack Ha
98f925d50c CURA-4924 now creating the extruder container with metadata extruder 2018-02-07 10:00:02 +01:00
Jack Ha
cb6b465ce7 CURA-4924 fix loading profiles with % in it 2018-02-07 09:55:22 +01:00
Ghostkeeper
1ab7eb64a1
Create message before connecting to stack changed signal
Because if the stack changed signal gets fired while the __init__ function is still running then you get a critical error.
2018-02-06 16:50:03 +01:00
Ghostkeeper
399a63912e
Improve error message with the trigger early crash option
This way our logs are a bit more clear.
2018-02-06 16:10:58 +01:00
Diego Prado Gesto
8541ce25bb CURA-4425 Remove print out messages 2018-02-06 15:43:29 +01:00
Lipu Fei
8ffd5442e7 Fix indexing error in CrashHandler
CURA-4895
2018-02-06 10:53:12 +01:00
Lipu Fei
4438e06416
Remove TODO
CURA-4895
2018-02-05 17:21:51 +01:00
Diego Prado Gesto
a85a720184 CURA-4895 Close the splash screen when the early crash dialog appears. Increase the size of 'show detailed crash report button' 2018-02-05 17:17:46 +01:00
Jack Ha
bc2dafe863 Merge branch 'master' of github.com:Ultimaker/Cura 2018-02-05 15:29:01 +01:00
Jack Ha
be92bbfcb0 CURA-4425 improve image quality for some models combined with some viewing angles 2018-02-05 15:28:34 +01:00
Jack Ha
0e7edc3eaf CURA-4425 the thumbnail now crops correctly 2018-02-05 14:36:42 +01:00
Jaime van Kessel
2dee2ce5d9 Fixed issue where optimized layer data could be empty 2018-02-05 13:16:39 +01:00
Jaime van Kessel
516d7015e4 Fixed some issues caused by the multi buildplate system 2018-02-05 11:37:36 +01:00