5951 Commits

Author SHA1 Message Date
Arjen Hiemstra
ea5dc00080 Bump LayerView API version to 3
It does not use any setting API so it is safe
2016-05-23 18:21:23 +02:00
Ghostkeeper
6116f592b3 Remove print
This was printing all settings that were being sent to the engine. Could've been useful, actually. Maybe I'll re-add it in the form of a log.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
c6d3677d6f Remove unused function
There are no machine instances any more. We can just listen for setting value changes.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
90ce0f44c3 Document remaining functions of CuraEngineBackend
They have all been checked for correctness now. While I was doing that, I documented their working as far as I could understand.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
9217dd3e1b Remove unused function
No longer used due to fix for setting rework.

Contributes to issues CURA-1278 and CURA-1288.
2016-05-23 17:19:18 +02:00
Ghostkeeper
c8de272ec4 Document old functions
I was reading through these to check if they'd still work. They should still work, but since I went through them I went ahead and documented them too.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
e94220f46d Remove commented code
Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
6fcba4cdde Fix typo in error message
Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
15333fa940 Codestyle: Spaces after commas
Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
70b52f4b62 Also get setting values of child definitions
Otherwise we just get the setting categories, which is not very useful.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
9dab21c4d0 Fix getting print_sequence setting
The setting is used to group items for one-at-a-time printing before they're sent to the engine. This properly gets the setting value under the new setting system.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
8f1860413b Always send FDMPrinter definition via socket
We don't save the file name any more. The engine doesn't need any machine-specific definitions at the moment, so we can always just send FDMPrinter.. This may later change, but later we will also send a serialised JSON rather than a file name so then we won't need the file name any more.

Contributes to issues CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
8a21ac77ed Re-implement sending global settings
It turns out to be mostly the same.

Contributes to issue CURA-1278 and CURA-1588.
2016-05-23 17:19:18 +02:00
Ghostkeeper
b03aa246a0 Call new function to send global settings
I'm going to rename this function to be able to send per-extruder and per-object settings with different functions later on. This updates the call to the function to use the new one.

Contributes to issue CURA-1278.
2016-05-23 17:19:18 +02:00
Ghostkeeper
eb951ed07c Fix potential concurrency of finishing before connected to finishing
This was a concurrency issue: If the slicing was very fast, it could finish slicing before the listener was connected to the message of being finished. Therefore, we should connect to being finished before we even start the start-slice job.

Contributes to issue CURA-1278.
2016-05-23 17:19:18 +02:00
Ghostkeeper
63bf5bec3d Remove _profile from start slice job parameters
Instead, the start slice job searches for the container stack itself.

Contributes to issue CURA-1278.
2016-05-23 17:19:18 +02:00
Ghostkeeper
a0645a44c8 Re-enable slicing message
Nothing appears right now, but this enables progress to show later on in the progress (if it would get there).

Contributes to issue CURA-1278.
2016-05-23 17:19:17 +02:00
Ghostkeeper
ae6f4912e6 Remove unnecessary variable initialisation
This isn't C++ or anything. Variable scope isn't limited by if statements.

Contributes to issue CURA-1278.
2016-05-23 17:19:17 +02:00
Ghostkeeper
83c1ea2ccc Move message hide into terminate function
Always if we terminate we want to hide the old message. This fixes the message not hiding when using the tools.

Contributes to issue CURA-1278.
2016-05-23 17:19:17 +02:00
Ghostkeeper
ab2a6136d7 Filter setting changed listener properly
The parameters of the listener were out of date and it should only trigger a reslice if we're changing the value of a setting, not any other property.

Contributes to issue CURA-1278.
2016-05-23 17:19:17 +02:00
Ghostkeeper
e5df225b1e Connect SettingChanged to new propertyChanged function
The listener doesn't properly listen to the signal's parameters yet though.

Contributes to issue CURA-1278.
2016-05-23 17:19:17 +02:00
Ghostkeeper
bace52fccf Add documentation
I need a bit of documentation for myself to understand this process.

Contributes to issue CURA-1278.
2016-05-23 17:19:17 +02:00
fieldOfView
740f3775fa Reset stored layer data as soon as a new slice operation starts
This prevents layer view showing a combination of stale and fresh data

Fixes CURA-1370 (and CURA-1519)
2016-05-23 12:07:02 +02:00
fieldOfView
f8c8de86bc Fix showing changelog when the first item in the changelog doesn't start with an "*"
CURA-1583
2016-05-23 11:35:01 +02:00
Simon Edwards
0b858f3878 Introduced a LayerDataBuilder. Made LayerData immutable just like its superclass. Fixed the layer view which broke.
Contributes to CURA-1504
2016-05-23 09:49:31 +02:00
Arjen Hiemstra
e0c7ed8561 Add a plugin that loads XML materials and an example material 2016-05-23 02:19:39 +02:00
Jaime van Kessel
dcb27e23ed Merge branch 'settings_rework' of https://github.com/Ultimaker/Cura into settings_rework 2016-05-20 17:22:13 +02:00
Jaime van Kessel
fc7f349801 Added rudimentary filtering
Current implementation looks for an exact mach, whereas we should look for text in property.

CURA-1278
2016-05-20 17:21:09 +02:00
Ghostkeeper
754932f83a Move LegacyProfileReader to new setting structure
Untested as the profile manager is not functional at the moment.

Contributes to issue CURA-1278.
2016-05-20 16:22:10 +02:00
Ghostkeeper
7cc62db81d Increment XRayView API number
This plug-in still works, so this can be incremented without trouble.

Contributes to issue CURA-1278.
2016-05-20 16:22:10 +02:00
Jaime van Kessel
e9380ba83d Added rudimentary display of settings again
CURA-1278
2016-05-20 15:08:17 +02:00
Jaime van Kessel
bcff683fb0 Removed old perobject setting code, so plugin is actually loaded (instead of crashing)
CURA-1278
2016-05-20 14:15:06 +02:00
Jaime van Kessel
295cea338c Translate tool is now no longer stopped by ton of errors
CURA-1278
2016-05-20 14:09:58 +02:00
Ghostkeeper
2696f883b0
Add a bit of documentation
I was going further with this, but then it was decided that we need to do this later but I won't throw away this bit of documentation when I have it anyway.

Contributes to issue CURA-1278.
2016-05-19 16:31:29 +02:00
Simon Edwards
dfccbf636a Fixed up the ImageReader after the breaking changes else where.
Contributes to CURA-1504
2016-05-19 15:10:31 +02:00
Arjen Hiemstra
4de0a208d1 Fix version number and remove beta tag in Changelog
Fixes CURA-1575
2016-05-19 14:52:11 +02:00
Arjen Hiemstra
b621958098 Fix uses of getValue after its removal from Uranium API 2016-05-18 16:45:44 +02:00
Jaime van Kessel
a5f8546d69 Fixed cases where getValue was still used.
We now use getProperty instead

CURA-1278
2016-05-18 16:29:57 +02:00
Tim Kuipers
62a53bfa1a Merge branch 'master' of https://github.com/Ultimaker/Cura 2016-05-13 13:22:54 +02:00
fieldOfView
f9adb2c601 Reset stored layer data as soon as a new slice operation starts
This prevents layer view showing a combination of stale and fresh data

Fixes CURA-1370 (and CURA-1519)
2016-05-13 13:05:58 +02:00
Tim Kuipers
883d138f67 Merge branch '2.1' 2016-05-13 12:19:19 +02:00
Ghostkeeper
76f78295c4
Translation correction suggested by BagelOrb
BagelOrb indicated the translation wrongly at first. This is apparently correct.

Contributes to issue CURA-1549.
2016-05-12 10:28:18 +02:00
Ghostkeeper
c79d064107
Convert raft_airgap settings to float before computing
Can't subtract strings from each other, after all.

Contributes to issue CURA-1549.
2016-05-11 18:26:18 +02:00
Ghostkeeper
5a7486a32e
Add conversion of First Layer Airgap from legacy
First Layer Airgap's internal name is raft_airgap (yeah don't ask).

Contributes to issue CURA-1549.
2016-05-11 17:27:14 +02:00
Jaime van Kessel
93227c0b56 Updated removabledrive plugin to use metadata
CURA-1278
2016-05-10 11:28:57 +02:00
Jaime van Kessel
dbd2c911ce Renamed active containerstack to global containerstac
Cura-1278
2016-05-10 10:34:02 +02:00
Ghostkeeper
ed0f4e6c67 Fix grammar mistake
Suggested by Jorg.
2016-05-10 09:17:23 +02:00
Jaime van Kessel
0049ee1377 SolidView now uses activeContainerStack
CURA-1278
2016-05-09 15:42:47 +02:00
Simon Edwards
2f54e3554a When trying to exit the application, forcefully shutdown the backend exe.
Fixes CURA-1453 Cura in slicing loop (Arcus Error (6, native 54))
2016-05-09 12:42:51 +02:00
Arjen Hiemstra
38492cb230 Update API version of two required plugins 2016-05-09 12:06:35 +02:00