218 Commits

Author SHA1 Message Date
Kostas Karmas
03dc8d00fe Up the SDK version to 7.4.0
In preparation for release of the 4.8.

CURA-7795
2020-10-22 11:29:25 +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
Ghostkeeper
a399c8f5fb
Hide Shared Heater functionality
See the explanation in the comment here as to why.
2020-08-21 11:18:20 +02:00
Kostas Karmas
bd54ef8d5a Update the SDK version to 7.3.0 for 4.7
CURA-7641
2020-08-07 11:12:27 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
553b09b6cf Convert doxygen to rst for GcodeWriter, LegacyProfileReader,
MachineSettingsAction, ModelChecker
2020-05-08 16:20:55 +02:00
Nino van Hooff
7302e8ba7f Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
CURA-7383
2020-04-21 11:46:12 +02: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
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
We've added new things to our API. This allows plug-in developers to use them.

Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Jaime van Kessel
58a20fc110
Remove themed color from machinesettings action
Since it's partially in a system themed style, it shouldn't use color.
If it does use color, it gets messed up if the user uses dark theme (white text on
gray background doesn't work)

CURA-7059
2019-12-23 17:08:48 +01:00
Jaime van Kessel
c65ccf29b0
Merge branch 'mb-shared-heater' of https://github.com/smartavionics/Cura 2019-11-14 11:06:12 +01:00
Lipu Fei
b843210fd3 Add machine name to the machine settings dialog 2019-11-05 10:48:18 +01:00
Lipu Fei
38ee4bf208 Remove deprecated functions in MachineManager
CURA-6858
2019-10-22 14:11:40 +02:00
Nino van Hooff
c62ff262ed Change SDK version to 7.0.0
CURA-6858
2019-10-21 14:51:34 +02:00
Lipu Fei
94e89ad4ac Fix merge conflicts with master 2019-09-24 14:26:43 +02:00
Ghostkeeper
4bf8ea9332
Merge branch '4.3' 2019-09-23 11:25:31 +02:00
Nino van Hooff
c43cdb5c63 Implement allowPositive for printhead settings
CURA-6690
2019-09-19 14:49:18 +02:00
Lipu Fei
472e6e88c3 Fix typing 2019-09-19 14:39:03 +02:00
Nino van Hooff
17a832f52f Do not transform negative printhead min max values to positive while
displaying

CURA-6690
2019-09-19 13:56:37 +02:00
Jaime van Kessel
549eb21a5a
Simplify the machinesettings qml 2019-09-18 11:24:11 +02:00
Jaime van Kessel
db0428ceec
Remove anchors that were causing qml warnings 2019-09-18 10:32:47 +02:00
Ghostkeeper
eaf649023a
Fix setting default material after g-code flavour changes has_materials
Don't use the material manager here any more.

Contributes to issue CURA-6600.
2019-09-17 09:23:33 +02:00
Ghostkeeper
977beb8dbb
Re-build container tree if has_materials changes during runtime
A bit of a hack and it'll be very slow. But it should work. Right now this crashes though because it still calls the Material Manager.

Contributes to issue CURA-6600.
2019-09-17 08:55:29 +02:00
Lipu Fei
bc4809d8f8 Fix metadata checking 2019-08-28 11:52:52 +02:00
Remco Burema
f947269cf8 Add machine_heated_build_volume.
See also the engine.
part of CURA-6717
2019-08-14 11:59:13 +02:00
Ghostkeeper
3ea68e6c7f
Fix width of labels in machine settings
- Elide the titles in the columns.
- Give the width of a ratio so that it doesn't matter if the font renders differently or if we resize the window.

Fixes #5742.
2019-06-06 09:44:42 +02:00
Mark Burton
5163c8f983 Added machine_extruders_share_heater setting and associated machine settings dialog checkbox. 2019-06-03 18:10:39 +01:00
Cherubim
f6627daa49
Allow negative values for nozzle offsets and print head shape
That's half of the point of these settings, anyway.

Fixes #5784.
2019-05-28 17:10:32 +02:00
Diego Prado Gesto
4e65232364 Change the font size of settings in extruder tab
To make it consistent with the sizes in the Printer tab.
2019-05-17 11:58:30 +02:00
Lipu Fei
53d595f698 Use loader for machine actions in dialog
CURA-6495
2019-05-06 13:06:23 +02:00
Lipu Fei
b9d8b89113 Fix number of extruders not being updated 2019-05-02 09:03:48 +02:00
Lipu Fei
904a8ab26c Fix theming
CURA-6435
2019-04-17 09:18:08 +02:00
Lipu Fei
75e92aaa78 Adjust printer setup page for Mac
CURA-6057
2019-04-08 14:49:55 +02:00
Jaime van Kessel
75386c0b7e Change the font of the customMachineSettings window
CURA-6057
2019-04-03 17:08:07 +02:00
Jaime van Kessel
362036e064 Fix small display issue where a line was drawn between the tabs
CURA-6057
2019-04-03 17:03:39 +02:00
Lipu Fei
a106a9ddb9 WIP: Cleanup MachineSettingsAction 2019-03-20 08:59:20 +01:00
Lipu Fei
3911c3d73d WIP: Cleanup and unify MachineAction styles 2019-03-19 15:40:44 +01:00
Lipu Fei
8d68db9ff0 WIP: Add first-start machine actions 2019-03-19 14:24:57 +01:00
Aleksei S
7cf1df7435 Remove back Cura.ExtrudersModel{}, because if retrieve the model from backend
the tabs cannot be removed after model update. The QML bug
CURA-6036
2018-12-18 16:19:21 +01:00
Aleksei S
1ac5403c21 Remove extruder tabs from tabView
CURA-6036
2018-12-18 15:52:26 +01:00
Lipu Fei
9f52a52ea3 Fix ExtruderModel reference in machine settings dialog 2018-12-18 09:32:26 +01:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Lipu Fei
620790ae3d Reduce the creations of ExtrudersModels
CURA-6015
2018-12-13 14:12:23 +01:00
Ghostkeeper
f3af5a72ad
Use ListModel.count instead of rowCount
The .count property properly updates when the model is changed.

Contributes to issue CURA-5876.
2018-12-03 11:13:26 +01:00
Lipu Fei
2223ff14f7 Fix extruder index for material diameter box in MachineSettings dialog
CURA-5857
2018-10-29 10:40:25 +01:00
Diego Prado Gesto
f1d94d921c The MachineManager doesn't have the extruder stacks but the active
machine does, so use it when setting the compatible material diameter to
the current extruder.

Contributes to CURA-5857.
2018-10-25 16:27:16 +02:00
Lipu Fei
6fd7b49937 Fix setting extruder material diameter in Machine Settings dialog
CURA-5857

It should update the value of the selected Extruder TAB, not the active
extruder on the printer.
2018-10-25 15:11:04 +02:00
Diego Prado Gesto
94ef0b92fe Fix typo in the getCompatibleMaterialDiameter function.
Contributes to CURA-5834.
2018-10-23 10:25:13 +02:00
Lipu Fei
ea9aa2c777 Add doc for using setCompatibleMaterialDiameter() in QML
CURA-5834
2018-10-22 10:56:11 +02:00