9930 Commits

Author SHA1 Message Date
Arjen Hiemstra
949fd199a8 Fix the last code style issue 2015-11-30 11:56:08 +01:00
Arjen Hiemstra
9267b517d6 Fix coding style issues 2015-11-27 16:53:32 +01:00
daid
743b403b29 Whole bunch of um-pep8 style fixes. 2015-11-27 13:50:44 +01:00
daid
9302a36391 Small codestyle fix. 2015-11-26 15:29:32 +01:00
Tamara Hogenhout
1a4a396abd Makes it the same size as most other dialogs
Also makes it more readable

Contributes to #CURA-279
2015-11-19 16:03:15 +01:00
Tamara Hogenhout
c690095103 Adds naming changes to the changelog
fixes #CURA-279
2015-11-19 15:43:20 +01:00
Arjen Hiemstra
09ea598d28 Merge branch '15.10'
* 15.10:
  Update translations with the 15.10 versions
  Disable languages we have no updated translations for
  Display the version number in the splash screen
  Properly raise DeviceBusyError in RemovableDriveOutputDevice
2015-11-17 14:25:23 +01:00
Tim Kuipers
8060ab02f9 lil bugfix in parsing startGcode 2015-11-17 10:27:25 +01:00
Arjen Hiemstra
3e2797d727 Properly raise DeviceBusyError in RemovableDriveOutputDevice
Contributes to CURA-448
2015-11-16 12:20:03 +01:00
Mark Walker
4a3db419ec Add back placeholder expansion for start/end gcode
See issue Ultimaker/CuraEngine#240

The intent of this change it to allow token replacement in start/end
gcode similar to the old Cura. Tokens are of the form
{material_bed_temperature} where the name is any setting name that is
passed to the engine.

Control the backend's generation of temperature commands via new
settings material_bed_temp_prepend and material_print_temp_prepend based
on whether there are temperature tokens in the printer profile's start
gcode.

This change will generate the same temperature gcode as FffGcodeWriter
at the head, if none of the temperature tokens are present in the
machine profile. Otherwise, they're suppressed via the prepend settings.

Also, set fdmprinter.json so that all that inherit from it default to
having the gcode temperature prepend also wait for temperature. Profiles
can override these settings: material_bed_temp_wait and
material_print_temp_wait

This PR intends to change both Cura and CuraEngine.  However, it is safe
to sequence with the Cura change first which will do token replacement
(if present), but will fail to supress the temperature prepends.
2015-11-16 02:22:47 -08:00
Arjen Hiemstra
15747dedec Update Per Object Settings tool with changes made in 15.10 2015-11-13 11:32:43 +01:00
Arjen Hiemstra
751f58fb02 Merge branch '15.10'
* 15.10: (39 commits)
  Remove unused import in StartSliceJob
  conforming to code style
  fix typo's..
  Adjust initial view to be slightly from the side
  uses a different method to check whether a machine name excists
  Sets the languageComboBox to the default language
  Remove per-group settings for now
  Make sure to send all settings when an object overrides the profile
  Properly emit writeStarted in RemovableDriveOutputDevice
  Add xy_offset setting to list of settings that trigger a disallowed area update
  Properly trigger a reslice when the active instance is changed
  Wizardpages without hack
  Only hides the window when there are no more pages
  Only add layer data node after all processing
  Also account for "xy_offset" setting for the disallowed areas
  JSON: workaround for stutter in spiralize vase: set travel speed to printing speed
  Adds a color for the error-messages
  Shows an error message when a user tries to add a printer with a name that already excists.
  JSON: support bottom stair step height defaults changed so that the bottom distance to the model isn't violated too much
  Try to use Protobuf CPP implementation if it is available
  ...
2015-11-13 11:31:29 +01:00
Arjen Hiemstra
b7471d6b1d Remove unused import in StartSliceJob
Contributes to CURA-358
2015-11-11 11:00:28 +01:00
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
3029409b89 Properly emit writeStarted in RemovableDriveOutputDevice
Contributes to CURA-319
2015-11-06 15:43:11 +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
Arjen Hiemstra
a1087150ef Properly clean up printer connections that are no longer available.
Contributes to CURA-274
2015-10-30 13:46:58 +01:00
Arjen Hiemstra
67e00221eb Display a message that there are no connected printers when trying to update firmware
Contributes to CURA-274
2015-10-30 13:46:58 +01:00
Arjen Hiemstra
37c977cea6 Properly end firmware update procedure and catch errors during firmware update
Contributes to CURA-274
2015-10-30 13:46:58 +01:00
Arjen Hiemstra
9626a604c2 Do not inherit BaseException, but use Exception
As indicated by Python docs, custom exceptions should use Exception as
base.

Contributes to CURA-274
2015-10-30 13:46:58 +01:00
daid
d5d88e2300 Fix a few more style violations in the avr_isp code. 2015-10-28 15:51:06 +01:00
daid
a4a0dfdf89 Fix code style violations in the avr_isp 2015-10-28 15:05:07 +01:00
Arjen Hiemstra
936c2f9365 Merge branch '15.10'
* 15.10:
  Remove full screen from menu and disable the shortcut key
  Properly default infill_sparse_thickness to layer_height`
  Changes the color of the 'C' in one iconfile
  moves the changelog from on-startup to the extensions menu
  Fix firmware update to properly report progress
  Use a decorator to track Z offset
  Remove infill_sparse_combine setting
  Update for BQ printers profiles
  Bump version
  Properly position groups and nodes once ungrouped
2015-10-27 14:24:25 +01:00
Tamara Hogenhout
75151b2a02 Merge branch '15.10' of https://github.com/Ultimaker/Cura into 15.10 2015-10-26 13:59:13 +01:00
Tamara Hogenhout
883cb08e54 moves the changelog from on-startup to the extensions menu
contributes to #CURA-243
2015-10-26 13:58:43 +01:00
Arjen Hiemstra
e7e833bfcf Fix firmware update to properly report progress
CURA-274 #Ready-for-Review
2015-10-26 13:00:10 +01:00
Ghostkeeper
e7f2c9de70 Move PerObjectSettings to Cura
This was already done in master.
2015-10-16 17:06:06 +02:00
Ghostkeeper
da1d59ff98 Merge branch 15.10 into master
Where automatic merging failed, the version of 15.10 was used.
2015-10-16 16:56:59 +02:00
Tamara Hogenhout
ed693d57a9 Fixes that the firmware update kan be called from the add machine -> add UMO wizard
fixes #CURA-256
2015-10-14 16:03:29 +02:00
Tamara Hogenhout
861b535f9d Implementing missing functionalities on the addmachine -> add original wizard
contributes to #CURA-256
2015-10-14 11:53:53 +02:00
Arjen Hiemstra
463fbae9aa Fail loading the 3MF file if no meshes were found
This way we indicate loading the 3MF file failed instead of indicating
success but not actually loading anything.

CURA-236
2015-10-13 18:42:01 +02:00
mpbomil
31a3124e45 Typo's in PrinterConnection.py
Some of the "threading.Thread.daemon"s have typo's.
2015-10-13 13:54:28 +02: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
Hajo Nils Krabbenhöft
8dd46be2ca add _current_layer_jumps 2015-10-08 15:28:38 +02:00
Arjen Hiemstra
c5ca763621 If we have no active machine, return None in getEngineCommand
This fixes a race condition on Windows where setting the active machine
takes too long
2015-10-08 11:54:22 +02:00
Arjen Hiemstra
50e6455875 Send the actual machine JSON to the engine 2015-10-06 16:54:57 +02:00
Arjen Hiemstra
b23bbe02fd Send the dual extrusion file as base JSON to the engine 2015-10-06 14:54:24 +02:00
Arjen Hiemstra
ae3705514f Merge branch '15.10'
* 15.10:
  Properly clear stored layer data
  Render SupportInfillType so support is rendered correctly again.
  Fix issues with crash handler and log file creation on Windows
  Bump version
  Make the UMO upgrade selection page work properly
  Update preference dialog to the changed API
  Disable crash handler if debug mode is not enabled
  Prevent crashes when centering an object
  Also disable output device selection when main save button is disabled
  Fix name of Low Quality profile
  Fix stdout/stderr output location so we do not output to UM but to cura
2015-10-06 12:21:09 +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