3788 Commits

Author SHA1 Message Date
Ghostkeeper
afeea6e214
Don't interrupt loading scripts when one error occurs
Instead of breaking the loading of the rest of the scripts, just don't load this particular one.
2018-02-12 11:23:43 +01:00
Ghostkeeper
b8fce75dac
Track index instead of finding it back later
It has to iterate over all layers and do string comparison to find the index back. Instead we just keep track of the index so this should improve performance a bit.
2018-02-12 11:12:55 +01:00
Ghostkeeper
80b99e0323
Use double quotes instead of single quotes
As per our code style. It doesn't say anything about single-character strings in particular.
2018-02-12 11:10:57 +01:00
Ghostkeeper
0e23fb15af
Don't skip the first layer 2018-02-12 11:07:15 +01:00
Ghostkeeper
cfdde8dd07
Simplify indentation of pause at height script
Instead of making lots of nested if statements, use the if statements as an interruption check. This reduces the indentation a lot and makes it easier to read in my opinion. It also makes it easier to add stuff to these checks.
2018-02-12 11:06:17 +01:00
Mark
461da709ff Checked all divisions (again..) and multiplications on rounding errors
CURA-4941
2018-02-10 12:45:36 +01:00
fieldOfView
74fe281e1d Sync currently selected preset between visibility-page and -menu 2018-02-09 18:54:04 +01:00
Mark
b52bf6decf resolve conflict 2018-02-09 13:01:56 +01:00
Mark
8fca183a5e Fix rounding errors for garbled text
CURA-4941
2018-02-09 11:30:56 +01:00
Ghostkeeper
183792ae09
Change 'Tweak' into 'Change' and 'tw@' into 'ch@'
Also in the resulting g-code.

Contributes to issue CURA-4615.
2018-02-09 10:55:50 +01:00
Lipu Fei
ffa4df6a06 Merge 3.2 into master 2018-02-07 13:20:24 +01:00
Jack Ha
a460804bbe CURA-4924 always use interpolation = None for configparser, preventive 2018-02-07 10:21:40 +01:00
Jaime van Kessel
b4a1b97eda Removed warning that caused massive spam 2018-02-06 14:37:39 +01:00
Jaime van Kessel
08394c99d3 PossibleDefinitionIds from name only returns distinct names
It would sometimes return 3x the same id.
2018-02-06 14:27:54 +01:00
Aleksei S
fdfeeb5496 Renamed: In Postprocessing plugin the "Tweak" script is renamed to "Change"
CURA-4615
2018-02-06 13:38:14 +01:00
Lipu Fei
99fe120bc2
Merge pull request #3227 from fieldOfView/fix_material_temp_prepend
Fix the detection of multiextruder replacement patterns
2018-02-06 12:24:16 +01:00
fieldOfView
ab9c415e26 Gracefully handle missing libCharon 2018-02-05 18:30:25 +01:00
Aleksei S
1701cbd011 Merge branch 'master' of github.com:Ultimaker/cura 2018-02-05 17:06:11 +01:00
Aleksei S
7b9bec2891 Fix: Wrong print jobs queued number
CURA-4888
2018-02-05 17:05:27 +01:00
Ian Paschal
e02cb78d57 CURA-4578 Manually installed plugins handled correctly
3rd-party plugins which were manually installed were listed as uninstall-able instead of disable-able. The distinction between plugins which could be installed or disabled was previously made by whether or not it was 3rd party, but is now made by determining the install location.
2018-02-05 16:39:45 +01:00
Jack Ha
bc2dafe863 Merge branch 'master' of github.com:Ultimaker/Cura 2018-02-05 15:29:01 +01:00
Jack Ha
0e7edc3eaf CURA-4425 the thumbnail now crops correctly 2018-02-05 14:36:42 +01:00
Ian Paschal
27d250374f Removed print() statements 2018-02-05 14:34:29 +01:00
Jaime van Kessel
2dee2ce5d9 Fixed issue where optimized layer data could be empty 2018-02-05 13:16:39 +01:00
Jaime van Kessel
e01c8218fa Removed uneeded checks if a node was a SceneNode
The "isSlicable" decorator already took care of this
2018-02-05 13:02:30 +01:00
Jaime van Kessel
516d7015e4 Fixed some issues caused by the multi buildplate system 2018-02-05 11:37:36 +01:00
Diego Prado Gesto
915bb2e450 CURA-4895 Connect timer signal just if CuraApplication has been previously created and started 2018-02-05 11:28:17 +01:00
Diego Prado Gesto
e1bca1ca5d CURA-4895 Don't run autosave settings if application has not been created or if not started 2018-02-05 11:28:17 +01:00
Lipu Fei
b59eadce1c Fix AutoSave crashing the early crash dialog
CURA-4895
2018-02-05 11:28:16 +01:00
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