Notifications
Clear all
How to get printing dimension for use in the postprocessing script
I want to extract the printing size X x Y x Z from the g-code or env vars for use in a post-processing python script. Where can I get that information?
Posted : 10/07/2021 6:16 am
RE: How to get printing dimension for use in the postprocessing script
It's not in there explicitly. I think you'll have to derive X and Y from the G1 commands, Z is easy to find from the last layer change.
I think G90 is always present so the values are absolute.
Cheerio,
Posted : 10/07/2021 10:57 am
RE: How to get printing dimension for use in the postprocessing script
On the second page of this very forum https://forum.prusa3d.com/forum/prusaslicer/print-area-with-g-code-variables/
Posted : 10/07/2021 11:08 am
RE: How to get printing dimension for use in the postprocessing script
@neophyl
Useful, thanks.
Cheerio,
Posted : 10/07/2021 12:29 pm
Topic starter
answered:
RE: How to get printing dimension for use in the postprocessing script
Thank you!
Posted : 13/07/2021 5:18 pm