9613 Commits

Author SHA1 Message Date
Ghostkeeper
8da2ae55cd
Improve prime tower position formula again
Basically the entire implementation of BuildVolume.py is in here by now... It's a bit more conservative than BuildVolume but I couldn't find a case where this fails (again).
2017-07-14 13:04:00 +02:00
Jaime van Kessel
dee09e15ae Added 101hero platform, based on pull request from rmcolbert
CURA-4046
2017-07-14 12:59:39 +02:00
fieldOfView
b5d7ec5bd2 Round fractional widths and heights in system-themed qml 2017-07-14 12:58:07 +02:00
Jaime van Kessel
549e2c12c8 Calculated values now show calculated instead of a formula
CURA-3385
2017-07-14 11:39:10 +02:00
Jaime van Kessel
82ff9dfe1b Merge branch 'feature_machine_settings_27' of https://github.com/fieldOfView/Cura 2017-07-13 13:44:34 +02:00
Lipu Fei
6d647e59cb Merge pull request #2108 from fieldOfView/fix_hide_single_extruder_button
Hide the extruder button for Custom FDM Printers with 1 extruder
2017-07-13 13:42:51 +02:00
Lipu Fei
b3772f4879 Merge pull request #2106 from fieldOfView/fix_umo_upgrades_definition_changes
Fix creating a new definition_changes container
2017-07-13 12:54:04 +02:00
Lipu Fei
9b9093cfab Merge pull request #2105 from maukcc/cura/master
Cartesio extruders start positions
2017-07-13 12:43:35 +02:00
Ghostkeeper
5ad4c58055
Take travel avoid distance into account with prime tower position
Otherwise you can't print if platform adhesion is off.
2017-07-13 12:42:58 +02:00
Ghostkeeper
a84a2922b6 Merge branch 'master' of github.com:Ultimaker/Cura 2017-07-13 09:05:55 +02:00
Lipu Fei
6cae413766 Treat initial_layer_line_width_factor as a percentage instead of factor
CURA-4036

initial_layer_line_width_factor is a percentage ranging from 0 to 100,
so when calculating the prime tower position, we need to divide it by
100.
2017-07-13 08:58:41 +02:00
Lipu Fei
bcd93522a2 Use bool instead of str for default_value of fill_outline_gaps
CURA-4023
2017-07-13 08:44:44 +02:00
maukcc
2928b1d5e0 Cartesio additional extruder position updates 2017-07-12 15:30:12 +02:00
fieldOfView
82d3a98f95 Hide the extruder button for Custom FDM Printers with 1 extruder 2017-07-12 14:47:38 +02:00
Youness Alaoui
7e7e15a12b Fix MachineManager connection to OutputDeviceManager signals late.
If a PrinterOutputDevice is able to connect quickly to a machine, then
by the time the MachineManager is created and connects to the signal,
it will be too late, and it might miss that there is already connected
devices.

# Conflicts:
#	plugins/USBPrinting/USBPrinterOutputDeviceManager.py
2017-07-12 14:06:08 +02:00
fieldOfView
6cb5412f91 Fix creating a new definition_changes container
global_container_stack.definitionChanges always returns a container, global_container_stack.findContainer({"type": "definition_changes"}) does not (because an empty container does not have the type "definition_changes".
2017-07-12 13:47:31 +02:00
maukcc
50d3ba9fbe Cartesio extruders start positions
Cartesio extruders start and end positions added
2017-07-12 13:43:54 +02:00
fieldOfView
c27859ddc5 Fix spelling for consistency 2017-07-11 23:32:47 +02:00
fieldOfView
1b4bd05106 Make doubly sure that settings are changed before closing dialog 2017-07-11 23:27:31 +02:00
fieldOfView
d00bb2524e Fix layout
Dialog is now more robust against being too small
2017-07-11 22:33:05 +02:00
Jaime van Kessel
391533e939 Slice info is now sent by https 2017-07-11 17:09:59 +02:00
fieldOfView
219d1938c2 Move labels into components with the controls...
...so they are both children of the same TooltipArea
2017-07-11 16:40:05 +02:00
Ghostkeeper
7de501ac87
Update description of initial layer line width
It now does apply to bed adhesion features.

Contributes to issue CURA-4027.
2017-07-11 16:32:31 +02:00
fieldOfView
2ba0dd094e Simplify layout 2017-07-11 15:54:21 +02:00
Ghostkeeper
a04cb7524d
Remove nonsensical global nozzle offsets for Dagoma DiscoEasy200
It doesn't make sense to always have a nozzle offset for all nozzles. What's more, the setting only exists in fdmextruder.def.json so it can't be set in something that inherits from fdmprinter.def.json.
2017-07-11 14:47:10 +02:00
Ghostkeeper
a04e389b7f
Fix machine_nozzle_head_polygon
The min/max values were long ago replaced by a proper polygon.
2017-07-11 14:43:26 +02:00
Ghostkeeper
0bf0e13adc
Fix unknown setting machine_nozzle_gantry_distance
It has been renamed to gantry_height long ago.
2017-07-11 14:39:50 +02:00
Ghostkeeper
41103cfca0
Make machine_nozzle_head_distance settable per extruder
It won't have an effect on the actual g-code since the engine still requests it from the global stack, but at least the warnings in the log go away.
2017-07-11 14:37:22 +02:00
Ghostkeeper
4c966a1834
Fix inheritance formula for prime tower position
It now takes the values it depends on from the correct extruder and applies the first layer line width.
2017-07-11 14:09:44 +02:00
Ghostkeeper
d6941fef2f
Interpret material compatible 'unknown' as 'yes'
We decide whether it is unknown (or unsupported) based on the availability of profiles for it.

Contributes to issue EM-1662.
2017-07-11 13:23:51 +02:00
Arjen Hiemstra
95b825a4c5 Emit propertiesChanged on the global stack from the extruder stack
But only when the setting that changed has a relation that is not
settable per extruder.

Fixes CURA-3521
2017-07-11 12:03:23 +02:00
Arjen Hiemstra
458c9ac540 Remove two unnecessary resolveOrValue calls
Contributes to CURA-3521
2017-07-11 12:03:23 +02:00
Ghostkeeper
fc93617698
Don't invert Y direction of offset for disallowed areas 2017-07-11 11:59:55 +02:00
14bitVoid
0f9125633b Multiply skirt/brim widths with initial layer line width 2017-07-11 02:51:24 +02:00
14bitVoid
a08d11769d Merge branch 'master' into first_layer_line_width 2017-07-11 01:39:14 +02:00
fieldOfView
aa7ab2e0a7 Remove unnecessary eval() construct 2017-07-10 16:49:03 +02:00
Ghostkeeper
012d299d98
Prevent circular import
When this is imported during the __init__, it'll long have been imported elsewhere and won't need to import it again but still guarantees that it is actually imported if no other module does it first.

Contributes to issue CURA-4024.
2017-07-10 16:42:38 +02:00
Ghostkeeper
ee52e1b9ea
Reposition prime tower automatically
This actually looks really nice. It just moves right along that border there. Eventually we could also auto-position the X position but for now this is fine.
2017-07-10 14:21:40 +02:00
Lipu Fei
7d9f99c0e8 Merge pull request #2083 from Ultimaker/thin_walls
feat: print thin walls setting (CURA-4023)
2017-07-10 14:14:26 +02:00
Tim Kuipers
9f4e3fcf56 Merge branch 'feature_gradual_support' 2017-07-10 14:14:00 +02:00
Ghostkeeper
6d2b46244f
Home printer after aborting
Otherwise the head gets left on top of the print and you'd have to manually move it aside after each abort.
2017-07-10 13:38:40 +02:00
fieldOfView
79e38407c8 Add tooltip to "Number of Extruders" control 2017-07-10 12:34:39 +02:00
fieldOfView
e2c978f88b Remove unused extruderContainerIndex property
Since the work on CuraContainerStack, the definition changes container for the extruder and for the global stack are always on the same index
2017-07-10 12:23:27 +02:00
fieldOfView
7fe674bc5b Improve test for empty containers 2017-07-10 12:19:19 +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
Ghostkeeper
f0d327c0d0
Set setting_version properly on new stacks so you don't need to upgrade
I don't think stacks had a setting_version property previously.

Contributes to issue CURA-4024.
2017-07-10 11:22:35 +02:00
Ghostkeeper
81e07b1530
Use stack properties instead of .findContainer(type = ...)
Recently we changed the empty containers such that there is only one empty container instance and it doesn't have the proper type any more. Instead we have properties on the stack that allows us to find the container with the proper type. It's faster and easier to use.
We've had a few bugs about this so I decided to update all of them to remove those for the future, except the ones in plugins/MachineSettingsAction/MachineSettingsAction.py because we have a pending pull request that fixes those. Fixing them would give merge conflicts for fieldOfView.

It doesn't really belong to CURA-4024 but I'm sticking it under that nomer anyway to get it reviewed.
2017-07-10 10:35:03 +02:00
Ghostkeeper
4ad9ebc444
Merge branch 'master' of https://github.com/tsaaristo/Cura into tsaaristo-master 2017-07-10 09:14:41 +02:00
fieldOfView
d6ddf15e24 Fix selecting material for UM2 when switching from UltiGcode 2017-07-09 16:46:25 +02:00