Using a postprocessing script : https://forum.duet3d.com/topic/14994/f-r-auto-define-m557-mesh-bounds-from-gcode/5?_=1637506151764
- 1
Using a postprocessing script : https://forum.duet3d.com/topic/14994/f-r-auto-define-m557-mesh-bounds-from-gcode/5?_=1637506151764
To answer the question: no, there isn't. The replacement patterns in the start/end gcode snippets are filled in before the model is sliced. The (exact) min/max values including skirts/brims/rafts and horizontal expansion is only known after slicing.
Tanks all! Post processing script works beautifully!
Recommended Posts
sn2006gy 0
I see the gcode has values in comments - would be nice to just find where to pass these as parameters
[FR] Replacement patterns for print area · Issue #10884 · Ultimaker/Cura (github.com)
;FLAVOR:RepRap ;TIME:1813 ;Filament used: 2.3164m ;Layer height: 0.28 ;MINX:124.335 ;MINY:124.335 ;MINZ:0.24 ;MAXX:175.665 ;MAXY:175.664 ;MAXZ:21.45
Link to post
Share on other sites