3788 Commits

Author SHA1 Message Date
Lipu Fei
0e5c67a38f Merge remote-tracking branch 'origin/master' into CURA-3710_setting_visibility_preset 2018-02-01 11:00:13 +01:00
Ghostkeeper
cfb5d71c27
Fix imports
Needs to be a capital letter now. Also remove the unused one (the kitty is no longer there).

Contributes to issue CURA-4872.
2018-02-01 10:34:38 +01:00
alekseisasin
6c84c713f2
Merge pull request #3211 from Ultimaker/feature-support-blocker
Added Support Eraser Plugin
2018-02-01 09:52:21 +01:00
Aleksei S
37733f51ad Correct name
CURA-4851
2018-02-01 09:44:00 +01:00
Aleksei S
08c64d28cf Typo in XmlValidator
CURA-4851
2018-02-01 09:37:06 +01:00
Diego Prado Gesto
701ac7f91e Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-02-01 09:05:32 +01:00
Ghostkeeper
a34ca45c38
Remove outdated UCP writer
The real file extension became .ufp. The plug-in was rewritten.

Contributes to issue CURA-4872.
2018-01-31 17:09:11 +01:00
Jack Ha
c42f186812 CURA-4425 first thumbnail in UFP file; updated CuraSceneModel and PreviewPass 2018-01-31 17:08:32 +01:00
Ian Paschal
f3372bce7c Added 2018 copyright and license information 2018-01-31 16:03:20 +01:00
Andreea Scorojitu
9b8e7cb722
Update_changelog_CURA-4886
Update to 3.2
2018-01-31 15:46:30 +01:00
alekseisasin
a446ca2759 Material container validation
CURA-4851
2018-01-31 15:00:46 +01:00
alekseisasin
e5c72cfdc5 Validate material profile
CURA-4851
2018-01-31 14:58:44 +01:00
Diego Prado Gesto
9d267cb9c7 Check if there is any gcode in the scene before executing a post process 2018-01-31 14:36:16 +01:00
Ian Paschal
e1da097970 Added Support Eraser Plugin
This is the first draft of the Support Eraser tool. The plugin creates a cube mesh which has the `anti_overhang_mesh` decorator causing it to block the creation of support material for overhangs within its volume. This distinction is necessary to avoid confusing this behavior from actually erasing a _portion_ of a support structure.

Some (non-necessary) improvements could be made such as:

- Better graphical style
- Discussion of whether the cube should be able to pass through the build plate or not
- Possible improvements to the tool's icon
- Placing the cube at a cursor click location
2018-01-31 12:55:41 +01:00
Diego Prado Gesto
68366ccc8d CURA-4897 Minor changes 2018-01-31 11:01:42 +01:00
Andreea Scorojitu
ac266581c6
Update_changelog_CURA-4886
Update to 3.2, CURA-4886
2018-01-31 10:32:08 +01:00
Diego Prado Gesto
81488e0bbc Merge branch '3.2' 2018-01-31 09:13:29 +01:00
Ghostkeeper
2fe9860bb9
Use streaming open function
This way we can actually write the result to the correct stream rather than opening a random file separately (which was placeholder).

Contributes to issue CURA-4872.
2018-01-31 08:52:28 +01:00
Ghostkeeper
f54767ae93
Remove unused _namespaces field
The code that used to use this is now in libSavitar.

Discovered while working on issue CURA-4872.
2018-01-31 08:45:52 +01:00
Ghostkeeper
ebe221f604
Add origin to thumbnail relation
This thumbnail is now about the g-code, so let the relation say that.

Contributes to issue CURA-4872.
2018-01-31 08:43:40 +01:00
Lipu Fei
cfd60e5557 Fix Olsson Block binding in UM2 machine settings
CURA-4897
2018-01-30 17:33:34 +01:00
Diego Prado Gesto
41cf708db1 Merge branch '3.2' of https://github.com/Ultimaker/Cura into 3.2 2018-01-30 11:24:39 +01:00
Diego Prado Gesto
bdfb8f1b5b CURA-4885 Remove the part in which the version upgrader creates a
quality changes instance. This instance container is created in the
workspace reader. This avoids the profile to appear twice.
2018-01-30 11:23:00 +01:00
Lipu Fei
a4a1832a58 Fix legacy profile importing for CFP
CURA-4876
2018-01-30 09:49:31 +01:00
Ghostkeeper
a9048a587d
Use new open_stream
This allows us to do something else than write to a file, too.

Contributes to issue CURA-4872.
2018-01-29 17:25:36 +01:00
Lipu Fei
f1363fab73 Move newline format
CURA-4863
2018-01-29 16:33:52 +01:00
Aleksei S
0954211be8 Fix: Wrong print time
CURA-4874
2018-01-29 16:01:11 +01:00
Lipu Fei
d351eba758 Use \n instead of \r for message formatting
CURA-4863
2018-01-29 14:55:56 +01:00
Lipu Fei
507b967946 Minor fixes
CURA-4868
2018-01-29 14:50:07 +01:00
Jaime van Kessel
0e5395dfd5 Fix crash when removing manually added device.
I forgot to rename a variable :(
CURA-4861
2018-01-29 14:29:13 +01:00
Aleksei S
b5856d6577 Merge branch '3.2' of github.com:Ultimaker/cura into 3.2 2018-01-29 13:48:23 +01:00
Aleksei S
750a86d2fd Added new lines to distinguis error message
CURA-4876
2018-01-29 13:47:24 +01:00
Ghostkeeper
fec553dbee
Return true after successfully writing the file
This is how Uranium detects that it's been written successfully.

Contributes to issue CURA-4872.
2018-01-29 13:06:38 +01:00
Lipu Fei
b9fc3997e5 Fix jellybox -> imade3d_jellybox renaming
CURA-4863
2018-01-29 13:00:48 +01:00
Ghostkeeper
2d48fbb608
Rename file_type parameter to relation_type
It was renamed in libCharon for better semantic meaning.

Contributes to issue CURA-4872.
2018-01-29 12:51:23 +01:00
Lipu Fei
7dfc1a4aa7 Add encoding='utf-8' for text file reading
CURA-4875

When encoding is not provided, the behaviour is system dependent and it
can break on OS X.
2018-01-29 12:29:20 +01:00
Lipu Fei
63ac8412e6 Fix importing legacy INI quality profiles
CURA-4876
2018-01-29 11:18:16 +01:00
fieldOfView
ed9943c732 Merge branch 'master' into feature_preheat_extruder
# Conflicts:
#	plugins/USBPrinting/USBPrinterOutputController.py
#	plugins/USBPrinting/USBPrinterOutputDevice.py
2018-01-27 16:35:55 +01:00
ChrisTerBeke
4d19428f42
Merge branch 'master' into feature_custom_gcode_commands
* master:
  CURA-4839 Avoid creating unique names for the extruder instance containers if the strategy is upgrade existing
2018-01-26 21:07:05 +01:00
Ian Paschal
757f83fad2 Change download source
`update_url` is used only for updaitng plugins (when `file_location` refers to a place on the hard drive).
2018-01-26 17:06:36 +01:00
Ghostkeeper
6f833051f8
Close archive after writing
It gets flushed then and everything.

Contributes to issue CURA-4972.
2018-01-26 16:28:34 +01:00
Ghostkeeper
e3e8e8b170
Fix opening kitty file
Contributes to issue CURA-4872.
2018-01-26 16:21:01 +01:00
Ghostkeeper
20b903855f
Close streams before opening the next
Because zipfile can't handle multiple open streams at the same time.

Contributes to issue CURA-4872.
2018-01-26 16:15:30 +01:00
Ghostkeeper
b6c7a0829f
Use virtual_path parameter instead of target
This parameter was renamed.

Contributes to issue CURA-4872.
2018-01-26 15:43:14 +01:00
Ghostkeeper
d299786de7
Convert g-code to bytes before writing it to archive
Contributes to issue CURA-4872.
2018-01-26 15:41:39 +01:00
Ian Paschal
211f87bf09 New format and functionality
- Browser is combined with plugin settings
- Two tabs, one for viewing 3rd party plugins, one for installed
- Enable/disable for bundled plugins
- Install/Remove/Update for 3rd party plugins
2018-01-26 14:59:47 +01:00
Diego Prado Gesto
a0ebb5205b Merge branch 'master' of https://github.com/Ultimaker/Cura 2018-01-26 14:14:59 +01:00
Ghostkeeper
8bd351c133
Add placeholder thumbnail to package
This kitten really likes boxes of all kinds: Cardboard and plastic boxes for sure, but also digital boxes such as the UFP.

Contributes to issue CURA-4872.
2018-01-26 13:52:20 +01:00
Ghostkeeper
8a3a3d32da
Fix imports to Charon classes
Contributes to issue CURA-4872.
2018-01-26 13:34:45 +01:00
Ghostkeeper
600e2abce1
Add basic UFP writer plug-in
This already implements most of it. Just the thumbnail must still be gotten and put inside the container.

Contributes to issue CURA-4872.
2018-01-26 13:25:49 +01:00