Commit graph

10057 commits

Author SHA1 Message Date
Lipu Fei
89c5fb2d15 Merge pull request #2037 from Ultimaker/feature_zoom_to_mouse
Added zoom to mouse preference
2017-07-07 11:40:26 +02:00
Lipu Fei
8827b02020 Create persistent temporary file on Windows for plugins
CURA-3856
2017-07-07 10:49:06 +02:00
Jaime van Kessel
44a22cbd3a Removed binding loops
CURA-3856
2017-07-07 10:41:44 +02:00
Jaime van Kessel
fc70715cd1 Fixed plugin installing for windows
CURA-3856
2017-07-07 10:31:26 +02:00
Jaime van Kessel
12d8c7f4d7 Merge branch 'master' of https://github.com/maukcc/Cura 2017-07-07 09:19:47 +02:00
Ghostkeeper
ef89fab126
Fix spaces after comma according to code style
Contributes to issue CURA-3587.
2017-07-06 16:13:42 +02:00
Tim Kuipers
574ae4b52a Merge branch 'smartavionics-mb-support-real-reprap-gcode' 2017-07-06 15:15:58 +02:00
Ghostkeeper
b346dd7893
Merge branch 'master' of github.com:Ultimaker/Cura 2017-07-06 15:03:58 +02:00
Ghostkeeper
1b3750caae
Merge branch 'spaghetti_infill_total_volume' 2017-07-06 15:03:48 +02:00
Tim Kuipers
23a98dd959 Merge branch 'mb-support-real-reprap-gcode' of https://github.com/smartavionics/Cura into smartavionics-mb-support-real-reprap-gcode 2017-07-06 15:00:38 +02:00
tsaaristo
ad87f154f3 Speed up sidebar-settings scrolling
Scroll three rows in one scroll event instead of one
2017-07-06 15:58:32 +03:00
Lipu Fei
071005541c Use XMLMaterialProfile version tag to determine its version
CURA-2724
2017-07-06 14:47:59 +02:00
Lipu Fei
b95426bee3 Add setting_version for Preferences
CURA-3975
2017-07-06 14:33:01 +02:00
Lipu Fei
b4949a164c WIP: Add temporary fix to make materials work with 2.7 version upgrade
CURA-3975

This is a temporary fix to make materials work with 2.7 version upgrade
because of the setting_version change from 1 to 2. This MUST be fixed
after we have decided on how to determine the versions of an
XMLMaterialProfile.
2017-07-06 14:19:30 +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
3983da30aa Update setting_version to 2 for qualities
CURA-3975
2017-07-06 14:19:20 +02:00
Lipu Fei
72afefbfd4 Update setting_version to 2 for variants
CURA-3975
2017-07-06 14:19:20 +02:00
Ghostkeeper
bd75102ee5
Fix saving g-code if no quality profile is set
If the quality profile was 'empty', then the container type wasn't properly set, so you can't find any quality profile. This gets the quality profile from the stacks, so you will find the empty profile (which has the wrong type but at least you can try to request metadata from it).
2017-07-06 13:52:54 +02:00
Lipu Fei
eb88ad5a3d Change mode to 0644 for all quality files
CURA-3975
2017-07-06 13:38:39 +02:00
Lipu Fei
4727e4aa95 Remove unused imports
CURA-3975
2017-07-06 12:13:30 +02:00
Lipu Fei
4e3ff1b770 Fix version upgrade for 2.5 to 2.6
CURA-3975

- Preferences version is not set correctly
- The upgrade script should use a standalone version string because the
  CuraApplication.SettingVersion can change
2017-07-06 12:11:28 +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
Jaime van Kessel
cd7c8bb753 Merge branch 'master' of github.com:Ultimaker/Cura 2017-07-06 10:46:59 +02:00
Jaime van Kessel
95cacb8300 Added missing translate to topbar 2017-07-06 10:46:29 +02:00
Lipu Fei
c196a4bf00 Fix stack file version number in VersionUpgrade26to27
CURA-3975
2017-07-06 10:42:26 +02:00
Lipu Fei
3d48024a47 Override getConfigurationTypeFromSerialized for GlobalStack
CURA-3975

GlobalStack has metadata type "machine", which is different from what is
registered in the VersionUpgradeManager "machine_stack". This commit
makes sure that Cura can find the correct upgrade route for the
GlobalStack files.
2017-07-06 10:26:02 +02:00
Lipu Fei
42858b4715 Add upgrade script for 2.6 to 2.7 to rename quality profiles
CURA-3975
2017-07-06 10:26:02 +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
Lipu Fei
2cab097716 Rename "Not Supported" quality files
CURA-3975

Rename quality profiles with name "Not Supported" to have actual quality
names. Note that the "Not Supported" only ones are renamed to "Fast_Print".
2017-07-06 10:25:31 +02:00
Ghostkeeper
6cac15de7d
Use default parameter to obtain default colour
There is a built-in mechanism for this, so we don't need to do this ourselves.
2017-07-06 09:48:36 +02:00
Ghostkeeper
bb68f488db
Make material finding more robust
The .findContainer technique is obsolete since we now just have a field for this.

Hopefully contributes to issue #2053.
2017-07-06 09:41:28 +02:00
Mark Burton
8955249ea9 Change gcode flavor labels to make it obvious which firmwares they are targetting.
Rename "RepRap (Marlin/Sprinter)" to "Marlin".
Rename "RepRap (Volumetric)" to "Marlin (Volumetric)".
Rename "RepRap (RepRap)" to "RepRap".
2017-07-06 08:24:23 +01:00
Ghostkeeper
271d4a30f0
Set Support Z Distance equal to what it's at for UM3
The old value was giving a warning and the new value was better tested for UM3. We knew that this was sorta wrong. Suggested by the materials team.
2017-07-05 16:22:24 +02:00
Ghostkeeper
9dd3527504
Blur setting text fields when clicking buttons
Otherwise the setting is not applied yet by the time you duplicate or export a profile.

Contributes to issue CURA-4011.
2017-07-05 16:04:11 +02:00
Mark Burton
f81be9e627 Added RepRap (RepRap) gcode flavor. 2017-07-05 14:46:12 +01:00
Jaime van Kessel
0ad7096782 Merge branch 'master' of github.com:Ultimaker/Cura 2017-07-05 14:48:19 +02:00
Jaime van Kessel
ef51897b71 Fixed removable drive error spam on Windows 2017-07-05 14:48:02 +02:00
Tim Kuipers
7ff6857041 Merge pull request #1995 from smartavionics/mb-z-seam-relative
Added z_seam_relative setting to determine whether z seam origin is relative to part or not.
(CURA-3971)
2017-07-05 12:30:17 +02:00
Jaime van Kessel
289c9ed8ee Network printing now sees empty state as idle 2017-07-05 11:00:00 +02:00
Jaime van Kessel
84b522a4c8 Merge branch 'feature_pointing_rectangle_borders' of https://github.com/fieldOfView/Cura 2017-07-05 10:22:54 +02:00
Lipu Fei
b43a09d773 Merge pull request #2064 from Ultimaker/feature_top_navigation_bar
Feature top navigation bar
2017-07-04 15:46:03 +02:00
MaukCC
a7e9dc06f0 Merge pull request #7 from maukcc/cura/Cura/master
Cartesio profiles update
2017-07-04 15:01:51 +02:00
maukcc
194d7bb3b8 Cartesio profiles update
Cartesio disalowed areas
Cartesio extruder offsets
Cartesio high quality profiles
2017-07-04 14:58:01 +02:00
Ghostkeeper
b3691d0e5c Merge branch 'master' of github.com:Ultimaker/Cura 2017-07-04 14:07:03 +02:00
Ghostkeeper
b66f9a0da4
Invert enabled condition on spaghetti_infill_stepped
These two settings are only relevant if the spaghetti infill is stepped, not when it's not stepped.

Contributes to issue CURA-3861.
2017-07-04 13:50:19 +02:00
Lipu Fei
19495de7e8 Fix machine_nozzle_offset_y value
CURA-3964

This is such an obvious bug...
2017-07-04 13:24:14 +02:00
Lipu Fei
d0ef97b02c Remove invalid anchoring for SidebarHeader
CURA-3964

sidebarHeaderBar has been removed and the anchor line is not needed.
2017-07-04 13:06:41 +02:00
Ghostkeeper
d3fc47fb42
Remove nonsensical warning values for prime tower position
I discovered this during work on CURA-3521.
2017-07-04 12:36:18 +02:00
Ghostkeeper
88ee878423
Simplify inheritance formula for prime tower wall thickness
Firstly, all the resolveOrValue calls are identity functions now so they can be phased out.

Secondly, all the max(extruderValues(...)) should be done by the resolve property rather than the value property. The resolve property already makes sure that the prime tower is evenly thick for every extruder, so it doesn't need to ensure this in the value function as well.

Contributes to issue CURA-3521.
2017-07-04 12:33:19 +02:00