Commit graph

4159 commits

Author SHA1 Message Date
Lipu Fei
c2aa5fc2a2 Only initialise AutoSave after Application finishes its start up
CURA-4895
2018-02-05 11:27:38 +01:00
Ian Paschal
f627c97a92
Merge pull request #3218 from Ultimaker/CURA-3710_setting_visibility_preset
CURA-3710 Add preset setting visibility files
2018-02-05 09:51:52 +01:00
Ruben D
77566180f1
Remove commented code
Oops, forgot about this one.
2018-02-04 01:53:10 +01:00
Ruben D
f9bee9ad3e
Change tabs into spaces
I think this IDE isn't configured correctly yet.
2018-02-04 01:39:36 +01:00
Ruben D
927f193270
Only write scripts to stack upon pressing close button
This is more efficient, because we're not writing every time you modify the list of scripts. It's also more complete, since if you don't modify the list of scripts but just modify one of the settings, that setting change also gets written to the stack after closing the window.
2018-02-04 01:26:34 +01:00
Ruben D
bebcd78db0
Reset the selected script index upon changing printers
So that you're not getting into a state of viewing an invalid index. If you switch to a printer with 0 scripts attached, the index is still invalid, but it won't display anything then so you're okay.
2018-02-04 01:13:34 +01:00
Ruben D
91ab53e49c
Somewhat better documentation
Just some stuff that I saw and thought were missing.
2018-02-04 01:10:35 +01:00
Ruben D
8525131849
Create post-processing tool button on start-up
This causes the button to display immediately on start-up if there were any post-processing scripts in the current machine. If there weren't, then no button will be shown (as specified in the QML).
Previously the QML was only loaded first upon clicking the item in the extensions menu. Now it has to be loaded on start-up in order to display that button.
2018-02-04 01:08:15 +01:00
Ruben D
09f580de70
Store post-processing script list in global stack
If you switch and such, it'll load these scripts back in. They are now persistent.
2018-02-04 00:51:43 +01:00
Ruben D
7c291e36c9
Add warning for some bug that I saw
Maybe one day someone will encounter it again and decide to fix it, but I'm lazy.
2018-02-03 23:54:18 +01:00
fieldOfView
25eb1ff342 Fix the detection of multiextruder replacement patterns
Since #3068, replacement patterns can take the form of {setting_nr, extruder_nr}. This form was not being recognised when determining if CuraEngine should prepend its own preheat sequence.
2018-02-03 22:09:40 +01:00
Ian Paschal
f7ef1c7aa8 Remove debug output
Removed debug `print()` from `PluginBrowser.py`
2018-02-02 14:02:51 +01:00
Diego Prado Gesto
56382bc9b8 Merge branch 'feature_ufp_writer' 2018-02-02 11:58:33 +01:00
Diego Prado Gesto
2024d6aa12 Merge branch 'master' into feature_ufp_writer 2018-02-02 11:57:53 +01:00
Mark
ee75b9bdf5 Also accept a comma as input and convert it to a dot
CURA-4910
2018-02-02 10:28:37 +01:00
Lipu Fei
6a053a9f46 Fix material profile validator
CURA-4871

Description and adhesion info are not mandatory info.
2018-02-01 14:50:05 +01:00
Lipu Fei
367e50669d Refactor code
CURA-3710
2018-02-01 13:56:49 +01:00
Lipu Fei
91c9a82627
Merge pull request #3203 from Ultimaker/plugin-browser
Plugin browser
2018-02-01 11:51:50 +01:00
Ian Paschal
d3b2241616 Fixed "Quit" button & others
- Quit button in the dialog post-install now quits the application instead of simply closing the window
- Improved styling:
    - All colors now pulled from `UM.Theme.getColor()`
    - Dialog has white background
    - Buttons look like Cura buttons
- Removed inaccurate comments regarding the structure that were created while working on it
2018-02-01 11:37:23 +01:00
Lipu Fei
25713a6e64 Merge remote-tracking branch 'origin/3.2' 2018-02-01 11:23:20 +01:00
Ian Paschal
3a6905c0e6 Removed debug messages & unused code 2018-02-01 11:05:17 +01:00
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