Support for Poser scripts

Is there going to be  any support for poser scripts?

-Eileen

Comments

  • mjc1016mjc1016 Posts: 15,001

    Support in what?

  • If you mean Daz Studio being able to run python scripts... No.

    Help with writting python scripts for Poser. You could try the Poser Discussion thread. Or google PhilC Poser Python.

  • If there's no effort to make DAZ support python scripts, is there any effort to translate the python scripts to DAZ's jscript?

     

    -Eileen

  • No. You are dealing with not just two different scripting languages, but also two very different products.

    Back when it was worth the time to create products for both Poser and Daz Studio, I would do both a Daz script and Poser python version. And take my word for it, there is not any way to translate from one to the other with code. You have to start from scratch for each.

  • mjc1016mjc1016 Posts: 15,001

    No. You are dealing with not just two different scripting languages, but also two very different products.

    Back when it was worth the time to create products for both Poser and Daz Studio, I would do both a Daz script and Poser python version. And take my word for it, there is not any way to translate from one to the other with code. You have to start from scratch for each.

    Even incorporating PyQT into the mix doesn't help.

  • Richard HaseltineRichard Haseltine Posts: 100,871
    edited November 2016

    You need to remember that the langauge - ECMA Script for DS, Python for Poser, is only the beginning. Most of the code in most scripts is not generic but calling on application-specific data objects that reflect the underlying structure of the applications. DS was apparently going to have Python initially (Mac support caused issues, as I recall from what was said at the time - that would be on the oldest forum so no longer available to check) but that would not have been anywhere near enough to allow it to run Poser scripts.

    Post edited by Richard Haseltine on
  • So, there's no way to map Poser-specific data objects to DS data objects?

  • ebauer01 said:

    So, there's no way to map Poser-specific data objects to DS data objects?

    I'd say no.

  • Consider the idea of currently selected item. In Poser, at least until recently, a scene is never empty - at the very least there are the default cameras - and one of the scene items will be the currently seelcted item; if there is a figure in the scene at all there will also be a currently selected figure as I recall, figures and other items being separately handled. In Poser there will never be more than one selected figure and one selected item (bone, prop, camera or the like). By contrast, in DS it is possible to have a scene with no selectable items at all,  there is no special disctinction between selected figure and selected bone/prop/camera etc, and if there are nodes in the scene then there may still be none selected, or there may be multiple selected. As a result the logic for getting the currently selected item would be inherently different between the two applications.

Sign In or Register to comment.