mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 23:37:51 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
"magic_mesh_surface_mode": "simple_mode",
|
"magic_mesh_surface_mode": "simple_mode",
|
||||||
"magic_spiralize": "spiralize",
|
"magic_spiralize": "spiralize",
|
||||||
"prime_tower_enable": "wipe_tower",
|
"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"
|
"ooze_shield_enabled": "ooze_shield"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue