Commit graph

9349 commits

Author SHA1 Message Date
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
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
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
Ghostkeeper
b3691d0e5c Merge branch 'master' of github.com:Ultimaker/Cura 2017-07-04 14:07:03 +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
Jaime van Kessel
1627a65513 Viewport overlay now shows correctly when switching between monitor & settings
CURA-3964
2017-07-04 11:58:04 +02:00
Jaime van Kessel
5fa2ba6052 Undo for material diameter also changes the property.
It used to only set the metadata. CURA-2822
2017-07-04 11:55:24 +02:00
Arjen Hiemstra
ec25164731 Cleanup monitoringPrint stuff by properly passing things as properties
Instead of relying on the property magically being propagated from the
root object, which causes crashes.

Contributes to CURA-3964
2017-07-04 11:37:04 +02:00
Mark Burton
ff4935011d Tweak description. 2017-07-04 10:36:45 +01:00
Jaime van Kessel
5895f27792 Revert "Also invert nozzle offset when offsetting machine-specified disallowed areas"
This reverts commit 319559740d.

This was already fixed (line 734 inveted it). This code breaks it when there is no extruder
2017-07-03 17:10:59 +02:00
Jaime van Kessel
edeb2fa787 Merge branch 'master' of github.com:Ultimaker/Cura into feature_top_navigation_bar 2017-07-03 16:40:47 +02:00
Lipu Fei
68cae135a9 Make outer wall line width to evaluate its value accroding to its extruder
CURA-3891

This commit fixes the problem that limit to extruder for outer wall
doesn't work.
2017-07-03 16:19:10 +02:00
Jaime van Kessel
680cceb6f5 Switching to monitor tab now shows the correct sidebar again
CURA-3964
2017-07-03 16:12:19 +02:00
fieldOfView
5fec3d4f6d Replace mock borders with true borders 2017-07-03 16:04:18 +02:00
Jaime van Kessel
7e07482dec Added topbar to Cura
CURA-3964
2017-07-03 15:44:42 +02:00
Mark
8a55469499 Revert "Add margins to buttons and progressBar so they align"
This reverts commit 8776cedd27.
2017-07-03 14:49:26 +02:00
Mark
8776cedd27 Add margins to buttons and progressBar so they align
CURA-3856
2017-07-03 14:46:31 +02:00
Ghostkeeper
319559740d
Also invert nozzle offset when offsetting machine-specified disallowed areas
We inverted it properly with the borders, but not here yet.
2017-07-03 10:53:50 +02:00
Jaime van Kessel
e98a6d76ba Added close button
CURA-3856
2017-06-30 15:40:51 +02:00
Jaime van Kessel
52954460a3 Added refresh option for plugin list.
This fixes the issue that if you don't have internet connection on first start of the browser, you'd need a reboot of cura to get the list.

CURA-3856
2017-06-30 15:30:22 +02:00
Jaime van Kessel
5d0908e8ce Added handling for timeout & network connection broken
CURA-3856
2017-06-30 15:19:53 +02:00
Jaime van Kessel
782dea040a Merge branch 'master' of github.com:Ultimaker/Cura 2017-06-30 13:51:17 +02:00
Ghostkeeper
71c146f437
Always send not-printed objects to slicer regardless of build volume
Objects that aren't printed, such as infill meshes, can simply be sent to the slicer regardless of whether they are inside or outside the build volume, because they don't generate g-code in their own volume. This way you can have a model that is partially outside the build volume that still does its anti-overhang task or whatever.

Contributes to issue CURA-3951.
2017-06-30 13:04:09 +02:00
Ghostkeeper
3e278cbd0a
Add test for very large material diameters
Shouldn't matter with Python, but you never know.

Contributes to issue CURA-2822.
2017-06-30 08:47:49 +02:00
Ghostkeeper
adb93507c8
Set material_diameter setting in approximate material diameter test
Instead of the metadata entry, which was a previous implementation of the function. This is essentially just an update of the test.

Contributes to issue CURA-2822.
2017-06-30 08:43:04 +02:00
Jaime van Kessel
f8b99b2bff Update README.md
Removed old plugin (it's no longer needed, cura can do it on it's own)
2017-06-29 18:02:07 +02:00
Ghostkeeper
bb79e33ad5
Don't forget to update approximate diameter after resetting actual diameter
The approximate diameter needs to be in a static field because the list model filters on that field. The filter function is not clever enough to be able to filter on values being in some kind of range or rounded, so instead the decision was made that the rounded value needs to be set in a separate field so that the static filter can filter on it.

Contributes to issue CURA-2822.
2017-06-29 16:55:47 +02:00
Ghostkeeper
b8b23055ba
Fix getting new material diameter
Same problem, it's not been updated yet at this point.

Contributes to issue CURA-2822.
2017-06-29 16:50:15 +02:00
Ghostkeeper
27bcb11dc9
Store old approximate diameter in variable
Shorter line, easier to read.

Contributes to issue CURA-2822.
2017-06-29 16:41:24 +02:00