14396 Commits

Author SHA1 Message Date
Jaime van Kessel
e0bb365e8c Merge branch 'feature_gzgcode_writer' of github.com:Ultimaker/Cura 2018-03-20 13:32:25 +01:00
Jack Ha
a2b03a2ac1 CURA-4400 fix setting extruders_enabled_count so print_sequence for Custom FDM printer is available again 2018-03-20 13:30:48 +01:00
Ghostkeeper
877032584e
Correct documentation
This code was obviously copied from the pre-heat functionality. Let's fix the code duplication next as far as possible.

Contributes to issue CURA-4879.
2018-03-20 13:22:18 +01:00
Ian Paschal
a7b2632739 CURA-4400 Recommended mode shows support extruders 2018-03-20 13:14:48 +01:00
Diego Prado Gesto
9b3a1b4056 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-20 11:42:49 +01:00
Diego Prado Gesto
cd9531b746 Add the correct value to the setting viewer when the type is unknown.
Contributes to CURA-4495
2018-03-20 11:42:42 +01:00
Lipu Fei
f97e615634 Fix file name update
CURA-5122
2018-03-20 11:30:06 +01:00
Ian Paschal
d7b0f11ddf CURA-4400 Fixed project loading
"enabled" metadata is now read from saved projects (.3mf)
2018-03-20 11:17:39 +01:00
Ian Paschal
19792fc1a6
Merge pull request #3524 from fieldOfView/fix_support_eraser_grouping
Fix support eraser grouping
2018-03-20 09:48:10 +01:00
fieldOfView
d123efd3eb Fix loading parented objects from 3mf files 2018-03-19 18:25:40 +01:00
Diego Prado Gesto
311b5ac791 CURA-4870 Force update the list model also when the output device
changes.
2018-03-19 18:00:48 +01:00
fieldOfView
5a9bcf446e Do not select parented nodes when selecting all 2018-03-19 17:52:40 +01:00
fieldOfView
fff0a2519a Don't add a SettingOverrideDecorator twice 2018-03-19 17:28:09 +01:00
Diego Prado Gesto
c712cbb664 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-19 17:26:51 +01:00
Diego Prado Gesto
51e7a18d1c Add high level functions for setting the variant, material and quality
using the name, id and quality_type respectively.
2018-03-19 17:25:49 +01:00
Jack Ha
e958516913 CURA-4557 add checking on material change as well 2018-03-19 16:50:35 +01:00
Ghostkeeper
864cbe9c63
Add exception for UM3 to add UFP as supported format
We can't just add it to the supported file formats in the definition because we don't want the removable drive output to write it.

Contributes to issue CURA-5097.
2018-03-19 16:24:07 +01:00
Jack Ha
ef7139d3b2 CURA-4557 First version of model checker 2018-03-19 16:17:24 +01:00
fieldOfView
4fc3c00e1d Fix position of added anti support meshes in group 2018-03-19 15:46:43 +01:00
Ghostkeeper
6f9e0431bb
Fix extension when sending to printer
It should use the extension of the preferred format.

Contributes to issue CURA-5097.
2018-03-19 15:17:10 +01:00
Guillem
faf8ed3ba6 Replace only user changed values
removed machine_settings and settable_per_extruder_check. Not needed.
2018-03-19 14:57:31 +01:00
fieldOfView
91e1ae69ec Don't reparent nodes that are children of a selected node when grouping selection 2018-03-19 14:35:08 +01:00
Guillem
18fba5b529 Avoid replacing machine_settings and not settable_per_extruder settings 2018-03-19 14:21:45 +01:00
Ghostkeeper
c9a23d5ca3
Get the file formats directly from the stack
Instead of finding the container that contains the entry first and then getting the metadata from there.

Contributes to issue CURA-5097.
2018-03-19 14:21:41 +01:00
Lipu Fei
f0dc138b37 Fix visibilty preset update
CURA-5088
2018-03-19 14:14:22 +01:00
Jack Ha
9848c07a0e Merge branch 'master' into feature_model_check 2018-03-19 14:11:37 +01:00
Jack Ha
90fa49b6a1 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-19 14:02:12 +01:00
Jack Ha
10ba900449 CURA-5090 empty layer data when new sliced data is empty and prevent some layer data to be processed if it is outdated 2018-03-19 14:02:02 +01:00
Lipu Fei
6620909f3d Remove non-existing showingAllSettings
CURA-5088
2018-03-19 13:47:04 +01:00
Jaime van Kessel
cc2ad9dec0 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-19 13:15:52 +01:00
Jaime van Kessel
64d72c9d51 Fix where number of queued print jobs would be too big 2018-03-19 13:15:17 +01:00
Ghostkeeper
86f70ecd05
Merge branch 'M&P-Setting-Optimization' 2018-03-19 12:47:53 +01:00
fieldOfView
e861a8a112 Add children to correct buildplate when multiplying 2018-03-19 12:32:52 +01:00
Lipu Fei
b13bfaa8e1 Rename setVariantGroup() -> setVariant()
There is no such thing as VariantGroup.
2018-03-19 12:27:15 +01:00
Lipu Fei
4a0b3ace9e Fix missing getExtruderPositionValueWithDefault() error
PerObjectContainerStack was not a PerObjectContainerStack so it didn't
have getExtruderPositionValueWithDefault(), and this will break SliceInfo.
2018-03-19 12:23:42 +01:00
fieldOfView
ba67851105 Don't add a SettingOverrideDecorator twice
CuraSceneNodes get a SettingOverrideDecorator automatically when constructed
2018-03-19 12:08:18 +01:00
Jack Ha
906ebe12e1 CURA-4400 fix disallowed areas by fixing the limit_to_extruder -1 value 2018-03-19 11:46:43 +01:00
Ghostkeeper
7a464a92ca
Fix callback to output device with selected printer
This is a new function that just selects the printer.

Contributes to issue CURA-5097.
2018-03-19 11:39:41 +01:00
fieldOfView
af637d5acc Don't explode all nested groups when ungrouping groups of groups 2018-03-19 11:33:17 +01:00
Ghostkeeper
5bb20f6133
Use preferred output writer
This introduces a greenlet to allow optional interrupting of a function for waiting on the selectPrinter function.

Contributes to issue CURA-5097.
2018-03-19 11:24:15 +01:00
Ghostkeeper
c1f9b455bb
Remove unnecessary import
This import is not used.

Contributes to issue CURA-5097.
2018-03-19 11:22:55 +01:00
Lipu Fei
d676b85289 Fix createMaterial() for non-2.85 diameter materials
CURA-5113
2018-03-19 11:09:07 +01:00
Lipu Fei
2660d15857 Make "show all settings" work
CURA-5088

"Show All Settings" in setting visibility menu now sets all settings
to be visible.
2018-03-19 10:58:56 +01:00
Jack Ha
8f6f56a5e6 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-19 10:56:49 +01:00
Jack Ha
bd775cf32e CURA-4400 fix support_extruder_nr values in overhang angle and SliceInfo 2018-03-19 10:56:40 +01:00
Lipu Fei
7bf8e399ff Should always reslice upon settings changed
CURA-5115

When we switch a model from "support mesh" for example to "normal",
there will be no setting values in the per-object settings container,
but we should still trigger a reslice because settings have been changed.
2018-03-19 09:45:31 +01:00
Ghostkeeper
0efde6bae6
Use gzipped gcode by default for UM3
For the network printing output device this doesn't work yet, but for removable drives it will now put g-code in a gz archive when storing it.

Contributes to issue CURA-5097.
2018-03-16 16:08:49 +01:00
Ghostkeeper
88912e3973
Encode as UTF-8 before writing to gz
Turns out that gzip only accepts bytes as input, not str.

Contributes to issue CURA-5097.
2018-03-16 16:06:46 +01:00
Ghostkeeper
c1ea1320f0
Implement GCodeGzWriter
This plug-in outputs g-code to a gzipped archive. It is used for sending prints to the Ultimaker 3 family faster.

Contributes to issue CURA-5097.
2018-03-16 16:06:35 +01:00
Jaime van Kessel
f407663508 Merge branch 'master' of github.com:Ultimaker/Cura 2018-03-16 15:58:47 +01:00