88 Commits

Author SHA1 Message Date
Jaime van Kessel
a63d08288a Ignored runtime exception for usb thread 2015-08-13 12:14:47 +02:00
Jaime van Kessel
04b8961297 Updates to ensure that usb printing now works via output device API 2015-08-12 15:19:20 +02:00
Jaime van Kessel
a47c8f7ef6 Updated documentation 2015-08-11 16:01:12 +02:00
Jaime van Kessel
102b2e7fa0 Fixed crash when no transformation was provided in 3mf file 2015-08-11 15:09:00 +02:00
Jaime van Kessel
d0769f0ac9 Fixes for 3mf multiple object loading 2015-08-11 14:59:39 +02:00
Jaime van Kessel
f2a4091304 First implementation of 3mf reader 2015-08-10 16:38:46 +02:00
Arjen Hiemstra
26aa78c3b9 Fix OSXRemovableDevicePlugin so it works properly on OSX 2015-08-04 15:39:58 +02:00
Arjen Hiemstra
1819caaed4 Merge branch 'output_device'
* output_device:
  Update all plugin metadata to specify API version
  Remove LocalFileStorage from required plugins and add LocalFileOutputDevice
  Add RemovableDrive plugin that has been moved from Uranium
  Add an icon for "save all" and only enable the action when it makes sense
  Disable recent files if there are no recent files and add an icon
  Properly implement Save Selection
  Return empty string so we get no errors about assigning undefined to string
  Update SaveButton to the changed OutputDevicesModel API
  Update GCodeWriter to the new API
  Add mime types to GCodeWriter plugin
  Write to the right device after changes in Uranium API
  Remove the output_device related stuff from CuraApplication and fix the qml
  Use the OutputDeviceModel for selecting output device
  Try to load all plugins, not just plugins with certain metadata
2015-07-31 17:37:25 +02:00
Arjen Hiemstra
a7780d9e42 Update all plugin metadata to specify API version 2015-07-31 17:07:33 +02:00
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
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