Commit graph

15560 commits

Author SHA1 Message Date
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
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
Diego Prado Gesto
921b11974c Improve the way the categories are highlighted.
When a material is selected, but the brand or the type is collapsed,
those components are also highlighted to indicate the path to the
material.

Reuse the MaterialBrandSection also for the generic materials, that
allow us to only mantain one component.

Contributes to CURA-5682.
2018-09-12 15:42:02 +02:00
Diego Prado Gesto
56dcc2dded Highlight the material that is currently selected.
Contributes to CURA-5682.
2018-09-12 14:09:29 +02:00
Diego Prado Gesto
6d2492e5cb Remove spurious signal, it does the same as materialsUpdated.
Contributes to CURA-5682.
2018-09-12 12:59:13 +02:00
Diego Prado Gesto
f298d37134 WIP: Moving current selected material to the material list instead of
the page.

Change all the previous references to the currentItem in the page.
Automatically and correctly select the element that is selected in the
extruder.

Contributes to CURA-5682.
2018-09-11 22:12:54 +02:00
Diego Prado Gesto
9ba4c723f7 Fix the linked materials button.
Contributes to CURA-5682.
2018-09-11 22:07:14 +02:00
Diego Prado Gesto
a909c8f029 Don't emit signal if the favorite list didn't change.
Contributes to CURA-5682.
2018-09-11 22:05:39 +02:00
Diego Prado Gesto
fe256b3562 Fix some issues in the material preference page.
Now the generic section collapses and expands correctly. Some qml error
was also fixed.

Contributes to CURA-5682.
2018-09-10 15:57:19 +02:00
Diego Prado Gesto
51b0497f84 Fix the collapsable panel of the Generic materials.
Contributes to CURA-5682.
2018-09-10 14:28:41 +02:00
Ghostkeeper
c1ef9abf1d
Fix code style
These changed in the same pull request so I'll remove them here.

Contributes to issue CURA-5682.
2018-09-06 17:23:16 +02:00
Ian Paschal
9e56d6d29f Improved expansion behavior
Contributes to CURA-5682

- Active material is now expanded by default when opening the manager

- Expanded and collapsed sections are saved to preferences

- Sections are now highlighted when collapsed and having a selected material inside

- Bug with losing focus between fields is not yet fixed
2018-09-05 17:16:06 +02:00
Aleksei S
f1d2d7ed36 Merge branch 'master' of github.com:Ultimaker/Cura 2018-09-03 11:16:42 +02:00
Aleksei S
149a47e5a7 Remove double keys from right click menu, remove backspaceSelectionAction because not used
CURA-5642
2018-09-03 11:15:25 +02:00
Ghostkeeper
6df029971d
Don't crash if layer height is a formula
We obtain the layer height here but that might be a formula so we should evaluate that formula here.

Fixes #4005.
2018-09-03 11:02:24 +02:00
Ghostkeeper
1136033f97
Remove superfluous check for 'ok T:'
This check is never hit because if there is 'ok T:' in the bytes array then it will have hit the first check for 'ok ' and 'T:'.
2018-09-03 10:50:07 +02:00
Mark
9bcc8ffff6
Merge pull request #4288 from thopiekar/patch-2
bq Hephestos2: Getting a rid of custom g-code
2018-09-01 09:25:17 +02:00
Lipu Fei
6cceebb117 Revert "Remove double shortcut buttons"
CURA-5642

This breaks translations and doesn't fix the shortcut key problem.
2018-08-31 15:14:12 +02:00
Lipu Fei
8a507c34a3
Merge pull request #4312 from Ultimaker/CURA-5676_add_contacts_toolbox
Cura 5676 add contacts toolbox
2018-08-31 13:58:57 +02:00
Lipu Fei
98d8a3f3e3 Fix code style and small cleanup
CURA-5676
2018-08-31 13:49:10 +02:00
Lipu Fei
c4afbe7a67 Convert links to a dict
CURA-5676

Easier to process.
2018-08-31 13:45:04 +02:00
Lipu Fei
9433cf7c45 Change email field to show full email address
CURA-5676
2018-08-31 13:23:41 +02:00
Lipu Fei
e17cf3dfbf Show company website full link as text
CURA-5676
2018-08-31 13:20:42 +02:00
alekseisasin
9bd51d15ae
Merge pull request #4298 from Ultimaker/CURA-5675-reset_machines_for_removed_quality_changes
CURA-5675 Reset machines that use a removed quality changes
2018-08-31 12:00:31 +02:00
alekseisasin
aa2cb7d415
Merge pull request #4212 from fieldOfView/feature_support_infill_angle
Add setting for Support Infill Line Direction
2018-08-31 11:18:03 +02:00
Aleksei S
b0b148f2d0 Remove wrong setting
CURA-5676
2018-08-31 11:06:25 +02:00
Aleksei S
9258c9a7fc Added links to toolbox
CURA-5676
2018-08-31 11:03:30 +02:00
fieldOfView
65f3605d92 Allow the full range of orientations 2018-08-30 14:43:00 +02:00
fieldOfView
ac2125c3a5 Hide setting when support pattern is set to concentric...
because it has no influence on the concentric pattern
2018-08-30 14:36:54 +02:00
alekseisasin
0488494537
Merge pull request #4300 from Ultimaker/remove_double_extensions_cura_5650
change .curaproject.3mf to just use .3mf
2018-08-30 13:19:47 +02:00
Lipu Fei
9f158a995c
Merge pull request #4283 from Ultimaker/CURA-5555_ufp_material_profile
Add materil xml file to UFP file
2018-08-30 09:58:42 +02:00
Lipu Fei
570d0715ed Add call_on_qt_thread to UFPWriter.write()
CURA-5555
2018-08-29 17:38:36 +02:00
Lipu Fei
8f5aa82bdb Fix adding materials in UFP
CURA-5555

Need to use getContainer() for a MaterialNode.
2018-08-29 17:38:36 +02:00
Lipu Fei
939484bc91 Fix adding materials in UFP
CURA-5555

 - Store materials in virtual path "/Materials"
 - Correct material relationship type
 - Add origin for material relationship
 - Use MaterialManager instead of ContainerRegistry to get materials
 - Other minor changes
2018-08-29 17:25:36 +02:00
Mark
baef0350cd Cleaned up MIME types 2018-08-29 14:41:38 +02:00
Mark
43676d761c
Merge branch 'master' into master 2018-08-29 14:00:46 +02:00
Mark
17f51ca704
Merge branch 'master' into patch-2 2018-08-29 13:55:42 +02:00
Mark
c48a5474f0 remove .curaproject from the extensions and just use .3mf
CURA-5650
2018-08-29 13:42:26 +02:00
Lipu Fei
ee8d45f8a6
Merge branch 'master' into CURA-5675-reset_machines_for_removed_quality_changes 2018-08-29 12:53:46 +02:00
Lipu Fei
49743d8e6c
Merge pull request #4299 from Ultimaker/remove_maximum_length_printer_address
Remove the 40 char maximum on printer address textfield
2018-08-29 12:53:14 +02:00
Lipu Fei
c1e4b5f80d
Merge branch 'master' into remove_maximum_length_printer_address 2018-08-29 12:49:16 +02:00
Ghostkeeper
1d8f19f1d1
Don't give error value for infill layer thickness if no infill
It won't crash the engine because the entire infill filling routine is skipped.
2018-08-29 11:55:37 +02:00
Mark
dda356fbc4 Remove the 40 char maximum on printer address textfield 2018-08-29 11:50:43 +02:00
Lipu Fei
e0aea18177 Reset machines that use a removed quality changes
CURA-5675

When a custom quality gets removed, Cura should reset all machines which
use this custom quality to default.
2018-08-29 11:42:45 +02:00
Ian Paschal
694cc91ae9 Add a "Favorites" heading to materials menu
Contributes to CURA-5162

Also fixed some non i18n strings
2018-08-28 11:21:47 +02:00
Lipu Fei
40c4e9c5df Fix KeyError color_code in BaseMaterialsModel 2018-08-28 09:56:00 +02:00
Aleksei S
3e3f1cb03d Remove double shortcut buttons
CURA-5642
2018-08-28 09:31:05 +02:00
Matteo Spinelli
dd0ddaedac reduce stress on the galvo by printing infill in straight lines 2018-08-28 08:01:51 +02:00
Matteo Spinelli
255a2afe3b more moai tweaks 2018-08-28 08:01:51 +02:00