How to get printing dimension for use in the postprocessing script
 
Notifications
Clear all

How to get printing dimension for use in the postprocessing script  

  RSS
mrisco
(@mrisco)
New Member
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
Diem
 Diem
(@diem)
Illustrious Member
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
Neophyl
(@neophyl)
Illustrious Member
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
Diem
 Diem
(@diem)
Illustrious Member
RE: How to get printing dimension for use in the postprocessing script

@neophyl

Useful, thanks. 

Cheerio,

Posted : 10/07/2021 12:29 pm
mrisco
(@mrisco)
New Member
Topic starter answered:
RE: How to get printing dimension for use in the postprocessing script

Thank you!

Posted : 13/07/2021 5:18 pm
Share: