mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 22:16:01 +08:00
Fix prime tower position limits w.r.t. the origin of its placement
The origin of the prime tower's coordinates are on the front-right side of the prime tower. We should adjust the minimum and maximum values of the position of the prime tower to account for that, rather than having the limits be based on the centre of the prime tower.
This commit is contained in:
parent
9fe0ccac23
commit
8fadc41ac8
@ -3776,8 +3776,8 @@
|
||||
"default_value": 200,
|
||||
"minimum_value_warning": "-1000",
|
||||
"maximum_value_warning": "1000",
|
||||
"maximum_value": "machine_width - 0.5 * resolveOrValue('prime_tower_size')",
|
||||
"minimum_value": "0.5 * resolveOrValue('prime_tower_size')",
|
||||
"maximum_value": "machine_width",
|
||||
"minimum_value": "resolveOrValue('prime_tower_size')",
|
||||
"settable_per_mesh": false,
|
||||
"settable_per_extruder": false
|
||||
},
|
||||
@ -3791,8 +3791,8 @@
|
||||
"default_value": 200,
|
||||
"minimum_value_warning": "-1000",
|
||||
"maximum_value_warning": "1000",
|
||||
"maximum_value": "machine_depth - 0.5 * resolveOrValue('prime_tower_size')",
|
||||
"minimum_value": "0.5 * resolveOrValue('prime_tower_size')",
|
||||
"maximum_value": "machine_depth - resolveOrValue('prime_tower_size')",
|
||||
"minimum_value": "0",
|
||||
"settable_per_mesh": false,
|
||||
"settable_per_extruder": false
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user