Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'octoprintApis/dataModels/Filament.go')
-rwxr-xr-xoctoprintApis/dataModels/Filament.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/octoprintApis/dataModels/Filament.go b/octoprintApis/dataModels/Filament.go
new file mode 100755
index 0000000..359e743
--- /dev/null
+++ b/octoprintApis/dataModels/Filament.go
@@ -0,0 +1,10 @@
+package dataModels
+
+
+type Filament struct {
+ // Length estimated of filament used, in mm
+ Length uint32 `json:"length"`
+
+ // Volume estimated of filament used, in cm³
+ Volume float64 `json:"volume"`
+}