52 Commits

Author SHA1 Message Date
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
6859481fd4 Send M104 to set the temperature to 0
This makes it possible to continue communication after cancelling a
print.

Contributes to #82
2015-07-10 16:02:01 +02:00
Arjen Hiemstra
f4153fa63e Only process the layer data if the layer view is active.
Contributes to #109
2015-07-10 11:25:40 +02:00
Arjen Hiemstra
ba80cdba67 Write to the correct variable so bed temperature is properly updated
Contributes to #82
2015-07-09 16:34:04 +02:00
Arjen Hiemstra
b458a4c6e3 Correct a copy-paste error in getConnectionList
Contributes to #82
2015-07-09 16:34:04 +02:00
Arjen Hiemstra
20874d88ad Properly close all open USB connections on shut down
Contributes to #82
2015-07-09 16:34:04 +02:00
Arjen Hiemstra
a83bcedb22 Catch errors when trying to close the connection thread
Contributes to #82
2015-07-09 16:34:04 +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
a9f109fd74 Fix USB printing on Linux
Contributes to #82
2015-07-07 11:30:00 +02:00
Arjen Hiemstra
17e5d1f835 Fix styling of USB Printing control and firmware window
Contributes to Ultimaker/Uranium#8
2015-07-07 11:30:00 +02:00
Arjen Hiemstra
d7c5238b7f Remove the close button since it does not work
Contributes to Ultimaker/Uranium#8
2015-07-01 02:52:29 +02:00
Arjen Hiemstra
cc58f4d159 More fixes for the Firmware update window
Now it works on MacOSX

Contributes to Ultimaker/Uranium#8
2015-07-01 02:49:44 +02:00
Arjen Hiemstra
9aa386c2b0 Remove the check for connected printers
Not doing anything at all is actually worse because it looks like it is
broken.

Contributes to Ultimaker/Uranium#8
2015-07-01 01:27:43 +02:00
Arjen Hiemstra
ff896907ea Fix errors due to changes in USBPrinter
Contributes to Ultimaker/Uranium#8
2015-07-01 00:24:08 +02:00
Arjen Hiemstra
7878456c9b Improve styling of Firmware update window
Contributes to Ultimaker/Uranium#8
2015-06-30 23:33:42 +02:00
Arjen Hiemstra
59fbf72ac3 Use a proper path for the firmware/printing window and set some additional properties
Contributes to Ultimaker/Uranium#8
2015-06-30 23:33:10 +02:00
Arjen Hiemstra
a604f2041a Do not show a firmware update window if there are no printers connected
Contributes to Ultimaker/Uranium#8
2015-06-30 23:32:06 +02:00
Arjen Hiemstra
8e085fa92d Prevent exceptions about using a variable before assigning it 2015-06-30 11:41:51 +02:00
Arjen Hiemstra
f6f3eba3ff Always emit a progress of 1.0 once we have finished slicing
Contributes to Asana issue 39317829262610
2015-06-30 11:41:51 +02:00
Tamara Hogenhout
c6151c2343 Restyling of the save to toolpath button
The save to button only shows a short description, not the entire description including device-name.

Contributes to #54
2015-06-25 18:38:43 +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
d28f84d732 Abort attempts to connect if an error is thrown when connecting to the serial port
This fixes an issue where thread.join() would be called from the current thread
which fails.
2015-06-23 12:29:05 +02:00
Arjen Hiemstra
72b1302f9e Disable slicing and platform physics when an operation is being performed
This prevents the model from jumping around during rotation/scale

Fixes #56
2015-06-22 17:23:32 +02:00
Arjen Hiemstra
bc055a8031 Rework LayerData mesh generation for improved performance
Rather than using a lot of calls to MeshData::addVertices which is very
slow, pre-allocate numpy arrays, fill them with data from the polygons
and then assign them to the mesh data's arrays. This greatly increases
performance of the layer data calculation.

Contributes to #52
2015-06-22 17:11:11 +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
bc98eb40ba Change "Update" back to "Update Firmware"
String change that should not have happened.

Contributes to #57
2015-06-17 16:03:07 +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
06b5e9d0ca Add a createMesh function to LayerData::Layer that creates a mesh from a layer
Contributes to #52
2015-06-16 13:20:22 +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
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
2aa2d4d1a8 Update generated protobuf protocol file as per CuraEngine changes
Contributes to Ultimaker/Cura#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
Jaime van Kessel
f57d2693fe Updated name in menu for firmware update 2015-06-05 13:26:51 +02:00
Jaime van Kessel
b5fda5b835 Added exception handling to listen thread join 2015-06-05 13:26:51 +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
1471a6815f Do not slice if there is any setting with an error value
Fixes #7
2015-05-27 16:25:39 +02:00
Arjen Hiemstra
7e9870c6cb Set default engine location to unix standard bin dir
Contributes to #41
Contributes to #42
2015-05-18 15:00:53 +02:00
Arjen Hiemstra
9d7e460b50 Add missing copyright headers
Fixes #5
2015-05-11 12:18:05 +02:00
Arjen Hiemstra
a6d5bf04d8 Fix syntax error 2015-05-07 16:36:07 +02:00
Arjen Hiemstra
acf5120cff Add missing translation markers 2015-05-07 16:33:37 +02:00
Arjen Hiemstra
dca39383d9 Update Cura plugin metadata 2015-05-07 16:32:38 +02:00
Arjen Hiemstra
0a6562a8f1 Style: Use "" for strings not '' 2015-05-06 18:32:54 +02:00
Arjen Hiemstra
1646007e9c Use the right catalog for the Cura plugins 2015-05-01 15:56:44 +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
Arjen Hiemstra
bda10b5ce5 Add 'plugins/GCodeWriter/' from commit '6fc044387a3de779032ce69812040bb772971ddc'
git-subtree-dir: plugins/GCodeWriter
git-subtree-mainline: 92afe31e370d117e74c0ea2da9da559db7fa4603
git-subtree-split: 6fc044387a3de779032ce69812040bb772971ddc
2015-04-30 14:43:27 +02:00