Commit graph

12854 commits

Author SHA1 Message Date
Ghostkeeper
3af91bfca7
Fix QML warning assigning undefined to an integer field
Fixes the following QML warning in the logs:
2020-03-20 14:02:13,482 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/trin/Gedeeld/Projects/Cura/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml:125:13: Unable to assign [undefined] to int

Instead it now assigns the first extruder before a printer has been created. The first extruder also doesn't exist yet at this point, but this doesn't really matter because there is no interface to show yet at this point.

Done during Turbo Testing and Tooling.
2020-03-20 14:17:24 +01:00
Ghostkeeper
c44f82c44f
Add placeholder header pattern
This removes a warning from our log that this image couldn't be found. Instead it now draws a completely transparent image there.
The warning that is no longer in the log now looked like this:
2020-03-20 13:52:27,980 - WARNING - [MainThread] UM.Qt.Bindings.Theme.getImage [133]: No image header_pattern defined in Theme

Done during Turbo Testing and Tooling.
2020-03-20 14:05:42 +01:00
Ghostkeeper
c7e6553dbf
Disallow printers larger than 2km
To do this, I'm giving more power to the NumericTextFieldWithUnit QML element, to allow an arbitrary minimum and maximum. Enforcing this minimum and maximum is fairly simple with a JavaScript hook. This hook is necessary because the DoubleValidator allows intermediary values which defeats the purpose, essentially allowing any number as long as it has the correct number of digits.
Printers larger than 2km would start to give overflow errors in its X and Y coordinates. Z is okay up to about 9 billion kilometres in theory, since we don't need to do any squaring math on those coordinates afaik. In practice I'm doing this because at very high values the Arranger also gives errors because Numpy can't handle those extremely big arrays (since the arranger creates a 2mm grid).

Fixes Sentry issue CURA-CB.
2020-03-20 11:16:16 +01:00
Jaime van Kessel
decf96e99e
Set verticalAlignment of numericTextField
Contributes to #7300
2020-03-20 11:04:24 +01:00
maukcc
8b3a714c16 HMS434 update 2020-03-20 09:27:47 +01:00
Nino van Hooff
93f3970453 Move the package signature pem file to the Resources folder
It will get automatically packed into builds when in the Resources

CURA-7016
2020-03-19 15:14:21 +01:00
Ghostkeeper
44b61d370f
Merge branch 'master' of github.com:Ultimaker/Cura 2020-03-19 14:48:45 +01:00
Ghostkeeper
df0a3143d2
Merge branch 'master' of https://github.com/Magicfirm/Cura into Magicfirm-master 2020-03-19 14:43:47 +01:00
konskarm
90ed7ac184
Merge pull request #7298 from Ultimaker/CURA-7311_stair_step_height_0_for_pva
Reduce stair step height to 0 for PVA
2020-03-19 14:12:28 +01:00
konskarm
7d2391c4ed
Merge pull request #7101 from yyh1002/master
Add DXU machine profile
2020-03-18 16:12:50 +01:00
Ghostkeeper
fdd1cef11a
Reduce stair step height to 0 for PVA
Given that:
* stair stepping is intended to be used to reduce the adhesion between support and the model, where the support rests on the model, and to reduce scarring, and
* PVA doesn't suffer from scarring or adhesion issues due to its water-solubility, and
* our current stair stepping algorithm has some bugs, causing support to disappear sometimes

we've decided to set stair stepping to 0 for all PVA profiles for UM3, UMS5 and UMS3.

Contributes to issue CURA-7311.
2020-03-18 15:50:27 +01:00
Hussain Bhavnagarwala
dc028c3317
Add files via upload
Adding quality files for additional materials
2020-03-18 15:52:11 +05:30
Jaime van Kessel
ced25adc2b
Merge branch 'CURA-7017_link_to_help' of github.com:Ultimaker/Cura 2020-03-18 10:49:35 +01:00
Kostas Karmas
34f81ed0b0 Add link then the printer is not found
CURA-7017
2020-03-18 09:31:13 +01:00
Hussain Bhavnagarwala
a398c9c700
Update fabxpro_pla_normal.inst.cfg
Added redd brand
2020-03-18 12:44:25 +05:30
Hussain Bhavnagarwala
f9bb949a8d
Update fabxpro_pla_fine.inst.cfg
added redd brand
2020-03-18 12:41:53 +05:30
Hussain Bhavnagarwala
b3ed7dd1f2
Update fabxpro_pla_draft.inst.cfg
Added redd brand
2020-03-18 12:35:47 +05:30
Hussain Bhavnagarwala
ced64d6c3f
Update fabxpro_abs_normal.inst.cfg
Added redd brand
2020-03-18 12:34:13 +05:30
Hussain Bhavnagarwala
ebc293707b
Update fabxpro_abs_fine.inst.cfg
Added redd brand
2020-03-18 12:33:14 +05:30
Hussain Bhavnagarwala
3bfc3dfbc9
Update fabxpro_abs_draft.inst.cfg
Added filament brand
2020-03-18 12:29:39 +05:30
konskarm
39f41e8e74
Merge pull request #7112 from mehmetsutas/master
Update Rigid3D Printer Profiles
2020-03-17 16:37:58 +01:00
jeffkyjin
aea8dc4856 remove has_machine_quality for grid 2+ 2020-03-17 23:27:00 +08:00
konskarm
c19a0c24a2
Merge pull request #7243 from oducceu/master
Add Flying Bear Printers
2020-03-16 09:08:18 +01:00
Ghostkeeper
ca65aa4112
Add missing setting descriptions
These are summarised from the Settings Guide articles I wrote a month ago.
2020-03-15 19:33:53 +01:00
ODUCCEU
a5bdea75e0 Reduce redundant variants 2020-03-13 13:45:35 +03:00
ODUCCEU
68988c1d7b Change file names according to naming convention 2020-03-13 12:52:51 +03:00
Jaime van Kessel
78bbc4c955
Add work around to prevent setting not updating 2020-03-12 13:38:36 +01:00
Hussain Bhavnagarwala
c40048bb1d
Update fabxpro_pla_normal.inst.cfg 2020-03-12 11:19:46 +05:30
Hussain Bhavnagarwala
e4890e9dbf
Update fabxpro_pla_fine.inst.cfg 2020-03-12 11:19:12 +05:30
Hussain Bhavnagarwala
d0d2fe1669
Update fabxpro_pla_draft.inst.cfg 2020-03-12 11:18:45 +05:30
Hussain Bhavnagarwala
d7fa66f138
Update fabxpro_abs_normal.inst.cfg 2020-03-12 11:17:47 +05:30
Hussain Bhavnagarwala
e7fd4d0316
Update fabxpro_abs_fine.inst.cfg 2020-03-12 11:17:21 +05:30
Hussain Bhavnagarwala
e1cefc4edf
Update fabxpro_abs_draft.inst.cfg 2020-03-12 11:16:52 +05:30
Jaime van Kessel
d01286a340
Remove all duplicate entries from dark theme 2020-03-10 11:57:30 +01:00
Jaime van Kessel
1a24e9a04a
Remove unneeded overrides from dark theme 2020-03-10 11:35:07 +01:00
Jaime van Kessel
9f8b882452
Merge branch 'transparent_support' of https://github.com/Ghostkeeper/Cura 2020-03-10 11:26:05 +01:00
Ghostkeeper
d7d91d2fec
Don't translate 'Language:' string
This should make it easier to find the language drop-down again if you can't read the current language.

Done as a 5 minute fix.
2020-03-10 11:19:32 +01:00
Ghostkeeper
d2cab162ed
Make support render transparently
This way you can still sort of see what is being supported under there. Handy!

However because the layer view is rendered on top of everything else, the Z buffering is a bit messed up. This makes the support always exactly the transparency value in the theme regardless of how many layers of support are drawn. That's nice, because it makes it so that you can always see through the support.

This doesn't work when the colour scheme of layer view is not set to Line Type. There is no differentiation between support and other things then. Support infill seems to not be used at all by layer view, but I've also made the support interface transparent just like the normal support.
2020-03-10 01:06:11 +01:00
Ghostkeeper
7b0964abef
Merge branch 'DenyCZ-4.5' 2020-03-09 16:57:09 +01:00
Ghostkeeper
0c9a8d3a7c
Add Czech language to the list
You can now select Czech as your Cura language.

Contributes to issue CURA-7285.
2020-03-09 16:55:13 +01:00
Ghostkeeper
b2e626b020
Update header of Czech translations
It's now in the same format as the rest of the languages.

Contributes to issue CURA-7285.
2020-03-09 16:41:58 +01:00
Ghostkeeper
48aa92e04c
Merge branch '4.5' of https://github.com/DenyCZ/Cura into DenyCZ-4.5 2020-03-09 16:33:42 +01:00
Ghostkeeper
fe8e892568
Give warning if preshrink is larger than wall thickness
If it is larger, it could cause gaps to appear between the walls where infill is exposed.

Contributes to #7231.
2020-03-09 16:07:10 +01:00
Jaime van Kessel
d041131f84
Merge branch 'fix_preheat_fields' of https://github.com/fieldOfView/Cura 2020-03-09 13:02:02 +01:00
Ghostkeeper
466964cf41
Change the sign of comparing against density
Contributes to issue CURA-7287.
2020-03-09 12:48:07 +01:00
Ghostkeeper
287e31554b
Merge branch 'master' into Skin_Edge_Settings 2020-03-09 12:47:13 +01:00
ODUCCEU
1ccf73d11e Add Flying Bear Ghost 4S Printer 2020-03-08 18:37:48 +03:00
Daniel Ciepluch
c96d9e27b8 Strings revisited 2020-03-06 20:44:00 +01:00
Ghostkeeper
c32677d27a
Don't hard-code application name here either
Seems that there are 30-ish places where this is hard-coded in the rest of our code base too. I'm not going to fix all of those.
2020-03-06 15:58:41 +01:00
Jaime van Kessel
68ad38de28
Fix sizing of the machine action dialog
Contributes to #7224
2020-03-06 11:02:59 +01:00