Diego Prado Gesto
e28b662649
Clean up the code a bit and update comments.
...
Contributes to CURA-5736.
2018-09-18 16:04:31 +02:00
Lipu Fei
9924e3e26c
Remove duplicated code
...
CURA-5735
2018-09-18 15:08:55 +02:00
Lipu Fei
ddc5d983a1
Fix single extrusion machines without an ExtruderStack
...
CURA-5736
2018-09-18 13:35:25 +02:00
Ghostkeeper
e5778be887
Corrections to change log
...
One was missing. One was confusing. One was incomplete.
Contributes to issue CURA-5710.
2018-09-18 12:41:44 +02:00
Lipu Fei
725ea847a7
Add material_diameter into fdmprinter
...
When saving a material to a file, it will save all the settings in that
container, which needs to create SettingInstances for all the cached
ones, and for those instances, their definitions will be retrieved from
the machine definition.
material_diameter is one of the settings, but it only exists in the
extruder definitions, so when it tries to save a material profile, a lot
of warnings/errors will occur due to the missing "material_diameter" in
fdmprinter. Adding it back fixes this problem.
2018-09-18 10:35:44 +02:00
Ghostkeeper
51d342678e
Merge branch '3.5' of ssh://github.com/Ultimaker/Cura into 3.5
2018-09-18 09:38:55 +02:00
Lipu Fei
b723621fda
Merge pull request #4370 from fieldOfView/fix_usb_printing_port_access
...
[3.5][regression]Fix opening port after baudrate detection
2018-09-17 17:38:12 +02:00
Lipu Fei
da047ea674
isInstalled() should check old plugins as a fallback
2018-09-17 17:26:38 +02:00
Lipu Fei
15657f4cfc
Remove unneeded code
2018-09-17 17:26:19 +02:00
Lipu Fei
4db213c55a
Fix missing import
2018-09-17 16:24:10 +02:00
Lipu Fei
a4b20e046d
Merge remote-tracking branch 'origin/3.5' into CURA-5718_fix_upgrade_for_bundled_plugins
2018-09-17 16:22:22 +02:00
Lipu Fei
6d1db55072
Fix SDK version comparison
2018-09-17 16:14:28 +02:00
Lipu Fei
51742b2a68
Merge pull request #4378 from Ultimaker/stop_simulation_when_changing_layers_or_paths
...
Stop simulation when dragging handles
2018-09-17 15:38:59 +02:00
Ghostkeeper
816c3cbd11
Fix forgotten separation between header and body
...
I copied these over from a piece where they had a different layout.
Contributes to issue CURA-5710.
2018-09-17 14:43:17 +02:00
Diego Prado Gesto
6c9c68e004
Active the focus when the selected item changes.
...
In this case, if the user was updating some information in one material
and then select other material, the new data is stored.
Contributes to CURA-5682.
2018-09-17 14:41:45 +02:00
Ghostkeeper
1bf05e6701
Merge branch 'CURA-5718_fix_upgrade_for_bundled_plugins' into 3.5
2018-09-17 14:36:17 +02:00
Diego Prado Gesto
dfae4a9a86
Add a property that indicates when the layer slider or the path slider
...
has changed manually.
With this we can differentiate when the layer changed automatically
(during simulation) or manually (by user interaction). In case it was
changed manually, the simulation will stop.
Contributes to CURA-5725.
2018-09-17 14:02:04 +02:00
Lipu Fei
2bf617b53a
Merge pull request #4376 from Ultimaker/CURA-5682_material_manager_leftovers
...
Material preference page leftovers
2018-09-17 13:23:59 +02:00
Diego Prado Gesto
74fcc10f59
Merge branch '3.5' into CURA-5682_material_manager_leftovers
2018-09-17 12:11:00 +02:00
Diego Prado Gesto
bafc2b98c9
Reuse MaterialBrandSection component for Favorites, Generic and branded
...
materials.
This component will show different children depending on the
hasMaterialTypes flag.
Adjust some small UI issues.
Contributes to CURA-5682.
2018-09-17 12:08:41 +02:00
Lipu Fei
3ac5a316d3
Check package upgradable using PM first, old plugins later
...
CURA-5718
For package upgradable, we need to check if a package is installed
local. For that, we first check in the package manager, if nothing, then
we fall back to check the old plugins.
2018-09-17 12:05:10 +02:00
Lipu Fei
1064d837ed
Exclude bundled plugins in the old plugins list
2018-09-17 12:05:10 +02:00
Jaime van Kessel
58c7524164
Also rename dagoma_neva_magis profiles to dagoma_magis
2018-09-17 11:38:51 +02:00
Orel
093c5487bf
- Rename Dagoma Magis profile.
...
- Remove machine_gcode_flavor definition as the default value fits the
needs.
2018-09-17 11:30:00 +02:00
Ghostkeeper
8a94042a1f
Fix icon name role
...
The icons were not displaying in the context menu of the settings.
2018-09-17 10:51:56 +02:00
Ghostkeeper
ade2b565bc
Add 3.5 change log
...
Contributes to issue CURA-5710.
2018-09-17 10:30:08 +02:00
Diego Prado Gesto
f871a89825
Clean up the code by removing duplicate code. Also try to unify the
...
MaterialsBrandSection to use the same component for favorites, generic
and branded materials.
Contributes to CURA-5682.
2018-09-17 09:09:14 +02:00
Jaime van Kessel
4c460b6fa5
Prevent crash if sdk_version is "dev"
2018-09-14 16:15:56 +02:00
Remco Burema
5c73921943
[CURA-5725] Revert "Set simulation path to 0 after updating layer"
...
This reverts commit 3da6e3c453
.
2018-09-14 14:35:10 +02:00
fieldOfView
66aeb95e28
Fix opening port after baudrate detection
2018-09-14 14:06:55 +02:00
Ghostkeeper
fb9c21e914
Fix imports
2018-09-14 12:41:03 +02:00
Ghostkeeper
e9cdd47a03
Fix types of getGlobalContainerStack call results
...
We know in these places that there must be a global stack at this point. So to hide the type error we'll cast it here.
Of course, the danger in this is that someone might call this function that doesn't know about this requirement and calls it when there is potentially no global stack yet. Hopefully they'll discover this crash when that happens then.
2018-09-14 12:38:16 +02:00
Ghostkeeper
f8da8c14e5
Fix running tests with PyQt 5.11
...
This was causing the test runner to crash.
2018-09-14 11:38:14 +02:00
Ghostkeeper
2e6401b7dc
Don't depend on the name of resource folders not changing
...
If we choose to rename the resource folders, then this plug-in should still look in the old resource folders. So hard-code these resource folders in the state that they were in at version 2.5 so that we can freely change them in a modern version.
2018-09-14 11:36:31 +02:00
Ghostkeeper
572afb052e
Remove unused import
...
This import was actually causing the test to fail on my computer due to a dependency on the order of importing libArcus vs. PyQt.
2018-09-14 11:30:25 +02:00
Diego Prado Gesto
972f0bef43
WIP Fix an error in which the current selected material was not
...
correctly selected when there is more than one brand (stupid mistake).
Also fix problems when the user changes some material information.
Contributes to CURA-5682.
2018-09-14 10:54:07 +02:00
Ghostkeeper
c840680e68
Merge branch '3.5' of ssh://github.com/Ultimaker/Cura into 3.5
2018-09-13 16:26:48 +02:00
Jaime van Kessel
9627f216b2
Actually ensure that walls don't get slower than 1 mm/s
...
CURA-5724
2018-09-13 16:22:36 +02:00
Lipu Fei
b39d6c7d87
Package upgrade should also check SDK version
2018-09-13 13:42:53 +02:00
Lipu Fei
7a3e61e8f1
chmod a+x check_shortcut_keys.py
...
CURA-5642
2018-09-13 10:56:31 +02:00
Lipu Fei
e629ea89ff
Improve shortcut check script
...
CURA-5642
More information in the output.
2018-09-13 10:55:37 +02:00
Lipu Fei
7ec62315e0
Remove shortcut for About
...
CURA-5642
It has conflict with "&Add Printer".
2018-09-13 10:54:46 +02:00
Diego Prado Gesto
6dc53cc60a
Select the next selected material when it is activated or removed.
...
Contributes to CURA-5682.
2018-09-12 18:39:19 +02:00
Diego Prado Gesto
7e1a833e9c
Merge branch '3.5' into CURA-5682_material_manager_leftovers
2018-09-12 17:12:40 +02:00
Lipu Fei
efdec50614
Fix typo
2018-09-12 17:08:58 +02:00
Lipu Fei
d1301d16a9
Skip the do-not-handle URLs instead of returning
...
CURA-5718
The request-url dict is not ordered so you cannot garuantee the ordering
when you use .items(). This can cause a problem that if a do-not-handle
item occurs first then nothing will be handled at all.
2018-09-12 16:58:22 +02:00
Diego Prado Gesto
3368428dbb
Fix text field alignment.
...
The color text field was too short in many cases, when the color name is
long.
Contributes to CURA-5682.
2018-09-12 16:57:43 +02:00
Aleksei S
3da6e3c453
Set simulation path to 0 after updating layer
...
CURA-5677
2018-09-12 16:56:54 +02:00
Diego Prado Gesto
e3f67f1147
Fix code style.
...
Contributes to CURA-5682.
2018-09-12 16:37:16 +02:00
Diego Prado Gesto
6183a07d76
Activate the material right after it was created or duplicated.
...
Contributes to CURA-5682.
2018-09-12 16:35:01 +02:00