Commit graph

9560 commits

Author SHA1 Message Date
Jaime van Kessel
11c23b4fe9 Add first draft of the radiocheckbar
CURA-6598
2019-08-29 11:40:02 +02:00
Ghostkeeper
b3fd310d37
Move removeQualityChangesGroup to QualityManagementModel
This is an operation specific to the quality management page, so it should be located there.

Contributes to issue CURA-6600.
2019-08-28 15:21:33 +02:00
trouch
f486f83433 add Ender-5 Plus and CR-10 Max nozzle variants 2019-08-28 15:09:48 +02:00
trouch
925c7cd777 make Ender-5 Plus and CR-10 Max visible 2019-08-28 15:04:17 +02:00
Ghostkeeper
21412986d3
Remove material manager from MaterialsPage
It is no longer used now that everything relevant has been moved to a separate class for this page specifically.

Contributes to issue CURA-6600.
2019-08-27 18:01:35 +02:00
Ghostkeeper
3952366798
Move createMaterial to MaterialManagementModel and simplify it a bit
We can reuse our duplicateMaterial function again but in a simpler way. Also finding the preferred material is simpler with our container tree.
However there seems to be a problem with finding the preferred material; it's not finding generic_pla for UM3 and AA0.4 anyway, and then falls back on a random material. This needs to be fixed in the variant node class.

Contributes to issue CURA-6600.
2019-08-27 17:21:22 +02:00
Ghostkeeper
1874a6453d
Move duplicateMaterial into MaterialManagementModel
To move away from the deprecated MaterialManager class.

Contributes to issue CURA-6600.
2019-08-27 17:21:21 +02:00
Remco Burema
c71660cc11 Fix occasional crash when entering profiles section.
Make QualityManagementModel into a singleton.
part of CURA-6600
2019-08-27 16:21:30 +02:00
Ghostkeeper
8346e465f6
Turn MaterialManagementModel into a singleton
Just like MaterialManager used to be. There can be only one instance of the page then.
This prevents a crash when Qt deletes the QObject because it's no longer used in the page when you close the preferences screen. But when you open it again it doesn't construct a new one. Now there is always one instance so that's not a problem any more. Also it allows other pages to access this item.

Contributes to issue CURA-6600.
2019-08-27 15:47:41 +02:00
Ghostkeeper
3dc7c7b61c
Move removeMaterial to MaterialManagementModel
Moving away from the MaterialManager.

Contributes to issue CURA-6600.
2019-08-27 15:47:40 +02:00
Ghostkeeper
99ccddefa4
Move setMaterialName to MaterialManagementModel
No longer use the material manager which is deprecated.

Contributes to issue CURA-6600.
2019-08-27 15:47:40 +02:00
Ghostkeeper
5b8ed91b04
Create new MaterialManagementModel and move canMaterialBeRemoved
Just like the QualityManagementModel, this class is intended to be used as proxy for the material management page in the preferences. I'm intending to move all relevant pyqtSlots from the material manager into this one. The advantage of this switch is that the material manager had no well-bounded scope and so tended to become a big mess of all sorts of functions. This one has a clear scope: serve as a proxy for the buttons you can press in the preferences screen for materials.

Contributes to issue CURA-6600.
2019-08-27 15:47:40 +02:00
Jaime van Kessel
d1a8ce54a1 Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent_container_tree 2019-08-27 14:18:41 +02:00
Jaime van Kessel
1d9d411732 Merge branch 'master' of github.com:Ultimaker/Cura into feature_intent 2019-08-27 14:17:57 +02:00
Jaime van Kessel
867a881de9 Ensure bool and enum settings get control highlighted on hover 2019-08-27 13:38:55 +02:00
pinchies
15e91bb32a Add JGAurora A3S (#6235)
* Add profile for JGAurora JGMaker Magic

CURA-6734
2019-08-26 10:34:58 +02:00
trouch
a9fb282a41 add CR-10 Max and Ender-5 Plus definitions 2019-08-25 11:47:38 +02:00
Ghostkeeper
0302ae4257
Don't find any variants if the machine says it doesn't have them
Even if there might be a matching variant...

Contributes to issue CURA-6600.
2019-08-22 15:44:41 +02:00
Ghostkeeper
7ccf46124f
Give warning when build plate temperature is below volume temperature
It's not going to become lower than the ambient temperature after all.
2019-08-22 13:37:30 +02:00
Ghostkeeper
9f16973215
Don't remove skirt when printing with support
According to tests by theWaldschrat and Liger0, the skirt is still necessary when support is enabled.

Fixes #6229.
2019-08-22 09:46:49 +02:00
Jaime van Kessel
e7609fadf4 Deprecated the allActiveMaterialIds and replaced the single location where it was used
CURA-6600
2019-08-21 17:08:35 +02:00
Jaime van Kessel
7979fcd633 Fix warnings in the settings menu
CURA-6600
2019-08-21 17:07:58 +02:00
Ghostkeeper
9122d0cca4
Remove misleading text that says you could enter hostnames
We don't resolve the hostnames ever. You can only enter IP addresses.
2019-08-21 09:56:32 +02:00
Jaime van Kessel
8759aae73e Fix crash when materialManager could not be converted to QObject
No idea why this was causing issues, but this should also be a bit faster.

CURA-6600
2019-08-19 12:47:07 +02:00
Ghostkeeper
53efad7e6f
Fix translation of horizontal expansion in French
It's not 'horizontal printing speed'.
2019-08-19 12:39:54 +02:00
KOUBeMT
e4a4e965f9 Removing_supprot_for_generic_materials 2019-08-16 10:26:49 +02:00
Lipu Fei
581cde1ddf Use HTTPS for firmware update check URLs 2019-08-15 13:42:13 +02:00
Ghostkeeper
f440535581
Add platform mesh for Creality Ender-3
Provided by Sprint8 in #6204, but I think the mesh was obtained from an older Cura version.

This fixes #6204.
2019-08-15 11:31:19 +02:00
Lipu Fei
214194de85
Merge pull request #6202 from Ultimaker/CURA-6717_machine_heated_build_volume
Add machine_heated_build_volume.
2019-08-15 09:37:18 +02:00
Remco Burema
f947269cf8 Add machine_heated_build_volume.
See also the engine.
part of CURA-6717
2019-08-14 11:59:13 +02:00
Lipu Fei
00334ee5a9 Hide default build plate temperature
CURA-6716
2019-08-14 10:58:48 +02:00
Lipu Fei
4947757688 Hide default material print temperature
CURA-6716
2019-08-14 10:55:12 +02:00
Ghostkeeper
20201c65e6
Merge branch 'master' into feature_intent
Conflicts:
	resources/bundled_packages/cura.json -> 4.1 to 4.2 upgrade package added simultaneously
	tests/TestMachineManager.py -> Due to changes in conftest.py
	tests/conftest.py -> Simultaneously expanding the magic mocks to have some correct properties
2019-08-13 14:43:28 +02:00
Ghostkeeper
66939192f9
Expand documentation of Maximum Deviation
Fixes #6187.
2019-08-13 13:41:05 +02:00
Lipu Fei
f86ca15676 Change support_infill_angle to support_infill_angles
CURA-5882
2019-08-12 13:57:29 +02:00
Jaime van Kessel
290b8f4307 Add formulas to the definition file so they get notified of updates
This is a work around for a rather fundamental issue with the current setting system;
The relationships are only created based on the definitions. So if a definition doesn't
have a formula, but a profile does, it doesn't get updated in the interface.

CURA-6708
2019-08-12 13:23:42 +02:00
Lipu Fei
5804110c15
Merge pull request #4598 from DesktopMetal/feature_support_line_directions
Feature: "Support Infill/Interface Line Directions"
2019-08-12 10:47:08 +02:00
Remco Burema
d703e48007 Add random infill start setting to expert-visibility.
part of CURA-6463
2019-08-09 14:38:57 +02:00
Remco Burema
3cefa39e6c Merge branch 'master' into random_infill_start_ 2019-08-09 14:27:48 +02:00
Remco Burema
44d65b2528 Don't set a formula that'll evaluate to 'on' for randomize infill start.
It's policy to default to the old behaviour as much as possible for new features. We can maybe default to true (for these values) if we ask the materials team later. Instead opted to warn the user if the infill isn't in the list of those patterns.

part of CURA-6463
2019-08-09 14:27:42 +02:00
Remco Burema
ff8a69712f Add new settings (slow for small hole/feature) to expert-visibility.
part of CURA-6464
2019-08-08 18:51:56 +02:00
Remco Burema
862cdf80a7 Constrain already warned users less.
part of CURA-6464
2019-08-08 17:37:43 +02:00
Remco Burema
4c56205e61 Merge branch 'mb-small-features-slowdown' of https://github.com/smartavionics/Cura into smartavionics-mb-small-features-slowdown 2019-08-08 16:43:11 +02:00
Lipu Fei
00b5abda94
Merge pull request #5935 from trouch/feature/z-seam-position
feat: "Z-Seam Position" presets to ease XY setting
2019-08-08 15:56:41 +02:00
Lipu Fei
606bc851a8 Simplify value formula 2019-08-08 15:18:11 +02:00
Lipu Fei
35e452d392 Set default to false 2019-08-08 15:16:45 +02:00
Diego Prado Gesto
f9014feb33 Change the default values of the retracted position
It was a mistake not to change it when we decided to use negative values for those fields.
2019-08-07 11:03:00 +02:00
Jaime van Kessel
a3cc991706 Merge branch 'master' of github.com:Ultimaker/Cura 2019-08-07 10:47:19 +02:00
Jaime van Kessel
7a3f9d621a Add save shortcut to save
No idea why it wasn't there in the first place.
2019-08-07 10:46:51 +02:00
Lipu Fei
12e794fe50 Remove has_machine_materials and has_variant_materials
They are not used.
2019-08-07 10:44:02 +02:00