23304 Commits

Author SHA1 Message Date
Kostas Karmas
b118a46630 Remove TODO message from 3mf reload function
CURA-7333
2020-03-31 18:02:13 +02:00
Kostas Karmas
134541ee6e Fix reloading multiple objects from 3mf file
CURA-7333
2020-03-31 17:57:23 +02:00
Remco Burema
90ffa2a772
Explain empty installed materials/plugins brackets.
part of CURA-7240
2020-03-31 16:56:45 +02:00
Jaime van Kessel
c764326c25
Fix marketplace installed plugins/materials empty rectangle
CURA-7240
2020-03-31 15:57:08 +02:00
Kostas Karmas
07e6cfa693 Merge branch '4.6' 2020-03-31 14:48:26 +02:00
konskarm
cbccb08103
Merge pull request #7370 from Ultimaker/CURA-7328_remove_unused_machine_settings
Remove unused machine settings
2020-03-31 14:41:41 +02:00
Tim Kuipers
a7acee1123
Merge pull request #7374 from fieldOfView/fix_xray_in_solid_view into my PR
Remove extraneous preference
2020-03-31 12:09:15 +02:00
Remco Burema
d89fce6240
Order bundled/installed packages/materials section.
And other finishing touches.
part of CURA-7240
2020-03-31 12:02:46 +02:00
fieldOfView
1b3c51d98a Remove extraneous preference 2020-03-31 11:57:45 +02:00
Remco Burema
85490dc58a
[Marketplace] De-emphasize pre-installed packages.
Tried to do it the elegant way, couldn't get that to work within timebox.
part of CURA-7240
2020-03-31 11:52:55 +02:00
Tim Kuipers
2a1423d7b9
Merge pull request #7373 from fieldOfView/fix_xray_in_solid_view into my PR
Fix xray in solid view
2020-03-31 11:51:23 +02:00
fieldOfView
ccc0589495 Remove the checkbox option to set the preference to hide the messagebox 2020-03-31 11:50:16 +02:00
Kostas Karmas
189c734145 Changed wrapMode to WordWrap, similar to master
CURA-7332
2020-03-31 11:41:03 +02:00
fieldOfView
b7898b5a97 Change preference to only hide the xray message, not the visualization 2020-03-31 11:39:05 +02:00
Kostas Karmas
5581705a0f Revert "Wrap the restart prompt text in Marketplace"
This reverts commit 2978b09e26b30b3ce007db04fdb8ce05026f35fa.
2020-03-31 11:32:34 +02:00
fieldOfView
a2f9eac23b Remove unused import 2020-03-31 11:29:34 +02:00
fieldOfView
4638e2b72b Fix resetting show xray warning 2020-03-31 11:27:25 +02:00
fieldOfView
b2fc155c3b Fix legacy glsl shaders
By @smartavionics
2020-03-31 11:26:21 +02:00
Kostas Karmas
2978b09e26 Wrap the restart prompt text in Marketplace
CURA-7332
2020-03-31 11:24:23 +02:00
Kostas Karmas
6b6446e201 Wrap the restart prompt text in Marketplace
CURA-7332
2020-03-31 11:22:07 +02:00
Jaime van Kessel
da4bb127df
Add wordWrap to restart required message
In some languages (and on some operating systems) the
text would be cut off by the button
2020-03-31 10:56:03 +02:00
Jaime van Kessel
329c5c5c11
Rename pause duration to disarm timeout and set default to give same behavior as before
The name wasn't really covering what it was doing. It wasn't setting the duration of the
pause, it was setting the timeout for the stepper disarm.
Also, ive set the defaults so that the behavior remains the same, unlesss a user
explicitly enables this

CURA-7331
2020-03-30 17:20:59 +02:00
Jaime van Kessel
4682b9c4ae
Merge branch 'pp-plugin_pause-a-h_disarm' of https://github.com/ilyko96/Cura 2020-03-30 17:12:54 +02:00
konskarm
95cefbe895
Merge pull request #7368 from maukcc/master
HMS434 update
2020-03-30 15:53:09 +02:00
konskarm
bba6a5cc39
Merge pull request #7144 from Ultimaker/CURA-7162/replace_robot_with_placeholder
CURA-7162/Replace the default logobot.svg with a new placeholder
2020-03-30 15:05:37 +02:00
Ghostkeeper
2ee3e5b386
Don't remove machines that don't exist
Fixes Sentry issue CURA-EM.
2020-03-30 14:10:59 +02:00
Ghostkeeper
f34edd6bec
Show error when we don't have permission to write workspace
Fixes several Sentry issues, among which Cura-EG.
2020-03-30 14:00:36 +02:00
Ghostkeeper
6063307a31
Remove overrides of unused machine setting
Contributes to issue CURA-7328.
2020-03-30 12:10:35 +02:00
Ghostkeeper
40fc064e98
Don't remove Nozzle Length
Turns out this one was used: As default for the wire printing height.

Contributes to issue CURA-7328.
2020-03-30 12:10:01 +02:00
Ghostkeeper
b5dfcdd482
Remove Nozzle Length and Filament Park Distance from the settings list
Implements CURA-7328.
2020-03-30 12:00:59 +02:00
Ghostkeeper
8422172000
Increment setting version to 12
This is necessary for the version upgrade to run.

Contributes to issue CURA-7328.
2020-03-30 11:54:18 +02:00
Ghostkeeper
bdb3c4bcad
Add version upgrade plug-in to remove settings
Contributes to issue CURA-7328.
2020-03-30 11:48:38 +02:00
Ghostkeeper
be85e6d75e
Merge branch 'fieldOfView-feature_object_name' 2020-03-30 09:32:27 +02:00
maukcc
b92d0a83ac HMS434 update 2020-03-29 14:21:57 +02:00
Tim Kuipers
687f598d81
Fix xray composite shader for opengl 2.1
A commit from @fieldOfView
2020-03-28 10:20:03 +01:00
fieldOfView
0794766644 Fix xray composite shader for opengl 2.1
textureSize() is not available in opengl 2.1, so we calculate the xray error image scale outside the shader (which is also a theoretical performance improvement because now the scale does not get computed over and over for each pixel)
2020-03-27 23:24:20 +01:00
Jaime van Kessel
c1de3d49bb
Merge branch 'CURA-7325_fix_config_error_on_restore_backup' of github.com:Ultimaker/Cura 2020-03-27 14:44:03 +01:00
konskarm
cc365c23e1
Merge pull request #6994 from Ultimaker/ppscript_pre_secure
Prepare PostProcessingPlugin for security.
2020-03-27 13:31:08 +01:00
Remco Burema
380e377cf3
Scout some documentation to docstring.
part of CURA-7325
2020-03-26 18:26:14 +01:00
Remco Burema
3c50b78e68
Fix: Definitions could be partly saved between backup restore and quit.
part of CURA-7325
2020-03-26 18:19:47 +01:00
Ghostkeeper
afea4a76e7
Merge branch 'feature_object_name' of https://github.com/fieldOfView/Cura into fieldOfView-feature_object_name 2020-03-26 17:39:25 +01:00
Nino van Hooff
0841124389
Merge pull request #7344 from Ultimaker/CURA-7310_Template_export_inkection_call_custom_openUrl
Cura 7310 template export injection call custom open url
2020-03-26 15:40:39 +01:00
Ghostkeeper
92691f68b6
Reduce retraction at the end of all Anet g-code
Multiple people have found this to work better.

Fixes #7275.
2020-03-26 14:47:41 +01:00
Ghostkeeper
fd8c29ebbf
Merge branch 'master' of github.com:Ultimaker/Cura 2020-03-26 14:15:51 +01:00
Ghostkeeper
ae9f2b4ba9
Catch TopologicalError when calculating convex hull intersection
Apparently this can happen. I don't know what shapes this happens with though. I'm guessing it's got something to do with degenerate shapes.

Fixes Sentry issue CURA-DZ.
2020-03-26 14:15:38 +01:00
Remco Burema
e664eccb8d
Merge pull request #7299 from Ultimaker/CURA-7173_validate_uploads
CURA-7173_validate_uploads
2020-03-26 12:05:19 +01:00
Nino van Hooff
ddd7d15287 Attempt to appease mypy 2020-03-26 09:45:26 +01:00
Ghostkeeper
986284052d
Show warning on any invalid pixel, not just 10
Now that we have no noise any more we can do this.
Possibly cuts the processing time in half, too.

Contributes to issue CURA-7262.
2020-03-25 18:57:30 +01:00
Ghostkeeper
c2651d1141
Unobfuscate and document this SVG
These numbers end up beautifully on round numbers if you were to just scale them to their original size and apply these mysterious translation operations.
Also do away with all of the Inkscape and Sodipodi metadata. They don't make it any easier to read.

Contributes to issue CURA-7262.
2020-03-25 18:51:09 +01:00
Ghostkeeper
4c770587e2
Fix getting additional bytes from QImage
QImage's bytes are aligned to memory words per column of pixels. That means that one of these columns contains 99% valid image data, but with several bytes of unassigned noise at the end. How many of these padding bytes there are would depend on the image size, i.e. Cura's window size. In the end, the total number of bytes in the image ends up slightly more than w*h*3. As a result, Cura would crash because it couldn't reshape the image. Reshaping was completely unnecessary anyway, but this random noise was giving false positives also.
But how do you then get only the actual pixels from each column of data? We can't just go iterating over this array, as that would be an iteration of thousands of columns which is prohibitively slow in Python. No, we're going to do some Numpy magic. We're going to create a class that pretends to be a Numpy array. Give this class some data and say that this data has a certain pixel size but also a certain STRIDE LENGTH. This stride length can be the length of the actual pixel data. As a result when Numpy sees this object it will read out the data using these strides, all done efficiently within the C code of Numpy.

Framerate is fantastic on my computer. No problems at all. Pretty powerful computer though. But also a big 5k screen. Still no problem for Numpy. Seems to be decently efficient.

Took me quite a while to figure all of this out.

Contributes to issue CURA-7262.
2020-03-25 18:00:14 +01:00