Commit graph

6802 commits

Author SHA1 Message Date
Simon Edwards
234130eb7a Added a static "app version" method.
CURA-3335 Single instance Cura and model reloading
2017-02-13 11:58:14 +01:00
Jaime van Kessel
94439eddd4 Merge branch 'switching_performance_fixes' of github.com:Ultimaker/Cura 2017-02-13 11:07:36 +01:00
Jaime van Kessel
ce5f435be9 Merge branch 'master' of github.com:Ultimaker/Cura 2017-02-13 11:07:25 +01:00
Jaime van Kessel
c18fb02f82 Removed unneeded (and somewhat expensive) checks
CURA-3311
2017-02-13 11:06:21 +01:00
Ghostkeeper
784b223fc7
Merge branch '2.4' 2017-02-13 09:13:25 +01:00
Simon Edwards
88395ebb6a Reliability fix and more debug for testing purposes.
CURA-3335 Single instance Cura and model reloading
2017-02-12 20:37:48 +01:00
Thomas Karl Pietrowski
2464df053a Merge pull request #1421 from Torsten85/support-wch-driver
FEATURE: Support wsh usb driver (for mac)
2017-02-12 13:32:44 +01:00
Torsten Blindert
2fca555ea6 FEATURE: Support wsh usb driver 2017-02-11 16:34:49 +01:00
Ghostkeeper
ea043beb87 Merge branch '2.4' of github.com:Ultimaker/Cura into 2.4 2017-02-10 18:11:49 +01:00
Ghostkeeper
050f76e11d
Update quality profiles from material research
This locks initial layer speed at 20, without scaling from the normal print speed. It also adjusts some jerk and speed of support infill.
2017-02-10 18:09:34 +01:00
Jaime van Kessel
7838888d5c Merge branch '2.4' of github.com:Ultimaker/Cura 2017-02-10 16:43:08 +01:00
Jaime van Kessel
185f5fe1c4 Added a clarification to the changelog regarding the inital print temperature 2017-02-10 16:41:49 +01:00
Jaime van Kessel
5e3782e6c3 Added more authentication logging to network printing 2017-02-10 15:44:45 +01:00
Jaime van Kessel
5e5cc723d7 Calling the stop of USBPrinterOutput device no longer joins the thread.
This caused quite a bit of delay on the application closing down (up to 5 seconds!)
2017-02-10 15:03:34 +01:00
Jaime van Kessel
6e7c4711e3 When creating XML profiles, directly set the name
The setName function is intended if the user changes the name (as by means of the edit material menu).
For deserializing this simply gives too much overhead
2017-02-10 14:58:22 +01:00
Jaime van Kessel
f4d4fb9001 Material values are now also lazy loaded
CURA-3311
2017-02-10 14:50:16 +01:00
Jaime van Kessel
bda818b104 MetaData of material profile is now set in one batch instead of multiple calls
CURA-3311
2017-02-10 14:15:35 +01:00
Jaime van Kessel
fce9df756c Fixed pause slicing not working when moving an object
CURA-3361
2017-02-10 11:43:38 +01:00
Jaime van Kessel
28a3858bc2 Fixed small isue where no type was found in zeroconf object 2017-02-10 11:30:50 +01:00
Ghostkeeper
f5ac357824
Merge branch 'probonopd-patch-1' 2017-02-10 10:19:41 +01:00
Ghostkeeper
b5a88d5964 Merge branch 'patch-1' of https://github.com/probonopd/Cura into probonopd-patch-1 2017-02-10 10:19:27 +01:00
Ghostkeeper
928d13b1e5
Fix string-type settings by making them specify default_value
None of these settings get a 'value' property defined in fdmprinter, so they can safely use 'default_value' to specify their setting value.
2017-02-10 09:59:36 +01:00
Ghostkeeper
e1351e788f Merge branch 'patch-1' of https://github.com/probonopd/Cura into probonopd-patch-1 2017-02-10 09:44:07 +01:00
probonopd
f85e0f57ad Change gcode to default_value and remove single quotes 2017-02-09 19:21:52 +01:00
Jack Ha
655b3aa9cf Removed .gitignore from PauseBackendPlugin. CURA-3361 2017-02-09 17:20:49 +01:00
Jack Ha
3d1e5a84fc Added PauseBackendPlugin, added to changelog. CURA-3361 2017-02-09 17:19:59 +01:00
Jack Ha
c2bf88751e Enable functions pauseSlicing and continueSlicing in combination with BlockSlicingDecorator. CURA-3361 2017-02-09 16:06:36 +01:00
Simon Edwards
34793e06fb Removed debug. Toned down a FIXME.
CURA-3335 Single instance Cura and model reloading
2017-02-08 11:41:30 +01:00
Arjen Hiemstra
a63b4646e9 Postpone containersChanged signals of all active stacks
This avoids things taking longer because the not-active extruder stack
was still emitting containersChanged.
2017-02-07 17:01:52 +01:00
Arjen Hiemstra
0292756ad7 Do not limit containersChanged methods to a single container type
This may trigger a few extra updates, but allows us to use signal
compression in the postponesignals context manager, which greatly
improves performance.
2017-02-07 16:28:08 +01:00
Arjen Hiemstra
927055806c Postpone containersChanged signals when doign setActive* calls
This makes sure we do not trigger everything three times when switching
variants.
2017-02-07 16:26:44 +01:00
Simon Edwards
8a4b6adfb3 Flash the window icon instead of trying (and failing) to make it visible directly.
CURA-3335 Single instance Cura and model reloading
2017-02-07 15:47:45 +01:00
Simon Edwards
71d2990ca9 Merge branch 'single_instance' 2017-02-07 13:45:11 +01:00
Simon Edwards
412e299f0c Cleaned up and bug fixed the command loop.
CURA-3335 Single instance Cura and model reloading
2017-02-07 13:33:37 +01:00
Ghostkeeper
31b9318865 Merge branch 'patch-1' of https://github.com/probonopd/Cura into probonopd-patch-1 2017-02-07 11:45:01 +01:00
Jaime van Kessel
aeb8fbd82e Merge pull request #1407 from DelphinPETER/master
French translation - Little correction
2017-02-07 11:21:16 +01:00
PETER Delphin
b56cf165ec French translation correction 2017-02-06 23:38:55 +01:00
probonopd
62fdaf52f2 Add extra quotes as per https://github.com/Ultimaker/Cura/pull/1350#discussion_r99554294 2017-02-06 19:32:01 +01:00
Ghostkeeper
c19544a293
Remove duplicate minimum/maximum of prime tower Y position
This seems to have gone wrong in merging a pull request.
2017-02-06 14:26:26 +01:00
Ghostkeeper
39cbed61e5
Make machine_nozzle_expansion_angle min/max properly into functions
They are inheritance functions so they must be written as a string in the JSON.

Contributes to issue CURA-2572.
2017-02-03 11:30:54 +01:00
Simon Edwards
0e306df1bc Initial basic version of this feature.
CURA-3335
2017-02-02 15:59:09 +01:00
Ghostkeeper
425dbf1ad8
Only check for validationState changes if it's not already a value change
No need to check the second if-statement in most cases.

Contributes to issue CURA-3291.
2017-02-01 16:29:59 +01:00
Ghostkeeper
3ac9036b4a
Only listen for other container stack errors if multi-extrusion
It's not even necessary to check otherwise. Requesting an extruder stack would give None anyway, which would give errors.

Contributes to issue CURA-3291.
2017-02-01 16:28:45 +01:00
Ghostkeeper
a0ba1188a1
Always listen to changes on all extruder stacks of the current machine
We need to listen for changes on all extruder stacks because the values might change and therefore the validation states might change. The value of a different extruder stack could change if you change a global value that has impact on a per-extruder value via inheritance, or in this case if a limit-to-extruder property specifies that the setting should be changed on a different stack. It could change on the stack that is not active in either case.
This might have some performance impact, but it is very small. Other than layer_height there aren't many global settings that have impact on multiple extruders via inheritance. And via limit-to-extruder there will typically only be one changed value which you want to update for. Changing layer height will be a bit slower though.

Contributes to issue CURA-3291.
2017-02-01 16:17:12 +01:00
Ghostkeeper
362c5835ee
Don't use limit_to_extruder if it evaluates to -1
The default value for the limit_to_extruder property is -1. So no need to check if the property exists. Just check if it is positive.

Contributes to issue CURA-3291.
2017-02-01 14:42:06 +01:00
Ghostkeeper
ed2b09c975
Fix getting limit to extruder property
Apparently it didn't even reach this code up until now. Well, now it does.

Contributes to issue CURA-3291.
2017-02-01 14:26:37 +01:00
Ghostkeeper
039015e3df
Don't unnecessarily copy extruder stacks to list
You're just looping over it. No need to actually make a list out of it.

Contributes to issue CURA-3291.
2017-02-01 14:24:03 +01:00
Ghostkeeper
7d536e2f8b
Clarify global container stack checking code in _checkStacksHaveErrors
The order of operations was a bit weird. This made the code unclear and also required an extra check in an if-statement. This is simpler and theoretically even a bit faster.

Contributes sorta to issue CURA-3291.
2017-02-01 14:17:23 +01:00
Ghostkeeper
31e88aa5af
Also check for errors via limit_to_extruder settings
The error should then not be checked in the active stack but in the stack which has the correct setting value.

Contributes to issue CURA-3291.
2017-02-01 14:14:50 +01:00
Ghostkeeper
9cf0fdc4a3
Add quality profiles for ABAX printers
These are delivered to me by Pedro J. of ABAX 3D Tech. I modified the file names to be in line with our code standards, and I modified the link to the machine definition to coincide with the file names that were changed there to be in line with our code standards.
2017-02-01 13:17:02 +01:00