Jaime van Kessel
edb5de9954
Added unit test for settingvisibility presets
...
CURA-5734
2018-10-01 14:50:53 +02:00
Jaime van Kessel
7e7afa7c06
Ensure that the SettingVisibilityPresetsModel doesn't have duplicated settings
...
CURA-5734
2018-10-01 11:51:07 +02:00
Jaime van Kessel
fc9f05fc8b
Moved SettingVisibilityPreset loading to it's own class
...
Since there was so much debate regarding the unit testing of the visiblity presets, i had another look at it.
The old version was almost untestable because all functionalities were mushed together into a single class.
CURA-5734
2018-10-01 11:32:55 +02:00
Ghostkeeper
3e7021d729
Merge branch 'master' of ssh://github.com/Ultimaker/Cura
2018-09-28 13:48:14 +02:00
Ghostkeeper
bfc3c5d8d8
Merge branch 'feature_mesh_names' of https://github.com/paukstelis/Cura into paukstelis-feature_mesh_names
2018-09-28 13:26:15 +02:00
Remco Burema
a68a591c18
Correct typo leading to infinite recursion.
2018-09-28 13:07:18 +02:00
Ghostkeeper
ef5f9bb0d4
Improve warning when saving g-code before slicing
...
This terminology is more consistent with what the rest of the interface uses.
Discovered during work on #4112 .
2018-09-28 12:01:20 +02:00
Ghostkeeper
4a4b096052
Only send uppercase g-code via custom commands
...
Because most printers don't understand anything other than uppercase.
Fixes #4178 .
2018-09-28 11:53:28 +02:00
Jaime van Kessel
f54a85688f
Merge pull request #4307 from KangDroid/full_screen_test
...
Re-Enable fullscreen shortcut and add menu on ViewMenu
2018-09-28 11:26:26 +02:00
Jaime van Kessel
c2f0a33b42
Merge branch 'master' into full_screen_test
2018-09-28 11:24:22 +02:00
Lipu Fei
84bad92f10
Verbose output for Windows CI
2018-09-28 10:02:22 +02:00
Lipu Fei
dc2c074bc0
Verbose output for Linux CI
2018-09-27 17:50:39 +02:00
Jaime van Kessel
f585afe77b
Fix spacing
2018-09-27 17:31:45 +02:00
Jaime van Kessel
7310a677ce
Clean up more code
...
This fixes some typing and moves a property to protected, as it should be
2018-09-27 16:07:18 +02:00
Jaime van Kessel
c15f8aa693
Move printer type checking to where it belongs; inside the UM3 plugin.
2018-09-27 15:54:23 +02:00
Jaime van Kessel
889035ebfa
Fixed typo
2018-09-27 15:42:12 +02:00
Jaime van Kessel
d7901907af
Fix typing
2018-09-27 15:37:08 +02:00
Jaime van Kessel
b58c01400b
Updated typing & documentation
2018-09-27 15:28:53 +02:00
Jaime van Kessel
1467e703ae
No longer make BuildVolume set max bounds.
...
We didn't use it anymore and it added an extra requirement for buildvolume to depend on Application
2018-09-27 15:16:46 +02:00
Jaime van Kessel
d83241f13a
Add missing typing to number of decorators
2018-09-27 14:29:09 +02:00
Ghostkeeper
0ce9bf61be
Move MIME type declarations into constructors of readers
...
So that if you disable the plug-in, the MIME type declaration is also not added.
Fixes #4151 .
2018-09-27 13:58:06 +02:00
Ghostkeeper
88ba2ac345
Define gcode.gz extension in GCodeGzReader
...
So if you were to disable the GCodeGzReader plug-in, you will now no longer see the extension in the files you can read.
Fixes #4151 .
2018-09-27 13:27:42 +02:00
Ghostkeeper
80804b232f
Merge branch 'refactor_singleton_settingsbase'
2018-09-27 11:53:11 +02:00
Ghostkeeper
1717281d2b
Always provide extruder_nr for all models
...
Even if you only have one extruder in your printer. This is more consistent, and probably also faster because executing one set-addition in Python is probably still slower than sending those 20 extra bytes over the socket and parsing them in C++...
Contributes to issue CURA-4410.
2018-09-27 11:20:24 +02:00
Ghostkeeper
3127108d00
Only set top/bottom pattern to concentric for initial layer
...
I'm taking responsibility for this. I'm changing it as a reaction to #4167 since I think concentric is good for the first layer but not so good for the rest of the layers. That user seems to agree but it hasn't been tested thoroughly. It's my intuition, sorry if it went wrong.
2018-09-25 13:17:32 +02:00
Diego Prado Gesto
987ae73078
Remove call to undefined function.
2018-09-25 13:15:26 +02:00
Lipu Fei
51f2386db1
Merge remote-tracking branch 'origin/3.5'
2018-09-25 11:56:12 +02:00
Lipu Fei
8837ffc06d
Fix mateial management QML reference
...
CURA-5682
2018-09-25 11:52:53 +02:00
Ghostkeeper
a8493ee35d
Give black materials at least some albedo
...
Otherwise you can't see the diffuse reflections and the entire thing just becomes a black silhouette.
2018-09-25 11:24:48 +02:00
Diego Prado Gesto
b52c28321a
Merge branch 'master' into refactor_singleton_settingsbase
2018-09-25 09:38:55 +02:00
Diego Prado Gesto
e31f35ec95
Merge branch '3.5'
2018-09-25 09:36:08 +02:00
Ghostkeeper
7d7227cfc8
Merge branch 'master' into refactor_singleton_settingsbase
2018-09-24 17:25:15 +02:00
Ghostkeeper
c46e0e7556
Only print message about excluded materials if there are any
...
Otherwise the message is very strange (with double spaces and such) and unnecessary.
2018-09-24 11:59:02 +02:00
Lipu Fei
fe8aa02e7c
Fix a direct signal emission that causes max recursion error
...
CURA-5682
A max recursion error will occur when the user creates a material on the
material management page. Too many signals get directly triggered and
some of them head back again and causes a max recursion error.
2018-09-24 11:44:55 +02:00
Aleksei S
b44fb7ca24
Select correct material according to the active extruder
...
CURA-5682
2018-09-21 17:35:46 +02:00
Ghostkeeper
30ef724322
Update STL MIME type
...
Since march, there is now an official MIME type for STL files. See https://www.iana.org/assignments/media-types/model/stl for the new MIME type specification.
Fixes #4141 .
2018-09-21 14:11:59 +02:00
Aleksei S
86d8f8517d
In material page was not defined the used extruder nr, for generic materials
...
CURA-5682
2018-09-21 13:48:46 +02:00
Ghostkeeper
b26c78202b
Consolidate log entries about excluded materials
...
I got a log where 80% of the log was this particular message. Let's not do that.
2018-09-21 13:11:12 +02:00
Lipu Fei
a80fde1495
Merge remote-tracking branch 'origin/3.5'
2018-09-21 12:11:18 +02:00
Lipu Fei
1bf78c086d
Remove import plugins which is not a module
2018-09-21 12:03:15 +02:00
Jaime van Kessel
dbe0d6d82a
Add typing
2018-09-21 11:33:06 +02:00
Jaime van Kessel
83d53158bd
Merge branch 'master' of github.com:Ultimaker/Cura
2018-09-21 09:34:34 +02:00
Jaime van Kessel
054a49c63d
Fix issue with inheritance manager button
...
Removed one of the special detection cases, since it incorrectly removed a value from a stored profile
CURA=5646
2018-09-21 09:33:25 +02:00
Diego Prado Gesto
8352fd1ae0
Merge branch '3.5'
2018-09-21 09:29:17 +02:00
Diego Prado Gesto
4bd5d29970
Don't crash if the plugin is not found (maybe some error while loading).
...
In that case it's better not to show the dialog than crashing.
2018-09-20 18:41:30 +02:00
Diego Prado Gesto
2d300ab395
Revert "Fix plugins import in CuraApplication"
...
This reverts commit e87f3d7ca9cf135142bee488f188b9639c8b38fd.
2018-09-20 18:34:08 +02:00
alekseisasin
520a181f88
Merge pull request #4383 from Ultimaker/check_setting_visibility
...
Test incremental inclusion of setting visibility presets
2018-09-20 16:41:58 +02:00
Jaime van Kessel
2dbaa304a0
Set textFormat for the setting items to PlainText
...
Based on the Qt guide on making qml run much faster, it seems that the default of textFormatting (auto)
is quite expensive. As we make a *lot* of settingItems, which we don't want to format, it's better to set it to plain.
I haven't checked how much faster it actually is, but i didn't see visual changes, so it's at least a safe step.
2018-09-20 15:22:35 +02:00
Lipu Fei
0bc91132ed
Fix check_setting_visibility return value
2018-09-20 15:18:58 +02:00
Lipu Fei
884c5dea67
Add check_setting_visibility.py to Jenkinsfile
2018-09-20 15:14:50 +02:00