Skip to content

Instantly share code, notes, and snippets.

@rickyzhang82
Last active May 15, 2018 12:02
Show Gist options
  • Save rickyzhang82/33831c6d5a3eaaa3de3ffb5122f15b69 to your computer and use it in GitHub Desktop.
Save rickyzhang82/33831c6d5a3eaaa3de3ffb5122f15b69 to your computer and use it in GitHub Desktop.
Cura parts output file format

Parts output format

File format:

model size:40598 81398; maximum (x,y) of the model.
volume index:0 ; the index of volumes
layer index:0 ; the index of layer in current volume
part index:0 ; the index of part in current layer
outline index:0 ; the index of outline in current part
x0 y0 x1 y1 x2 y2;  Start to output list of point (x,y) of the 1st polygon
x0 y0 x1 y1 x2 y2 x3 y3; 2nd polygon
...
The unit of coordinate is 1000th of millimeter. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment