25028 Commits

Author SHA1 Message Date
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
HUNIBEST-HyVISION
d797067326 [CUBICON] Add device(Style NEO-A31) & Update start gcode. 2021-01-04 14:03:42 +09:00
fieldOfView
47723e9823 Fix definition of machine_gcode_flavor setting in PauseAtHeight 2021-01-03 13:22:51 +01:00
Tim Gates
cf7b0d9768
docs: fix simple typo, thier -> their
There is a small typo in docs/How_to_use_the_flame_graph_profiler.md.

Should read `their` rather than `thier`.
2020-12-31 06:01:18 +11:00
Ghostkeeper
ba9e10cfd8
Round temperatures when displaying them
These are long lines for some screens. It'll save a bit of space. No PID controller can really control down to fractional degrees.
Fan speed and flow rates are already integer settings. For speeds and retraction lenghts the fractions can be important.

Done for #8967.
2020-12-24 16:08:12 +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
Jaime van Kessel
f442417ac6
Dont try to set unknown settings as per object settings when loading 3mf
CURA-7615
2020-12-23 16:31:25 +01:00
Jaime van Kessel
7f27ff5432
Reset scene metadata if the buildplate was cleared
CURA-7615
2020-12-23 14:08:59 +01:00
Jaime van Kessel
f338acd4f3
Read & write all generic metadata items from 3mf
CURA-7615
2020-12-23 13:49:52 +01:00
Jaime van Kessel
f9d0da7a12
Store creation & Modification date
CURA-7615
2020-12-23 13:42:40 +01:00
Jaime van Kessel
e69edae9aa
Store application name when saving 3MF file
CURA-7615
2020-12-23 13:32:27 +01:00
FusedForm
9efe5dd5e2
Small parameter update for printing improvement (#8961)
* Add files via upload

* Add files via upload

* Add files via upload

* Update fusedform_300_draft_abs.inst.cfg

* Add files via upload

* Delete fusedform_300_draft_abs.inst.cfg

* Delete fusedform_300_draft_pla.inst.cfg

* Deletion of old files

* changes in STD quality profiles

* Changes in mini quality files

* Changes in FF600 quality files

* changes in machine definition name

* Changes in definition files

* extruder and definition linking

* ff300 inherits and extruder def

* Update fusedform_300.def.json

* category deprecation in definitions

* inherits

* ff300 extruder definition machine

* extruder machine definitions

* Fused form FF600plus machine profiles

* PETG profiles

* Update fusedform_300.def.json

* changes in start gcode

* machine configuration dynamics on definitions

* speed adjustments

* dynamics modification in petg and flex quality

* Further adjustments on dynamics definitiosn

* Modification of all files under inherits data structure.

* Quality setting version 15 to 16

* These changes are for limiting quality types in the materials defined

* Quality Modification under Global and Material specific structure

Global quality structures and material specific definitions under the global structures

* Addition of double extruder machine definitions

* Machine definitions update according to structure

* Doppia Base definitions erased, Doppia definitions updated to use a single base definition.

* extruder 1 base definition fix

* extruder train overrides

* extruder modifications

* Update fusedform_300_doppia.def.json

* Base settings and extruder definitions

* retraction modification to avoid filament damage

* REdefinition test of second extruder train in doppia

* Update fusedform_300_doppia.def.json

* Update fusedform_base_extruder_1.def.json

* Update fusedform_300_doppia.def.json

* Update fusedform_300_doppia.def.json

* Update fusedform_300_doppia.def.json

* Update fusedform_base_extruder_1.def.json

* Update fusedform_300_doppia.def.json

* Update fusedform_600_doppia.def.json

* Update fusedform_600_doppia.def.json

* Additional updates in Doppia definitions

* Creation of Doppia base definition, doppia extruders. Update in doppia machine definitions

* correction in quality definitions to pull base definitions from a single base

* more corrections

* small parameter update

Small changes in printing parameters to optimize retraction and other settings.
2020-12-22 17:27:15 +01:00
Remco Burema
9f2ad1c577
Merge pull request #8964 from Ultimaker/CURA-7835_Fix_skirt_brim_line_width
Ensure that the skirt_brim_line_width is selected from right extruder
2020-12-22 17:20:32 +01:00
Jaime van Kessel
a1a74690c5
Merge branch 'master' of github.com:Ultimaker/Cura 2020-12-21 13:16:42 +01:00
Jaime van Kessel
5b43c94c0b
Mark setting as disabled in perobject setting panel if it's enabled property requires it
This is a bit different from the rest, since hiding would mean that the setting can't be removed.

CURA-7569
2020-12-21 13:15:32 +01:00
Ghostkeeper
dfe4185f1e
Merge branch 'Update_CPE_settings_UM2C' 2020-12-21 11:55:12 +01:00
Jaime van Kessel
19a8bd63ab
Remove unused variable
CURA-6682
2020-12-18 15:35:15 +01:00
Kostas Karmas
43615a57b6 Change client scope in the Account
CURA-7868
2020-12-18 14:34:29 +01:00
StijnArntz
561620336e Update CPE settings for UM2C
Combing settings for 0.4nozzle
2020-12-18 14:08:41 +01:00
Jaime van Kessel
cd76326fed
Fix tests
CURA-7835
2020-12-18 11:52:53 +01:00
Jaime van Kessel
037b5d5b44
Ensure that the skirt_brim_line_width is selected from right extruder
This fixes CURA-7835 and Fixes #8716
2020-12-18 11:31:55 +01:00
Eryone
b6ba0eac35 DelDelete the space tab
Deleted the space tab
2020-12-17 18:16:07 +08:00
Eryone
df41490940 Improved the setting 2020-12-17 18:06:20 +08:00
Jaime van Kessel
49effbcd80
Disable survey button 2020-12-17 10:22: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
Konstantinos Karmas
f2b1be4c64
Merge pull request #8949 from mobilegmYT/patch-1
Fix "checkout" to "check out"
2020-12-15 09:14:37 +01:00
RPI News
35e3665a78
Update README.md 2020-12-14 21:27:18 -07:00
Remco Burema
5e7eb2fc93
No need for leading 0 in load-image num-fields.
fixes #8906
2020-12-11 17:18:23 +01:00
Eryone
42ef3fea31
Update the setting version "15" to "16" 2020-12-10 21:38:28 +08:00
Eryone
894ec4232e
Update the setting version "15" to "16" 2020-12-10 21:38:03 +08:00
Eryone
ba309f3cac
Update the setting version "15" to "16" 2020-12-10 21:37:36 +08:00
Eryone
008fc3ffd1
Delete the space tab 2020-12-10 21:10:16 +08:00
Eryone
af5200afd3
Update eryone_er20.def.json
Delete the space tab
2020-12-10 20:59:29 +08:00
Eryone
04418853e6 2020-12-10 20:56:25 +08:00
Eryone
2dce2118f5 Added the eryone_er20 3d printer 2020-12-10 20:25:00 +08: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
fieldOfView
0313b29dcf Fix validator for floats in Machine Settings dialog
The DoubleValidator depends on the system locale, requiring users with certain locales to enter floats with a comma instead of a dot (though confusingly floats are always represented with a decimal a dot). Instead of configuring the DoubleValidator with a locale that only accepts decimal dots, this commit uses a RegExpValidator, like other numeric fields in Cura does.
2020-12-07 16:04:21 +01:00
Ghostkeeper
19d432e50f
Merge branch 'master' into fix_grouping_below_build_plate 2020-12-07 14:27:06 +01:00