68 Commits

Author SHA1 Message Date
Arjen Hiemstra
288ad0c201 Remove per-group settings for now
This drops Layer height as a setting that can be changed per-object but
makes per-object settings work correctly.

Contributes to CURA-255
2015-11-06 17:56:51 +01:00
Arjen Hiemstra
f75b6bb046 Make sure to send all settings when an object overrides the profile
Contributes to CURA-255
2015-11-06 17:55:36 +01:00
Arjen Hiemstra
aa895c1b15 Properly trigger a reslice when the active instance is changed
Contributes to CURA-394
2015-11-05 18:18:42 +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
cb05aee391 Move the start of slicing to a proper job
This way it can be properly threaded (with a generous sprinkling of
"yieldThread") so we do not block the UI when slicing starts.

Contributes to CURA-358
2015-11-04 14:13:45 +01:00
Arjen Hiemstra
20b828ecee Add a Job subclass that handles sending data to the engine
This can be used by the CuraEngine backend to reduce lag when we start
slicing.

Contributes to CURA-358
2015-11-04 14:13:45 +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
Arjen Hiemstra
75b8466065 Speed up building of the layerdata mesh
Use numpy copies rather than python iteration since it is far faster.

Contributes to CURA-224
2015-11-04 14:13:45 +01:00
Hajo Nils Krabbenhöft
1e5a2ddab9 hide jumps from line view + fix solid display 2015-10-08 15:28:38 +02:00
Hajo Nils Krabbenhöft
3ed5a466a3 regenerate python protobuf reader 2015-10-08 15:28:38 +02:00
Hajo Nils Krabbenhöft
cead06e925 colors 2015-10-08 15:28:38 +02:00
Hajo Nils Krabbenhöft
5505d5dc74 introduce combind and retraction polygon types 2015-10-08 15:28:38 +02:00
Arjen Hiemstra
560662ac59 Properly clear stored layer data
This fixes an issue where switching back and forth between layer view
would trigger a reload of the layer data
2015-10-06 12:07:57 +02:00
Arjen Hiemstra
aac269f82a Render SupportInfillType so support is rendered correctly again.
Fixes #445
2015-10-06 12:07:57 +02:00
Jaime van Kessel
7c9b190bee Split up onChanged code a bit for easier debugging 2015-09-22 13:47:52 +02:00
Jaime van Kessel
f8d677eee8 Connected tool operation events (again?)
Fixes Ultimaker/Cura#418
2015-09-22 11:52:04 +02:00
Jaime van Kessel
b55c4d8e46 Made message for layerview interdimate
Fixes Ultimaker/Cura#303
2015-09-17 16:54:36 +02:00
Jaime van Kessel
c076e28e5f Changed infill color to amber 2015-09-17 15:21:16 +02:00
Jaime van Kessel
6aea81232d Added documentation 2015-09-17 14:50:52 +02:00
Jaime van Kessel
48d233ca84 Added explicit debug logging to slice process 2015-09-17 14:46:35 +02:00
Jaime van Kessel
631c02bf2c Added message when slicing was cancelled due to errors in settings.
Fixes CURA-166
2015-09-17 10:50:04 +02:00
Jaime van Kessel
fccf365424 When a new reslices is triggered the old data is removed 2015-09-16 15:56:37 +02:00
Arjen Hiemstra
0148186c7a Display a slicing message when performing a slice operation 2015-09-12 20:08:40 +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
Arjen Hiemstra
e40c785d86 Use the right values when sending profile overrides
Contributes to #325
2015-09-08 17:41:46 +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
fc4f8da242 Added logging when not slicing due to error values 2015-09-02 14:05:49 +02:00
Jaime van Kessel
7d2eb5468c Reverted to older version of the proto file so it no longer crashes 2015-09-02 09:51:32 +02:00
Arjen Hiemstra
57b2ce4f3e Merge branch 'master' of github.com:ultimaker/Cura into per_object_settings
* 'master' of github.com:ultimaker/Cura: (49 commits)
  15.10 restyling of the sidebar header
  15.10 restyling of the sidebar header
  15.10 restyling of the sidebar
  split magic_mesh)surface_mode into Normal, Surface, Both
  Added preference to disable automatic scale
  Removed unused import
  Added changeLog plugin
  Added missing )
  Merging of mine and Jaimes work
  Removed font from rectangle
  JSON: git diff! removed triangles and grid top/bottom skin options (though they are available)
  Code style & switch to translation catalog
  15.10 re-alignment of the toolbar
  15.10 New Icons
  15.10 restyling of the savebutton Area
  Added message asking about sending data to server
  Added exception handling for checking overlap.
  Fixed default button for general and view page
  Fixed double ID in qml
  Removed unused import
  ...
2015-09-01 15:44:19 +02:00
Arjen Hiemstra
1f82e83093 Use SettingOverrideDecorator::getAllSettingValues to get per-object settings 2015-09-01 15:04:55 +02:00
Arjen Hiemstra
e6e563cf09 Use the profile for getting setting values, not the machine instance 2015-08-27 09:36:09 +02:00
Jaime van Kessel
a85347134e Added check to see if requested layer is in the list.
contributes to #193
2015-08-24 10:34:40 +02:00
Jaime van Kessel
752a4b26fa Forced reset of progress when no model was found on platform 2015-08-24 09:50:14 +02:00
Jaime van Kessel
4dd2b15ab5 Added force reslice function 2015-08-24 09:43:54 +02:00
Arjen Hiemstra
fd8185fcb9 Properly send profile and setting changes to the engine
This includes everything from the profile and all settings with child
settings.
2015-08-19 19:15:54 +02:00
Arjen Hiemstra
a8c302a8ed Properly send per-object settings to the engine 2015-08-18 18:11:05 +02:00
Arjen Hiemstra
1947d773a3 Update all usage of activeMachine to the new API 2015-08-05 20:12:29 +02:00
Arjen Hiemstra
842689d88e Update all uses of the Resources API with the changed API 2015-08-05 17:26:52 +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
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
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
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