mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 06:59:15 +08:00
Filter \n from transformation string
CURA-3858
This commit is contained in:
parent
1682348629
commit
d69736ac34
@ -113,7 +113,7 @@ class SliceInfo(Extension):
|
||||
"maximum": {"x": bounding_box.maximum.x,
|
||||
"y": bounding_box.maximum.y,
|
||||
"z": bounding_box.maximum.z}}
|
||||
model["transformation"] = {"data": str(node.getWorldTransformation().getData())}
|
||||
model["transformation"] = {"data": str(node.getWorldTransformation().getData()).replace("\n", "")}
|
||||
extruder_position = node.callDecoration("getActiveExtruderPosition")
|
||||
model["extruder"] = 0 if extruder_position is None else extruder_position
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user