34 Commits

Author SHA1 Message Date
Thomas-Karl Pietrowski
0b93328aeb Using PyDev compatible tags 2016-03-15 12:52:29 +01:00
Thomas-Karl Pietrowski
7bc99c8c19 Removing unneeded imports and marking unused variable
Not sure whether there is a WIP on the unused variable
2016-03-14 17:18:45 +01:00
Jaime van Kessel
c4c5ba6c22 Top layers are now correctly updated when object is selected
CURA-992
2016-03-03 11:36:28 +01:00
Jaime van Kessel
41d00af345 Moved timer back again, as arjen fixed the real issue 2016-03-01 10:57:29 +01:00
Arjen Hiemstra
110c3fa754 Do not react to all Scene changes in LayerView but just childrenChanged
When the layer data is updated, a new node is attached to the scene
root. We can thus watch for only children changes since everything else
can be ignored.

Contributes to CURA-938
2016-03-01 02:11:46 +01:00
Arjen Hiemstra
f2d98cfba3 Do not show a message when processing top layers but rather leave it up to QML
Contributes to CURA-957
2016-03-01 02:11:46 +01:00
Arjen Hiemstra
e0afc1535a Add a busy property to LayerView that indicates whether we are currently building top layers
Contributes to CURA-957
2016-03-01 02:11:46 +01:00
Jaime van Kessel
67d10ef0a2 UpdateTopLayer timer is now only triggered when max layers changes
CURA-969
2016-02-29 15:51:40 +01:00
Arjen Hiemstra
220146b0a9 Also trigger an update of the top layers when recalculating the layer count
Contributes to CURA-938
2016-02-29 08:57:23 +01:00
Arjen Hiemstra
f37b422ccb Display a message when processing the top layers takes a long time
Contributes to CURA-957
2016-02-29 08:57:23 +01:00
Arjen Hiemstra
a60bfa3d32 Perform creation of top solid layers in a background thread
This way we have a much more responsive layer view
2016-02-23 17:53:51 +01:00
Jaime van Kessel
01ecd9357c Max size & value are now set in correct order for layerview
CURA-763
2016-02-04 12:14:59 +01:00
Ghostkeeper
0d16fdf3ba Use a uniform-color shader for selection
In layer view, the selection shader is now a uniform-color shader. This shader does not use the vertex colours but makes the entire silhouette the same colour.

Contributes to issue CURA-625.
2016-01-21 14:24:57 +01:00
Arjen Hiemstra
435186e6d1 Fix convex hull and layer view rendering 2015-12-14 13:56:32 +01:00
Arjen Hiemstra
7982e79940 Merge branch '15.10'
* 15.10: (37 commits)
  Tweak the initial camera position
  Never disable the view button
  Use selection status to disable/enable tools rather than platform activity
  JSON: bugfix: skirt_speed was the only child of speed_layer_0, which meant you couldnt tweak them separately
  Fix Windows build
  Move all contributed profiles to an "Other" manufacturer
  Bump version
  Make the Infill buttons and support checkboxes in Simple mode functional
  Fix the variants menu so the variants actually get added
  Try to add a page when the name of a wizard page is unknown
  Catch any exception that happens while trying to eject
  Set High Quality to 0.08 layer height
  Capture stdout and stderr on Windows to prevent py2exe messages
  Add missing Ulti and Low quality profiles
  JSON: bugfix/feat: wall_line_width defaults to nozzle size and wall_line_count computed properly
  When you click [Manage Printers..] it brings you to the right page
  Delay showing the Add Machine dialog until after the main window is properly shown
  Adds a smaller cross icon
  Use the job name for saving files
  Update RemovableDrive and USB output devices to use the new file_name parameter
  ...
2015-10-01 15:47:18 +02:00
Jaime van Kessel
c21ad3df08 Added checks to prevent nonetype issues
Fixes Ultimaker/Cura#417
2015-09-22 11:56:13 +02:00
Hajo Nils Krabbenhöft
24fc2d8154 add _current_layer_jumps 2015-09-20 22:58:07 +02:00
Jaime van Kessel
4639be180d Layerview now uses ctrl+ arrow to move through layers (just like legacy cura) 2015-09-14 15:18:45 +02:00
Jaime van Kessel
a0a0f3ea01 Added exception handling to layerview
Fixes Ultimaker/Cura#362
2015-09-10 11:16:55 +02:00
Arjen Hiemstra
09cfda095b Convert the last bits over to the changed API 2015-08-11 17:02:17 +02:00
Jaime van Kessel
c6f5ceaf56 LayerData now works by using decorators 2015-07-13 14:03:40 +02:00
Tamara Hogenhout
ae89ef37c0 Enlarge the zone where you can use scrolling to look trough the layer mode.
Also make it more visible

fixes #118
2015-07-09 16:27:31 +02:00
Tamara Hogenhout
53a94c23e1 Adds layer count
Brings back the layer count, the min & max. And it does not display these untill Cura is done slicing.

Fixes #117
2015-07-08 18:01:03 +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
995b76fad9 Implement rendering the top 5 layers solid and with infill
Fixes #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
9849283144 Do not render the convex hull node unless the object is selected
Contributes to #52
2015-06-16 13:20:22 +02:00
Arjen Hiemstra
d9ad54cd0d Rescale the current layer number based on the maximum layer
This makes sure we still have the top layer selected when we
receive new data.

Contributes to Asana issue 34806173176751
2015-06-08 16:31:38 +02:00
Jaime van Kessel
66e50ceb37 Merge branch '15.06' of https://github.com/Ultimaker/Cura into 15.06
Conflicts:
	plugins/LayerView/LayerView.py
2015-06-05 17:43:34 +02:00
Jaime van Kessel
a2c099a7d8 Implemented feature described by #30 2015-06-05 17:40:57 +02:00
Arjen Hiemstra
81b41b8889 Render a transparent ghost of the selection when things are selected.
Fixes Asana issue about layer view
2015-06-05 13:26:51 +02:00
Jaime van Kessel
33c69b32f8 Fix for #29 2015-06-05 12:10:13 +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
81aac4a1c1 Add 'plugins/LayerView/' from commit 'ffcf5c7885b5ebf9d99103b68f03fb86d5610d27'
git-subtree-dir: plugins/LayerView
git-subtree-mainline: bda10b5ce5b6933c3952d4e3999b886c5dc31443
git-subtree-split: ffcf5c7885b5ebf9d99103b68f03fb86d5610d27
2015-04-30 14:55:46 +02:00