9930 Commits

Author SHA1 Message Date
Arjen Hiemstra
a8c36282fb Merge branch 'master' into output_device
* master: (22 commits)
  Added grouping action
  LayerData now works by using decorators
  Do not cause "dictionary changed size during iteration" errors when changing view
  Adds an idle-state for the layerview slider
  Adds an idle-state for the safebutton
  Sets the platform activity on true when a model is loaded
  Sets the platform activity on true when a model is loaded
  Create functions that get & set platform activity
  Send M104 to set the temperature to 0
  Do not store files that fail to load in recent files
  feat: infill wipe dist; wireframe restructure & renaming; bugfix: draft_shield_height inherit_function
  Also add the parent class' command line arguments
  Only process the layer data if the layer view is active.
  Write to the correct variable so bed temperature is properly updated
  Correct a copy-paste error in getConnectionList
  Properly close all open USB connections on shut down
  Catch errors when trying to close the connection thread
  Enlarge the zone where you can use scrolling to look trough the layer mode.
  included retraction_extra_prime_amount
  tiniest detail concerning the padding of the layer count label
  ...
2015-07-31 12:15:18 +02:00
Arjen Hiemstra
825349b47b Add RemovableDrive plugin that has been moved from Uranium
Since it now depends on GCodeWriter we should put it somewhere where
GCodeWriter actually exists.
2015-07-30 17:14:22 +02:00
Tim Kuipers
294c7c0f09 new back end call, following new command line parsing 2015-07-30 15:05:07 +02:00
Jaime van Kessel
5897237710 removed debug code 2015-07-29 16:13:12 +02:00
Arjen Hiemstra
d6b3044c79 Update GCodeWriter to the new API 2015-07-28 17:57:08 +02:00
Arjen Hiemstra
9d3b36e3ae Fix USB printer detection and reconnect after firmware update on MacOSX
Rather than sending an M105 only after receiving a line with T:, always
send M105 when we are trying to detect baudrate, otherwise we can end
up in an undefined state.

Contributes to #82
2015-07-27 18:50:10 +02:00
Jaime van Kessel
37433d2a8a Updated protocol & refactoring 2015-07-24 15:58:41 +02:00
Jaime van Kessel
453047df1f Fix to grouped one at a time 2015-07-24 10:55:59 +02:00
Jaime van Kessel
ea66139751 Modifications to enable one at a time (still WIP) 2015-07-23 10:18:58 +02:00
Jaime van Kessel
78ebb13089 Changes required for printing one at a time 2015-07-22 11:46:12 +02:00
Arjen Hiemstra
d659e5b8b8 Merge branch '15.06'
Conflicts:
	cura/CuraApplication.py
2015-07-15 00:38:29 +02:00
Arjen Hiemstra
c1d8e204b7 Increase baud rate detection timeout and do not send \n between M105
Improves printer detection rate on MacOSX

Contributes to #82
2015-07-15 00:19:35 +02:00
Jaime van Kessel
c6f5ceaf56 LayerData now works by using decorators 2015-07-13 14:03:40 +02:00
Arjen Hiemstra
89b175bc5c Merge branch '15.06'
* 15.06:
  Do not cause "dictionary changed size during iteration" errors when changing view
  Adds an idle-state for the layerview slider
  Adds an idle-state for the safebutton
  Sets the platform activity on true when a model is loaded
  Sets the platform activity on true when a model is loaded
  Create functions that get & set platform activity
  Send M104 to set the temperature to 0
  Do not store files that fail to load in recent files
2015-07-13 13:52:33 +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
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
fec2207b50 Merge branch '15.06'
* 15.06:
  Also add the parent class' command line arguments
  Only process the layer data if the layer view is active.
  Write to the correct variable so bed temperature is properly updated
  Correct a copy-paste error in getConnectionList
  Properly close all open USB connections on shut down
  Catch errors when trying to close the connection thread
  Enlarge the zone where you can use scrolling to look trough the layer mode.
  tiniest detail concerning the padding of the layer count label
  Adds layer count
2015-07-10 13:10:15 +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
032e27c68c Merge branch '15.06' 2015-07-08 13:03:05 +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
a429e362ad Merge branch '15.06'
* 15.06:
  Update changelog
  Correct the bottom offset we add when setting the volume for scale to max
  Display progress information during processing of layer data
  If findObject returns none but object_id != 0 use the selected object
  Offset the displayed rotation angle so it does not overlap the mouse cursor
  Abort attempts to connect if an error is thrown when connecting to the serial port
  Fix recent files on Windows
  Defer opening the webbrowser until the next run of the event loop
  Disable slicing and platform physics when an operation is being performed
  Rework LayerData mesh generation for improved performance
  Performance: Only calculate the platform center once, not for every poly
  Add application icons for all three platforms
2015-06-24 12:06:39 +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
7949385764 Merge branch '15.06'
* 15.06:
  Format after translating, not before
  Change "Update" back to "Update Firmware"
  Properly translate mode menu
  Add russian translations
  Add missing translations to the list of translations to build
  Remember the previuos active tool on selection change
  Use python's webbrowser instead of Qt.openUrlExternally for opening urls
  adds styling for both the regular as the indeterminate progressbar
  adds styling for a regular progressbar
2015-06-17 16:15:00 +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
46576ba5e7 Merge branch '15.06'
* 15.06:
  Implement rendering the top 5 layers solid and with infill
  Add a createMesh function to LayerData::Layer that creates a mesh from a layer
  Add support for line width and infill types to LayerData::Polygon
  Use the new layer message properties to properly create layers
  Do not render the convex hull node unless the object is selected
  Update generated protobuf protocol file as per CuraEngine changes
  helps with making the messagestack adapt to the total size of messages + pogressbar
  Defines the style of the progressbar
  Makes the openfile button blue/active as long as there is no file loaded.
2015-06-16 14:06:57 +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