Cloud-CNC / cura-wasm

Cura Engine powered by Web Assembly (WASM)
https://cloud-cnc.github.io
Other
61 stars 17 forks source link

Metadata: `filamentUsage` & `materialUsage` #14

Closed benzend closed 3 years ago

benzend commented 3 years ago

I'm curious if we're able to get the estimated weight when you slice STL files as I believe Cura has this. Also what do the meta variables mean exactly? filamentUsage and materialUsage aren't really stated well and I have no idea what they mean.

Also what type of units is printTime in?

Update [Solved]:

filamentUsage: length in mm3
materialUsage: length in mm3
printTime: seconds
Wakeful-Cloud commented 3 years ago

I think I forgot to add comments about the units in V1, I'll be sure to add comments in V2 though - sorry! For future reference: demo/index.js and docker/CuraEngine.patch