Commit graph

9705 commits

Author SHA1 Message Date
Jaime van Kessel
77f0ff588f
Merge branch 'CURA-7245_sentry_prune_more_user_data' of github.com:Ultimaker/Cura into 4.5 2020-02-24 17:01:29 +01:00
Nino van Hooff
62dfadecdf Prune all sensitive data before sending it to Sentry
CURA-7245
2020-02-24 15:27:17 +01:00
Tim Kuipers
9bcae15d39 lil: optimize parsing gcode arg letter
CURA-7066
2020-02-24 14:56:06 +01:00
Tim Kuipers
efafc37e49 fix E-values after G92 when parsing gcode
CURA-7066
2020-02-24 14:55:58 +01:00
Tim Kuipers
5653c8c9ae Avoid showing infinitely wide lines in gcode
lines less than zero wide are displayed as very wide; prevent negative extrusion lines from being generated in the first place

CURA-7066
2020-02-24 14:55:42 +01:00
Ghostkeeper
f918f39fc2
Don't use a newline at the beginning of the sync message
Again, this breaks stuff. See the previous commit.

Contributes to issue CURA-7201.
2020-02-24 14:33:10 +01:00
Ghostkeeper
633bdac21a
Don't start message with a newline
That breaks a couple of things:
* It messes up the layout of the message.
* The translations need to have this newline in as well, or they won't be accepted by gettext.
* The x-test translation puts 'xxxx' before the translation, so this one won't compile any more.

Contributes to issue CURA-7201.
2020-02-24 14:21:39 +01:00
Jaime van Kessel
610dc7f115
Merge branch '4.5' of github.com:Ultimaker/Cura into 4.5 2020-02-24 13:55:00 +01:00
Jaime van Kessel
239a8ea3db
Revert speedup 2020-02-24 13:07:59 +01:00
Jaime van Kessel
b86658996b
Revert "Chop up the render function to make it a bit more readable"
This reverts commit 61a605d02b.
2020-02-24 12:45:13 +01:00
konskarm
069384e588
Merge pull request #7152 from Ultimaker/CURA-7231_no_layers_to_show_msg
Cura 7231 no layers to show msg
2020-02-24 12:02:06 +01:00
Dimitriovski
3a0da99256
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-7162/replace_robot_with_placeholder 2020-02-24 11:13:29 +01:00
Dimitriovski
35b7ce90d3
Added the placeholder.svg file
CURA-7162
2020-02-24 11:13:13 +01:00
Dimitriovski
3e13507156
Merge branch '4.5' of github.com:Ultimaker/Cura 2020-02-24 11:03:21 +01:00
Dimitriovski
9282423db1
Added lifetime=0 to the sync_message to make it stay there 2020-02-24 10:59:41 +01:00
John Hryb
9aa6887b02 Update ColorMix.py
Updates based on review.
2020-02-22 11:58:19 -05:00
Dimitriovski
510acfab62
Replaced the logobot.svg image with a new placeholder.svg image
CURA-7162
2020-02-21 17:05:27 +01:00
Tim Kuipers
c1d87fa474 Pop-up checkbox to never show [No layers to show] ever again, because the user ain't no noob
CURA-7231
2020-02-21 15:07:57 +01:00
Tim Kuipers
0a10a1220f Don't show 'no layer data' msg when Slice Automatically is enabled
CURA-7231
2020-02-21 15:07:26 +01:00
Jaime van Kessel
27777c759c
Prevent zip bombs in the g-codegz reader
CURA-7227
2020-02-20 16:38:41 +01:00
novamxd
943d04a734 * Revamped ChangeAtZ
Added additional option for disabling all retract options
Added more comments.
Added support for firmware based retractions.
Added support for outputting changes to LCD (untested).
Added type hints to most functions and variables.
Created GCodeCommand class for better detection of G1 vs G10 or G11 commands, and accessing arguments.
Fixed issue of properly restoring previous values in single layer option.
Improved wording of Single Layer vs Keep Layer to better reflect what was happening.
Moved most GCode methods to GCodeCommand class.
2020-02-17 22:58:39 -06:00
Jaime van Kessel
238dd733ea
Merge branch '4.5' of github.com:Ultimaker/Cura 2020-02-17 17:01:38 +01:00
Nino van Hooff
507459660e Refactor: rename CloudPackageManager to CloudApiClient 2020-02-14 16:33:24 +01:00
Ghostkeeper
a776f54e7f
Fix making settings visible if the default was 0
If the default was 0, then the if statement would evaluate as False and it would not make them visible until you closed and re-opened the panel.

Contributes to issue CURA-7211.
2020-02-13 13:09:57 +01:00
Ghostkeeper
3b235d5536
Make settings visible too after adding them
Contributes to issue CURA-7211.
2020-02-13 13:08:32 +01:00
Ghostkeeper
53e1742d27
Merge branch 'master' into infill_mesh_shell_defaults 2020-02-11 17:21:19 +01:00
Nino van Hooff
72c1b4d10c Fix LicensePresenter: reset state when presenting licenses
CURA-7200
2020-02-11 13:34:17 +01:00
Remco Burema
b0418716fd
Rename 'Feedrate' to 'Speed'.
At least in the interface. Even though Feedrate is congruent with the CNCdefinition thereof, Speed is less confusing for the user.
2020-02-11 13:03:27 +01:00
ninovanhooff
8ac52e8baa
Merge pull request #7089 from Ultimaker/CURA-7207_fix_package_compatibility
CURA-7207_fix_package_compatibility
2020-02-11 11:27:02 +01:00
Nino van Hooff
a33cfdfba6 Simplify package compatibility checking
CURA-7207
2020-02-11 11:21:28 +01:00
Ghostkeeper
ea9a9d58b1
Fix typing of list of API versions
Contributes to issue CURA-7207.
2020-02-11 11:09:02 +01:00
Ghostkeeper
0c42b1fdea
Code style: Method names with lower camelcase
Contributes to issue CURA-7207.
2020-02-11 11:06:33 +01:00
Ghostkeeper
bcf4bc8138
Simplify _is_any_version_compatible
It now literally says: for any version, is it compatible?

Contributes to issue CURA-7207.
2020-02-11 11:02:32 +01:00
Nino van Hooff
5beba6050f Fix api version checking
CURA-7207
2020-02-11 09:52:39 +01:00
Kostas Karmas
c54c79d2db Fix the "save to removable drive" not appearing
CURA-7203
2020-02-11 09:46:15 +01:00
Ghostkeeper
d9ddb438f8
Merge branch '4.5' 2020-02-10 11:36:07 +01:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Lipu Fei
b03f666bf5 WIP: Make it work with Python 3.7 packaing 2020-02-07 23:14:47 +01:00
Nino van Hooff
050ff62344 Don't show license Screen when there are no licenses to show
CURA-7198
2020-02-07 13:47:15 +01:00
Ghostkeeper
341e149d0e
Ignore g-code lines with syntax errors
Discovered while working on CURA-7145.
2020-02-05 12:52:54 +01:00
Ghostkeeper
3513266549
Guard against unexpected file structures
We shouldn't break on that.

Contributes to issue CURA-7024.
2020-02-04 15:52:12 +01:00
Ghostkeeper
a1f3444271
Don't delete containers from plugins directory
Some plug-ins provide extra profiles and we don't want to check them or delete them regardless of what their content is.

Contributes to issue CURA-7024.
2020-02-04 15:46:06 +01:00
Ghostkeeper
4307942544
Also remove instance containers referred to by extruder stacks
Contributes to issue CURA-7024.
2020-02-04 15:33:06 +01:00
Ghostkeeper
b549d20ec5
Document which stack layer is which container type
Contributes to issue CURA-7024.
2020-02-04 15:17:31 +01:00
Ghostkeeper
232b59bfb6
Merge branch 'master' into CURA-7024_remove_hidden_stacks 2020-02-04 14:25:22 +01:00
Ghostkeeper
ccc295e2bc
Use sets for folder names from the start
We use a set here because we want to remove the current version from it later on. However if we change the variable to contain a set instead of a list, MyPy will start complaining that we change the type.

Contributes to issue CURA-7024.
2020-02-04 14:20:08 +01:00
Ghostkeeper
5a7ec98f1e
Slightly improve wording
'Layer data' is a bit technical.
2020-02-04 14:14:23 +01:00
Ghostkeeper
f38dc82ac8
Remove hidden stacks and their dependencies
This searches for stacks that are hidden and removes them, and also removes any extruder stacks that depended on those hidden global stacks and any user and quality changes profiles referred to by those removed stacks.

Contributes to issue CURA-7024.
2020-02-04 14:12:57 +01:00
Ghostkeeper
bb73831889
Cura directory may be empty
Contributes to issue CURA-7024.
2020-02-04 14:11:41 +01:00
Jaime van Kessel
15d83cc6da
Fix typing issue 2020-02-04 13:38:52 +01:00