I just stumbled over my last question, here is a possible answer:
thea render does the job for me, can be called via undocumented
TH4SU.render("output.jpg") { callback.call }
Has some flaws but generally works well.