Skip to content

Commit dc33019

Browse files
committed
Add layer_time field to LayerOptimized message
Introduces a new float field 'layer_time' to the LayerOptimized message in Cura.proto to represent the time required to print each layer. Updates the field numbering to accommodate the new field.
1 parent 9f4f8fa commit dc33019

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/CuraEngineBackend/Cura.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ message LayerOptimized {
100100
int32 id = 1;
101101
float height = 2; // Z position
102102
float thickness = 3; // height of a single layer
103+
float layer_time = 4; // Time to print this layer in seconds
103104

104-
repeated PathSegment path_segment = 4; // layer data
105+
repeated PathSegment path_segment = 5; // layer data
105106
}
106107

107108

0 commit comments

Comments
 (0)