mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 18:03:14 +08:00
Fix prime_tower_size import
It was using math.sqrt incorrectly and also was trying to divide strings by each other, while they were floats. Contributes to issue CURA-37.
This commit is contained in:
parent
0454b37243
commit
d2513f9bbb
@ -69,7 +69,7 @@
|
||||
"magic_mesh_surface_mode": "simple_mode",
|
||||
"magic_spiralize": "spiralize",
|
||||
"prime_tower_enable": "wipe_tower",
|
||||
"prime_tower_size": "sqrt(wipe_tower_volume / layer_height)",
|
||||
"prime_tower_size": "math.sqrt(float(wipe_tower_volume) / float(layer_height))",
|
||||
"ooze_shield_enabled": "ooze_shield"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user