mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 18:31:11 -07:00
Use machine manager to get the platform width/depth
This commit is contained in:
parent
de60fb47bf
commit
39b6f81bdf
1 changed files with 3 additions and 3 deletions
|
|
@ -13,8 +13,8 @@ Column
|
||||||
id: wizardPage
|
id: wizardPage
|
||||||
property int leveling_state: 0
|
property int leveling_state: 0
|
||||||
property bool three_point_leveling: true
|
property bool three_point_leveling: true
|
||||||
property int platform_width: UM.Models.settingsModel.getMachineSetting("machine_width")
|
property int platform_width: UM.MachineManager.getSettingValue("machine_width")
|
||||||
property int platform_height: UM.Models.settingsModel.getMachineSetting("machine_depth")
|
property int platform_height: UM.MachineManager.getSettingValue("machine_depth")
|
||||||
anchors.fill: parent;
|
anchors.fill: parent;
|
||||||
property variant printer_connection: UM.USBPrinterManager.connectedPrinterList.getItem(0).printer
|
property variant printer_connection: UM.USBPrinterManager.connectedPrinterList.getItem(0).printer
|
||||||
Component.onCompleted: printer_connection.homeHead()
|
Component.onCompleted: printer_connection.homeHead()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue