Commit graph

5045 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
Ian Paschal
a7b2632739 CURA-4400 Recommended mode shows support extruders 2018-03-20 13:14:48 +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
fieldOfView
fff0a2519a Don't add a SettingOverrideDecorator twice 2018-03-19 17:28:09 +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
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
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
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
fieldOfView
ba67851105 Don't add a SettingOverrideDecorator twice
CuraSceneNodes get a SettingOverrideDecorator automatically when constructed
2018-03-19 12:08:18 +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
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
Jack Ha
bd775cf32e CURA-4400 fix support_extruder_nr values in overhang angle and SliceInfo 2018-03-19 10:56:40 +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
Jaime van Kessel
1c7344fb92 Fix for monitor stage ocasionally crashing 2018-03-16 15:58:29 +01:00
Ian Paschal
22d3cd928f CURA-5090 Remove layer view data after clearing buildplate 2018-03-16 15:57:19 +01:00
Ghostkeeper
4d5013d3ad
Remove unused variable
The variable name is re-used lower in the code. This value is unused though.
2018-03-16 15:08:57 +01:00
Ian Paschal
19de9b263b
Merge pull request #3505 from fieldOfView/feature_support_eraser_ux
Further improvements of the Support Eraser
2018-03-16 14:59:29 +01:00
fieldOfView
4be947af55 Fix codestyle 2018-03-16 14:55:20 +01:00
Ghostkeeper
5a5766f11a
Choose correct stream depending on output mode
We need a binary stream if we're writing in a binary format.

Contributes to issue CURA-5097.
2018-03-16 14:54:56 +01:00
Ghostkeeper
e74191f2db
Cache preferred format
I think that makes the code a bit easier to read. This is not really done to make it faster, just more semantic.

Contributes to issue CURA-5097.
2018-03-16 14:54:48 +01:00
fieldOfView
f05944bf29 Switch to translate tool when ctrl-clicking 2018-03-16 14:47:01 +01:00
fieldOfView
78a7299fc5 Maintain a selection when removing a mesh, so the tool stays active 2018-03-16 14:38:56 +01:00
fieldOfView
83168886d6 Parent added meshes to the parent node instead of creating a group
This requires a small change in PlatformPhysics, or otherwise the added mesh would still drop down.
2018-03-16 13:22:43 +01:00
Ian Paschal
f8283352c4
Merge pull request #3492 from fieldOfView/feature_support_eraser_ux
Support Eraser improvements
2018-03-16 13:20:00 +01:00
fieldOfView
8e26d27e80 Fix crash when clicking a non-slicable node 2018-03-16 13:15:24 +01:00
Diego Prado Gesto
36c5e0ad15 CURA-4870 Change message of the dialog when the connection with a printer/group already exists 2018-03-16 12:07:05 +01:00
Ghostkeeper
32cee75e47
Respect order of preference of output formats
Contributes to issue CURA-5097.
2018-03-16 11:49:51 +01:00
Lipu Fei
d78e2d56f7 Fix quality and variant processing in project loading
From version 22 to 24, there is an upgrade for "quality" that changes
it to "quality_changes", but for "quality", we don't have any upgrades.
2018-03-16 10:33:22 +01:00
Lipu Fei
579df7537b Fix upgrade from 26 to 27
Missing definition changes container.
2018-03-16 10:03:38 +01:00
fieldOfView
2a811c62d8 Ignore the first press after the selection has been cleared
if the selection is cleared with this tool active, there is no way to switch to another tool than to re-select an object (by clicking it) because the tool buttons in the toolbar will have been disabled. The mouse-event happens after the selection is changed, so we need to keep track of what the selection was previously by monitoring the selection state.
2018-03-15 23:58:22 +01:00
fieldOfView
d1d1307e6e Merge branch 'master' into feature_support_eraser_ux 2018-03-15 22:43:24 +01:00
Diego Prado Gesto
99d653cea5 CURA-4870 Don't allow to connect more than one instance to the same
group.
2018-03-15 20:01:47 +01:00
Ghostkeeper
b0f7a5b358
Fix translation of there being no file formats available
This entry said that it had a context, but it had none. As a result, the whole string was seen as a context.
2018-03-15 16:53:26 +01:00
ChrisTerBeke
d4d9a58d04 Fix merge conflicts, add can_send_raw_gcode ability, rename to sendRawCommand, small fixes 2018-03-15 16:51:25 +01:00
Lipu Fei
440a56b7fa Fix settings export in gcode 2018-03-15 16:42:11 +01:00
ChrisTerBeke
5ee30e0c99 Merge branch 'master' into feature_custom_gcode_commands 2018-03-15 16:40:42 +01:00
Ian Paschal
f2512a92a7
Merge pull request #3154 from fieldOfView/fix_per_meshgroup_settings
Enable setting per mesh group settings when printing One at a Time
2018-03-15 16:38:50 +01:00
alekseisasin
67261ccd4b
Merge pull request #3144 from fieldOfView/feature_preheat_extruder
Feature preheat extruder
2018-03-15 16:38:18 +01:00
fieldOfView
b9bf78d36c Remove group when "parent" is the only node in the group 2018-03-15 15:05:56 +01:00