Dear ConTeXt users,

presently I try to use asymptote to render a graphic in a ConTeXt document using the module filter. I have found some suggestions on this mailing list how this can be done:

https://mailman.ntg.nl/pipermail/ntg-context/2015/080581.html

I replaced the asymptote code with my own one and everything works fine. But if I use LaTeX together with the asymptote package I get an interactive 3D graphic (if I open the output with Adobe Acrobat). To do this I compile my attached file LuaLaTeX-asymptote.tex and then I compile the asymptote code via the command

asy LuaLaTeX-asymptote-*.asy

in the console. If I compile the LaTeX document again the result is the attached pdf LuaLaTeX-asymptote.pdf that contains the interactive graphic.

Can I achieve the same using ConTeXt if I modify the attached code example I used? What do I have to modify?

Best regards
Mathias Schickel