550 Commits

Author SHA1 Message Date
Lipu Fei
e15a96263d Update extruder button styles
CURA-4211
2017-09-06 12:00:53 +02:00
Vivek Anand
ee1ba30d0e CuraApplication: Minor pep8 fix 2017-09-02 12:01:38 +00:00
Ghostkeeper
b677a81d9b
Change default theme
This new field is now read by Uranium that indicates the default theme to load first before there are any changed preferences.

Contributes to issue CURA-4148.
2017-08-30 16:08:49 +02:00
Lipu Fei
67f820af04 Pass tray_icon_name to QtApplication
CURA-4032
2017-08-14 15:26:17 +02:00
alekseisasin
153d1f2d0c Added method to close the application (after clicking quit button) to prevent loss of custom material
CURA-3298
2017-08-02 16:32:09 +02:00
Ghostkeeper
927ba20401
Disable centre on select by default
Apparently that was chosen or the user experience because the workflow for working with a lot of small objects becomes easier.
2017-07-31 17:23:58 +02:00
Lipu Fei
9c1d23fe5b Make sure MachineManager initializes after ContainerRegistry does
CURA-4084

When MachineManager gets created, it will find and set the current
active machine. This requires the ContainerRegistry to be initialized
first.
2017-07-26 14:09:18 +02:00
Ghostkeeper
3c545ba7c9
Clarify context of print info bounding box size translation
Lots of translators did this wrong.

Contributes to issue CURA-3998.
2017-07-18 13:10:16 +02:00
Ghostkeeper
8822307e02
Cache preferences instance during start-up
Perhaps a bit faster and less code duplication.

Contributes to issue CURA-4024.
2017-07-10 11:54:27 +02:00
Ghostkeeper
9bfe18393f
Make sure the preferences file doesn't always get upgraded
When the setting is equal to the default the setting_version won't get written to the preferences file. In that case the version upgrade system assumes that the setting_version was 0 or 1 and upgrades it.

This makes sure that the setting is never equal to the default so that it always gets written.

Found while working on CURA-4024.
2017-07-10 11:45:03 +02:00
Lipu Fei
b95426bee3 Add setting_version for Preferences
CURA-3975
2017-07-06 14:33:01 +02:00
Lipu Fei
5bf080950f Fix upgrade from 2.5 to 2.6 to 2.7
CURA-3975

- Set Preferences setting_version in CuraApplication so Preferences can
  get upgraded correctly
- Fix upgrade script for 2.5 to 2.6
- Fix upgrade script for 2.6 to 2.7 which relies on the upgrade of 2.5
  to 2.6
2017-07-06 14:19:26 +02:00
Lipu Fei
ead94a8456 Cura should register actual stack MIME types instead of the generic Uranium stack type
CURA-3975

When the ContainerRegister loads all container files, it decides which
actual class to use based on the registered MIME type of that file.
Because Cura registers the GlobalStack and ExtruderStack files as the
generic Uranium MIME type, the register loads them as Uranium
ContainerStacks. This commit solves this problem.
2017-07-06 11:30:05 +02:00
Lipu Fei
16a078b9a6 Update SettingVersion to 2 for renaming the quality profiles
CURA-3975

Update SettingVersion to 2 so we can create an upgrade to rename the
quality profiles.
2017-07-06 10:25:51 +02:00
Lipu Fei
afb923401e Set versions correctly for container stacks and preferences
CURA-3975

The upgrade for machine and extruder stacks and the preferences files
don't work because the current version registering doesn't take into
account the 1000000 multiplier and the settings_version.
2017-07-06 10:25:50 +02:00
Ghostkeeper
bc219a06fe
Add MaterialsModel to make material list update upon metadata change
This new model inherits from InstanceContainersModel. The only change is that it updates when the metadata of a material container changes. This is needed to make the list of materials update when the material diameter changes.

Contributes to issue CURA-2822.
2017-06-22 18:17:16 +02:00
Ghostkeeper
b37fa6f718
Implement warning message when you change material diameter
The undo functionality currently gives an error though. Investigating...

Contributes to issue CURA-2822.
2017-06-22 18:17:15 +02:00
Ghostkeeper
29b90d26b8
Re-enable centre camera on selection
With Qt 5.8 it works again on Windows.
2017-06-15 16:16:56 +02:00
Mark
0153ba6947 Remove support_interface_density from default visible settings. Changing it will usually mess up your print 2017-06-08 11:38:57 +02:00
Jaime van Kessel
c76a91fbb4 added curaplugin to list of plugin extensions
CURA-3712
2017-05-31 13:21:44 +02:00
Jaime van Kessel
20cb3ea01f Added "optional_extruder" setting type
CURA-3814
2017-05-22 13:24:41 +02:00
Jaime van Kessel
c43a71084c Merge branch 'master' of github.com:Ultimaker/Cura 2017-05-19 10:40:09 +02:00
Jaime van Kessel
475455d473 Definition changes are now also upgraded
CURA-3837
2017-05-19 10:39:37 +02:00
Lipu Fei
593697e0ed Fix XML material upgrade
CURA-3756
2017-05-19 10:18:13 +02:00
Arjen Hiemstra
89adc46142 Make limit_to_extruder update properly when value changes happen
Contributes to CURA-3738
2017-05-18 12:46:06 +02:00
Ghostkeeper
7827222aa2
Merge branch 'feature_extend_zoomrange' of https://github.com/fieldOfView/Cura into fieldOfView-feature_extend_zoomrange 2017-05-17 15:27:18 +02:00
Lipu Fei
40d70b5f39 Fix version upgrade for project loading
CURA-3756
2017-05-16 14:38:27 +02:00
Ghostkeeper
31684da9a6
Add Gradual Infill Steps to default advanced settings
It's visible by default now.

Contributes to issue CURA-3732.
2017-05-12 10:01:29 +02:00
fieldOfView
f23d969c23 Extend the zoomrange to cater for smaller and larger buildvolumes 2017-05-11 10:55:56 +02:00
Jaime van Kessel
eb677f5625 Merge branch 'feature_cutting_mesh' of github.com:Ultimaker/Cura 2017-05-09 10:20:27 +02:00
Ghostkeeper
945486ade9
Merge branch 'cura_containerstack'
Contributes to issue CURA-3497.
2017-05-03 17:11:55 +02:00
Ghostkeeper
c42d092b0f
Merge branch 'master' into cura_containerstack 2017-05-03 15:21:01 +02:00
Lipu Fei
155f01356a Set job name when opening a file from CLI
CURA-3711
2017-05-03 13:30:52 +02:00
Jack Ha
5d15d6e792 Merge branch 'master' into feature_multiextruder_machinesettings 2017-05-02 17:26:27 +02:00
Jaime van Kessel
d7004d3547 Merge branch 'master' of github.com:Ultimaker/Cura into cura_containerstack 2017-05-02 11:42:16 +02:00
Arjen Hiemstra
89310cb41e Select the group when right clicking an object that is part of a group
Instead of selecting the individual object.

Contributes to CURA-3609
2017-04-24 17:10:00 +02:00
Arjen Hiemstra
8c4ec804e7 Add type hinting to _onContextMenuRequested 2017-04-24 13:12:21 +02:00
fieldOfView
4d12ab1296 Merge branch 'master' into feature_multiextruder_machinesettings 2017-04-21 19:31:44 +02:00
Arjen Hiemstra
3d5e535b69 Select the object underneath the cursor on context menu request
Contributes to CURA-3609
2017-04-20 17:53:05 +02:00
Arjen Hiemstra
05e1de2fb3 Deprecate the delete/multiply/center methods in CuraApplication
Since they should no longer be used by the UI.

Contributes to CURA-3609
2017-04-20 17:42:06 +02:00
Arjen Hiemstra
905e59354b Change MultiplyObjectsJob to work on a list of objects
This makes MultiplyObjectsJob able to handle a list of objects instead
of a single object ID.

Contributes to CURA-3609
2017-04-20 17:41:53 +02:00
jack
2cd3565d4b Merge pull request #1672 from Ultimaker/feature_CURA-3529_upgrade_cura_dir
CURA-3529: Set dir names in config to allow UM detect old cura dir
2017-04-19 13:28:49 +02:00
fieldOfView
4d96e6931d Store definition changes containers in a folder named definition_changes 2017-04-18 15:08:46 +02:00
fieldOfView
6e0221636d Save definition_changes in their own folder 2017-04-15 20:03:09 +02:00
Jack Ha
c7a6d42920 Fixed arranger multiplying too big objects and arrange All. CURA-3676 2017-04-12 15:58:09 +02:00
Jaime van Kessel
3e75583f2b Huge models no longer block loading
CURA-3676
2017-04-12 15:09:31 +02:00
Jaime van Kessel
bfc8cc8a9e Codestyle 2017-04-12 10:51:46 +02:00
Jaime van Kessel
f56dc3d09e Fixed copying for Linux
CURA-3529
2017-04-11 17:01:16 +02:00
Lipu Fei
20f28b3fa2 Set dir names in config to allow UM detect old cura dir
CURA-3529
2017-04-11 09:18:19 +02:00
Jack Ha
c989496a13 Fix load (3mf) groups. Also add convex hull decorator to children of node. CURA-3671 2017-04-10 16:11:42 +02:00