Commit graph

24518 commits

Author SHA1 Message Date
Remco Burema
66132ef217
Don't use full-width unicode percent as placeholder in zh_CN locale.
Fixes #8322
2020-09-07 15:28:49 +02:00
Jaime van Kessel
bde6e1bb97
Fix crash when removing cloud printers
CURA-7665
2020-09-07 11:27:36 +02:00
Jaime van Kessel
ea376c9ee8
Update translations based on suggestion from reseller 2020-09-07 10:52:45 +02:00
Jaime van Kessel
49c401590b
Update bugreport link 2020-09-07 10:47:52 +02:00
Jaime van Kessel
349f3b7e11
Force update when changing nozzle size in custom FFF
Fixes #8306
2020-09-07 10:46:17 +02:00
Jaime van Kessel
b35c8ba9bc
Add recalculate call to tests 2020-09-07 10:22:23 +02:00
Jaime van Kessel
175244fdc8
No longer spam the GUI with hasUserSettingsUpdates
The QML profiler showed me that it was causing a *lot* of issues
when switching between extruders. More than 10% of the time in QML
was spent on just updating ine property in the workspace summary dialog.
There were other properties that were also being updated without there being a point.

Contributes to #8250
2020-09-04 17:23:52 +02:00
Jaime van Kessel
6dbdee8d98
Don't switch away from disabled extruder
In some situations this could cause a slowdown, since halfway through
calculating the values the extruder switch would happen. If this is
split up a bit, it's at least less noticeable

Contributes to #8250
2020-09-04 16:43:53 +02:00
Jaime van Kessel
c383fe9656
Don't force an update when disabling an extruder
All the settings that are changed get a notification from the settingRelation.
There should be no need to re-fire all of those settings again!

Contributes to #8250
2020-09-04 16:39:06 +02:00
Jaime van Kessel
8ecdce3b26
Remove postponeEmit that didn't do anything
The signals it was postponing weren't ever being triggered
2020-09-04 16:38:15 +02:00
Jaime van Kessel
b09a88075e
Show a visual indication of enabled directly after click
This doesn't actually speed up the process, but it does give some indication
that something is going on while the changes are happening

Contributes to #8250
2020-09-04 14:48:55 +02:00
Ghostkeeper
8c0e21f0d5
Don't crash if mesh loading fails
Some plug-ins (like the OBJReader) return None then.

Fixes Sentry issue CURA-14P.
2020-09-03 17:52:44 +02:00
Remco Burema
0b22b94950
Merge pull request #8232 from Ultimaker/CloudNetworkConnectionFixes
Cloud network connection fixes
2020-09-03 09:57:36 +02:00
Ghostkeeper
59bf1c10af
Account for the fact that global_stack may be empty
You should not have any models in your scene then though. But oh well. It also fixes the typing.

Contributes to issue CURA-7118.
2020-09-02 03:21:11 +02:00
Ghostkeeper
323be4deff
Fix updating the 2D convex hull
This comes at some performance cost, sadly. This is necessary because the convex hull of every node may change if the transformation of any other node changes, since that transformation may adjust the total bounding box of the mesh group.

Contributes to issue CURA-7118.
2020-09-02 03:09:41 +02:00
Ghostkeeper
f613a54b79
Compute centre of current mesh group
This is either the centre of the bounding box around all printable nodes in the scene, or the centre of the bounding box of the most-ancestral node that is not yet the scene root itself in one-at-a-time mode.

Contributes to issue CURA-7118.
2020-09-02 02:43:43 +02:00
Ghostkeeper
bc0ac0f2a0
Only scale convex hull if there is a non-1 scaling factor
This will save some processing power for the very common case where there is no scaling factor.

Contributes to issue CURA-7118.
2020-09-02 02:10:19 +02:00
Ghostkeeper
a6707217c7
Get scale factor from global stack
This is the one that's actually used by CuraEngine. If I get it per-object, the material profile overrides it.

Contributes to issue CURA-7118.
2020-09-02 02:08:18 +02:00
Ghostkeeper
4e283b5a78
Invert warning values
A small positive (>100) value is correct. It needs to compensate by increasing the size, usually. If you need to compensate by making it smaller, that means that the material would expand when cooling, which is very rare.

Contributes to issue CURA-7118.
2020-09-02 02:03:34 +02:00
Ghostkeeper
67092e1355
Don't forget to also upgrade fdmextruder
This one doesn't inherit from fdmprinter so it doesn't get the updated version number.

Contributes to issue CURA-7118.
2020-09-02 01:56:12 +02:00
Ghostkeeper
a7b2f7de5a
Upgrade setting_version to 16
We have a change now that requires a version upgrade. This triggers all profiles to update for the user, and we must update accordingly in the built-in profiles.

Contributes to issue CURA-7118.
2020-09-02 01:51:13 +02:00
Ghostkeeper
2395c0b1be
Add version upgrade for Cura 4.8
We're changing the unit of one of our settings, so we need to implement a version upgrade to change that for our users in case they changed this setting themselves.

Contributes to issue CURA-7118.
2020-09-02 01:20:59 +02:00
Ghostkeeper
bd074bf753
Fix check of model checker to take new unit of shrinkage factor into account
It's now based around 100%, so this should be adjusted.

Contributes to issue CURA-7118.
2020-09-02 01:02:12 +02:00
Ghostkeeper
af03bc8f24
Adjust collision area based on shrinkage compensation ratio
So now if the model is grown due to shrinkage compensation, its collision area will also grow. This prevents objects adjacent to each other from hitting each other.

Contributes to issue CURA-7118.
2020-09-02 00:51:58 +02:00
Ghostkeeper
d189485043
Change label and resolve functionality of shrinkage compensation setting
We'll now actually compensate for the shrinkage. That means that the setting needs to become user-visible. We need to make that experience a bit more user-friendly.

The setting is now also global, with a resolve function. That means that the user can't change this per extruder any more, because the scale factor applied in the engine can only be global. The resolve function means that profiles can still apply a per-extruder value but this value gets resolved with other extruders' values.

Contributes to issue CURA-7118.
2020-09-01 23:28:28 +02:00
Jaime van Kessel
8f5c62c68d
Merge branch 'master' of github.com:Ultimaker/Cura 2020-09-01 16:51:58 +02:00
Jaime van Kessel
ff21761d92
Add log line for when attempting to read a local file
Contributes to #8286
2020-09-01 16:51:12 +02:00
Ghostkeeper
27b02cdae0
Merge branch 'patch-2' of https://github.com/n7484443/Cura into n7484443-patch-2 2020-09-01 16:05:17 +02:00
Remco Burema
3717181884
Don't show overhang on first layer or below buildplate. 2020-09-01 14:40:43 +02:00
Remco Burema
d7325be39f
Also change color _on_ the buildplate. 2020-09-01 14:25:01 +02:00
Remco Burema
a579d66fbd
Merge branch 'master' of https://github.com/Ultimaker/Cura 2020-09-01 13:50:33 +02:00
Remco Burema
8dbbe2bd3a
Use different colors below buildplate.
fixes #8254
2020-09-01 13:49:34 +02:00
Ghostkeeper
ab33a09613
Merge branch '4.7' 2020-09-01 13:02:01 +02:00
Ghostkeeper
d115efbbb2
Add change log entry for Cura 4.7.1
And make links clickable there.

Contributes to issue CURA-7658.
2020-09-01 13:01:45 +02:00
Jaime van Kessel
72d31d2ae5
Fix hover of the tooltip for the objectlist
Fixes #8290
2020-09-01 10:50:04 +02:00
n7484443
e982256b87
korean translation correction
-Corrected a grammar mistake
-Corrected the wrong translation
2020-08-29 21:10:51 +09:00
Jelle Spijker
2d1128f088
Merge pull request #8196 from Ultimaker/speed_up_ci
Speed up ci
2020-08-28 12:57:39 +02:00
Jaime van Kessel
5f2d721bdc
Added missing newline at end of file 2020-08-28 12:47:25 +02:00
Jaime van Kessel
61af8cf9b5
Rename workflow file to CI 2020-08-28 12:46:58 +02:00
Ghostkeeper
4058790491
Merge branch '4.7' 2020-08-27 16:40:33 +02:00
pablo
e13c48a8e7
Rotate and align Tevo Tarantula Pro build plate mesh
Fixes #8234.
2020-08-27 16:40:17 +02:00
Ghostkeeper
a0decbf8c4
Code style: Spaces around binary operators
Contributes to issue CURA-7672.
2020-08-27 14:38:40 +02:00
Jaime van Kessel
2b4d9f648e
Ensure that quality_changes profile is correctly created on profile duplication
I have no idea why it wasn't being created, but it has been wrong for a very long time.

Fixes #8245
2020-08-27 14:34:09 +02:00
Aleksey Karadzhi
c044732193 Fix X0 Y0 being outside the bed after homing 2020-08-26 17:21:32 +03:00
Jaime van Kessel
f6cbb0f88c
Prevent continued connect / disconnect loop
If a cloud printer was connected, it would time out all the time. In some cases
it would do this in a single update loop (so connect and disconnect). Depending
on the machine of the user, this would either be visible or not at all.
2020-08-25 17:02:39 +02:00
Jaime van Kessel
bf9c413516
Change wording of logline
The log was incorrect. At that point the device isn't connected yet,
it's state is connecting!
2020-08-25 16:31:11 +02:00
Jaime van Kessel
6f3298385f
Increase timeout time for the cluster output
We got reports that 10 seconds can cause connection to be lost
2020-08-25 16:07:46 +02:00
Ghostkeeper
d021fd10fb
Don't crash when trying to upload two jobs at the same time
This will now result in a job being put in the queue but not automatically printing, but there is at least a workaround for that.

Fixes Sentry issue CURA-14A.
2020-08-25 12:23:58 +02:00
Jaime van Kessel
afb29724ff
Give the machineButton selectors a fixed width
This prevents them from popping out of the interface for certain
languages
2020-08-25 10:59:14 +02:00
Ghostkeeper
792f81315b
Merge branch '4.7' 2020-08-24 12:09:25 +02:00