Executing Daz Script from external application

mr-smirkmr-smirk Posts: 6

Hello!

I'm trying to procedually generate Daz3d scenes with a Daz script. Now I would like to integrate that script into a nodeJS application.

My question is rather simple, however the answer might be more complex:

How can I start a daz3d script and pass arguments to that Daz3d script from a nodeJS application?

The way I thought of it is to use something like fork to start the script. However, the script needs to run inside Daz3d to setup, render scenes and save the rendered scenes. Is there an interface that allows such kinds of connections?

 

If not possible, is it possible to have Daz3d script read/write to a file? The script could read that file every couple of seconds to then execute the actions that are written down inside that file. The nodeJS application could then write the commands for the script into that file. However, that'd be a rather messy solution.

Any help is sincerely appreciated.

Paul

Post edited by mr-smirk on

Comments

Sign In or Register to comment.