32 Commits

Author SHA1 Message Date
Jaime van Kessel
00dcf339c8 Visibility of processing message is now correct when switching between views.
CURA-971
2016-02-29 15:11:13 +01:00
Arjen Hiemstra
9e4f1539e0 Do not center the layer data but instead move the node it is attached to
Since all the layer data is offset by the same amount, we can simply
move the node, which saves us some processing when adding layers.

Contributes to CURA-708
2016-02-29 08:57:23 +01:00
Arjen Hiemstra
4573a233e9 Do not use insert to insert the Y height in the Layer data
Numpy's insert turns out to be slower than creating a new array and
manually copying values.

Contributes to CURA-708
2016-02-29 08:57:23 +01:00
Ghostkeeper
c50c223124 Rename variable for code style
The code style specifies using lowercase with underscores.

Contributes to issue CURA-864.
2016-02-23 09:38:51 +01:00
Jaime van Kessel
f66a264901 Added more yield thread to prevent GIL lockdown 2016-02-22 14:59:33 +01:00
Ghostkeeper
63a8b96049 Make layer processing abort when starting slice
This involved adding an abort flag to the layer processing job, and making the job check back on that flag periodically. If processing a single layer takes forever then it will never stop the job at all, so it assumes that the concurrent programming in Python is Fair.

Contributes to issue CURA-864.
2016-02-19 12:25:47 +01:00
fieldOfView
6e11c2409b Use working profile instead of "active" profile 2016-02-08 09:20:46 +01:00
Jaime van Kessel
7c744044fd Fixed merge issues & updated proto files 2016-02-02 11:25:10 +01:00
Arjen Hiemstra
ffec2484b7 Fix Layer view 2016-02-01 17:15:45 +01:00
Arjen Hiemstra
e74d300fb3 Make things work properly using the new Arcus API 2016-01-28 18:07:42 +01:00
Jaime van Kessel
0b920950d4 Layer processing is now only done when no slicing is occuring.
Contributes to CURA-693
2016-01-22 16:38:03 +01:00
Arjen Hiemstra
9267b517d6 Fix coding style issues 2015-11-27 16:53:32 +01:00
Arjen Hiemstra
751f58fb02 Merge branch '15.10'
* 15.10: (39 commits)
  Remove unused import in StartSliceJob
  conforming to code style
  fix typo's..
  Adjust initial view to be slightly from the side
  uses a different method to check whether a machine name excists
  Sets the languageComboBox to the default language
  Remove per-group settings for now
  Make sure to send all settings when an object overrides the profile
  Properly emit writeStarted in RemovableDriveOutputDevice
  Add xy_offset setting to list of settings that trigger a disallowed area update
  Properly trigger a reslice when the active instance is changed
  Wizardpages without hack
  Only hides the window when there are no more pages
  Only add layer data node after all processing
  Also account for "xy_offset" setting for the disallowed areas
  JSON: workaround for stutter in spiralize vase: set travel speed to printing speed
  Adds a color for the error-messages
  Shows an error message when a user tries to add a printer with a name that already excists.
  JSON: support bottom stair step height defaults changed so that the bottom distance to the model isn't violated too much
  Try to use Protobuf CPP implementation if it is available
  ...
2015-11-13 11:31:29 +01:00
Arjen Hiemstra
14abec095c Only add layer data node after all processing
This way we trigger a proper scene update and do not get odd incomplete
layers.

Contributes to CURA-224
Contributes to CURA-388
2015-11-05 14:42:17 +01:00
Arjen Hiemstra
0b2f0b2604 Add thread yields to several long running and heavy processing jobs
Contributes to CURA-358
2015-11-04 14:13:45 +01:00
Arjen Hiemstra
653b46d825 Properly report Layer data processing progress
Contributes to CURA-224
2015-11-04 14:13:45 +01:00
Jaime van Kessel
fdd485a884 Moved LayerData & Decorator outside of backend plugin 2015-09-23 15:01:48 +02:00
Jaime van Kessel
b55c4d8e46 Made message for layerview interdimate
Fixes Ultimaker/Cura#303
2015-09-17 16:54:36 +02:00
Arjen Hiemstra
b99a67ceb5 Display a more appropriate message when processing layers
Contributes to CURA-132
2015-09-10 16:25:26 +02:00
Tamara Hogenhout
4a9bf2b4d6 adds/adapts translation context markers
all nescessary in folder: Cura/plugins

Contributes to: issue CURA-116
2015-09-08 15:26:49 +02:00
Jaime van Kessel
4861e98624 Updated sliceobjectlistjob to new API 2015-09-02 14:30:36 +02:00
Jaime van Kessel
37433d2a8a Updated protocol & refactoring 2015-07-24 15:58:41 +02:00
Jaime van Kessel
c6f5ceaf56 LayerData now works by using decorators 2015-07-13 14:03:40 +02:00
Arjen Hiemstra
fb7b7ca7b8 Do not cause "dictionary changed size during iteration" errors when changing view
Connecting to a signal while it is emitting causes errors.
2015-07-13 13:52:17 +02:00
Arjen Hiemstra
8e085fa92d Prevent exceptions about using a variable before assigning it 2015-06-30 11:41:51 +02:00
Arjen Hiemstra
6b5c3d5878 Display progress information during processing of layer data
Contributes to Asana issue 38547857084327
2015-06-24 11:59:10 +02:00
Arjen Hiemstra
049f3c25ff Performance: Only calculate the platform center once, not for every poly
Contributes to #52
2015-06-22 17:04:30 +02:00
Arjen Hiemstra
75fff176f4 Add support for line width and infill types to LayerData::Polygon
Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
ad88506325 Use the new layer message properties to properly create layers
Now we use the height as provided by the engine to render the layer at.

Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
9d7e460b50 Add missing copyright headers
Fixes #5
2015-05-11 12:18:05 +02:00
Arjen Hiemstra
0a6562a8f1 Style: Use "" for strings not '' 2015-05-06 18:32:54 +02:00
Arjen Hiemstra
3823afd8cc Add 'plugins/CuraEngineBackend/' from commit '918d4b41c802f5e8acd0e271a261b73df0441346'
git-subtree-dir: plugins/CuraEngineBackend
git-subtree-mainline: 49210587fff4e64553a377b25cbdc78cc22ebbb1
git-subtree-split: 918d4b41c802f5e8acd0e271a261b73df0441346
2015-04-30 12:25:58 +02:00