24810 Commits

Author SHA1 Message Date
Remco Burema
aa0a08500e
Temproray files shouldn't be in recent file list.
CURA-7864
2021-01-08 13:44:23 +01:00
Kostas Karmas
96c4d66029 Revert making the open file dialog a separate LocalFileProvider plugin
This reverts commits 00de7497a4c2986cf8fd13be8f598a0f615f3d63 to 5f6b3b52c1848416c98f7d276fe02f08d067f675

CURA-7868
2021-01-07 16:35:40 +01:00
Kostas Karmas
606ec587fe Change the row height in the table view
CURA-7868
2021-01-06 11:51:29 +01:00
Kostas Karmas
adcdf7bad9 Remove unnecessary QML imports
CURA-7868
2021-01-05 14:54:28 +01:00
Kostas Karmas
dc02038513 Add a Cura-themed, re-usable TableView component
CURA-7868
2021-01-05 14:47:46 +01:00
Ghostkeeper
5f6b3b52c1
Don't trigger open menu upon starting Cura
That would be very annoying.

Contributes to issue CURA-7868.
2021-01-04 18:13:18 +01:00
Ghostkeeper
b266904d76
Replace other references to the open action with the file provider model
This adds a function 'triggerFirst' to the file provider that triggers the first file provider in the model. That should then be the local file provider, but if the plug-in is disabled for some reason it would use another plug-in.

Contributes to issue CURA-7868.
2021-01-04 18:12:15 +01:00
Ghostkeeper
de80461954
Remove open action, fixing ambiguous overload of Ctrl+O
The action was no longer in the menu, but the hotkey still functioned. Then there were two actions for Ctrl+O, which was ambiguous to Qt.

Contributes to issue CURA-7868.
2021-01-04 18:11:00 +01:00
Ghostkeeper
00de7497a4
Move open dialogue to separate file provider plug-in
We can now define plug-ins that specify where to open files from. This is one of the places where you can open files.
This breaks the main button to open files in the interface. It needs to be redirected to trigger the plug-in to show the open file dialogue.

Contributest o issue CURA-7868.
2021-01-04 18:11:00 +01:00
Ghostkeeper
4b375ce2fe
Remove unused hasMesh signal
This is logic that shouldn't be in QML anyway. It's not used by anything at this point. Let's remove it.

Contributes to issue CURA-7868.
2021-01-04 18:11:00 +01:00
Kostas Karmas
e5038ab46d Update year in the copyright comment.
CURA-7868
2021-01-04 15:12:53 +01:00
Kostas Karmas
70550594cd Connect the visibility of the components through their properties
As Ghostkeeper suspected correctly in the review comment https://github.com/Ultimaker/Cura/pull/9012#discussion_r549707433
the binding wasn't working because the model was being retrieved using a function
(CuraApplication.getFileProviderModel()).

Separating this model into a variable allows us to properly bind the "visible" properties of the
menu items with the count property of the model without a problem.

CURA-7868
2021-01-04 15:07:53 +01:00
Kostas Karmas
71994eaaf9 Change the Open File(s) option according to the file providers count
When there is only one file provider (i.e. the local file provider), the Open File(s) will be a
simple item in the File menu.
When there are more than one file providers, the Open File(s) will become a submenu in the File
menu, which will contain all the file providers as submenu items.

CURA-7868
2020-12-23 17:13:14 +01:00
Kostas Karmas
43615a57b6 Change client scope in the Account
CURA-7868
2020-12-18 14:34:29 +01:00
Kostas Karmas
430550452f Add a new file menu option when there are multiple file providers
CURA-7868
2020-12-15 18:31:15 +01:00
Ghostkeeper
b49d5ab9e9
Merge branch 'workaround_kde_qqc2_crash' of https://github.com/StefanBruens/Cura into StefanBruens-workaround_kde_qqc2_crash 2020-12-09 12:33:30 +01:00
Ghostkeeper
d53568c5db
Fix linear-scaling height map thickness
Previously it was using this 'peak_height' which is the total height of the model in scale_vector.y. However it was then multiplying the height map with that scale vector and adding the base height again a second time. So the scaling part was too thick and included the base height, and the total height of the mesh was also too big.
I also reduced an unnecessary re-calculation of the height_from_base parameter. And as a result we don't need the peak_height variable at all any more.

Fixes #8902.
2020-12-09 12:16:56 +01:00
StefanBruens
b800815378
Merge branch 'master' into workaround_kde_qqc2_crash 2020-12-08 15:03:50 +01:00
StefanBruens
8023bee35a
Use 'default' theme instead of 'material'
Using 'material' causes some layout issues, while 'default' shows no such issues and also fixes the preview pane crashes.
2020-12-08 14:53:48 +01:00
Ghostkeeper
bfe62514e2
Allow steps per mm to be float
You could have 333.333 steps per mm, for instance. Not common, but it's possible.

Fixes #8889.
2020-12-08 14:14:14 +01:00
StefanBruens
caa9916cf0
Fix bug reference 2020-12-08 14:01:18 +01:00
Ghostkeeper
000d7e90f5
Fix support density when using tree support on engineering materials
These formulas were using a setting that didn't exist any more.
Not sure how this got through QA. Oh well, this is what they are intending.
This formula is a little bit weird in how it works with support meshes if support is disabled, but it's more or less as good as it gets. The formula is mirrored from how other Ultimaker printers write it down, but slightly simplified with the same outcome.
2020-12-08 12:18:23 +01:00
Jaime van Kessel
7096f64ca2
Fix crash when extruder could not be found
Fixes #8891
2020-12-07 16:45:28 +01:00
Ghostkeeper
19d432e50f
Merge branch 'master' into fix_grouping_below_build_plate 2020-12-07 14:27:06 +01:00
Kostas Karmas
f18c274825 Remove duplicate settings from quality profiles
After https://github.com/Ultimaker/Cura/pull/8684 raft_airgap and speed_layer_0 existed twice in some of the quality profiles.
This commit fixes that by removing the old (calculated) values.
2020-12-02 16:30:16 +01:00
Or Bin
590e46cef3 Fixed typo: positionning -> positioning 2020-11-28 22:45:58 +02:00
Ghostkeeper
4df5fbc215
Make skirt/brim line width and flow visible for draft/ooze shields
The draft and ooze shield use the skirt/brim settings to print. So these settings should be adjustable if the draft or ooze shield is enabled. It's a bit weird UX-wise, but it's correct. The UX problem will be tackled later.
Apparently this was already done for the speed/acceleration/jerk settings so no change necessary there.

Contributes to issue #8808.
2020-11-27 12:11:06 +01:00
Jaime van Kessel
00bc1bfcdc
Add extra cast to author model
Contributes to #8817
2020-11-27 10:46:33 +01:00
Ghostkeeper
a4fd701f4b
Correct description of Mesh Processing Rank to indicate correct order
Two problems with this description:
- It claims that meshes with lower rank override meshes with higher rank. It's the other way around.
- It mentions 'rank' in one sentence and then 'order' in the next. I've corrected this to use the term 'rank' in both sentences for clarity. This is also the term used for the setting label, to be consistent.

Found in issue #8821.
2020-11-26 17:29:50 +01:00
Jaime van Kessel
53637fa891
Merge branch 'master' of https://github.com/racerxdl/Cura 2020-11-26 14:25:05 +01:00
Lucas Teske
c4d9edca69
Update plugins/PostProcessingPlugin/scripts/TimeLapse.py
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2020-11-25 19:33:37 -03:00
Lucas Teske
62e4baa746
Update plugins/PostProcessingPlugin/scripts/TimeLapse.py
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2020-11-25 19:33:30 -03:00
Lucas Teske
0a21cff234
Update plugins/PostProcessingPlugin/scripts/TimeLapse.py
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2020-11-25 19:33:24 -03:00
Jaime van Kessel
a5c25846f3
Merge branch 'master' of https://github.com/racerxdl/Cura 2020-11-25 15:54:08 +01:00
Jaime van Kessel
99c12de6b0
Merge branch 'master' of github.com:Ultimaker/Cura into fix_grouping_below_build_plate 2020-11-25 15:42:15 +01:00
Michael Graf
69dc54b763 Makes Anycubic i3 Mega use fan speed from material.
Sets max speed to 100% for small layers as the stock fan is not very strong.
2020-11-20 19:10:30 +01:00
Michael Graf
67b27a53d3 ai3m use material temperatures
Makes Anycubic i3 Mega use bed and print temperature from material.
2020-11-20 18:53:20 +01:00
Ghostkeeper
39acad87d9
Hard-limit the PPA positions to negative or 0 values
The ProBundle rejects materials which have these values a positive number.

Users should not be allowed to set it to a positive number.

Fixes CURA-7856.
2020-11-18 14:54:59 +01:00
Ghostkeeper
eeecd545db
Catch errors for corrupted zip files when reading project files
Fixes Sentry issue CURA-1DG.
2020-11-18 01:57:49 +01:00
Lucas Teske
394fa8f2f2
Add Z-Hop and filament retraction to Timelapse
So less string occurs
2020-11-17 17:05:15 -03:00
Ghostkeeper
1cd5757029
Fix highlighting of item under tooltip area
The parent was no longer the original parent.
2020-11-17 19:41:22 +01:00
Ghostkeeper
371885d826
Remove ideagen3D platform texture
This platform mesh is 3MF (whose texture coordinates we cannot read) and doesn't contain actual texture coordinates either.

Contributes to issue CURA-7852.
2020-11-17 11:14:48 +01:00
Ghostkeeper
0696d6f2e6
Merge branch 'master' of https://github.com/Firedrops/Cura into Firedrops-master 2020-11-17 11:06:10 +01:00
Ghostkeeper
558a789289
Use Cura's own ComboBox element for combo boxes
This one displays a tooltip if the text is too long and gets elided, so that you can still read the printer or profile name.

Fixes #8773.
2020-11-17 10:56:12 +01:00
Ghostkeeper
29258aa5e2
Always display tooltip on combobox items if text gets elided
So if the text is too long to display, there is still a way to display it.
2020-11-17 10:52:25 +01:00
Ghostkeeper
5e383d4f42
Fix documentation
This is a checkbox, not a combobox.
2020-11-17 10:51:30 +01:00
Ghostkeeper
16f457ba08
Expand description of what it means when skin angle is 'horizontal' or 'vertical'
Just something I encountered during work on CURA-7681.
2020-11-17 10:23:31 +01:00
Jaime van Kessel
68bc75e7a2
Merge branch 'CURA-7501_fix_warning_preloaded_plugins' of github.com:Ultimaker/Cura 2020-11-16 15:24:31 +01:00
Firedrops
2923204c2b Fixed Bed Position
Bed Mesh was poking above actual bed plane in Cura, bed shifted down to align properly.
2020-11-16 12:43:20 +10:00
Firedrops
c84fe22461 Fix bed orientation & logo
Fixed bed orientation
Debossed the logo into the mesh
2020-11-15 23:13:36 +10:00