Where to get "View_Tool_Toggle_Snapping" script demoed in Daz 3D Education Series: Environments vid

pdspds Posts: 593

Has anyone watched this official Daz 3D video, Education Series: Environments - Setting Up the Scene, released on April 28th:

https://www.youtube.com/watch?v=w7ZDHjjozd8&list=PLF3LSR7D48Mf5lVC-llJ1mRxPrdcbr-15

At approximately [07:12] the instructor mentions navigating to a "scene file you donated" to locate a script called View_Tool_Toggle_Snapping. I have no idea what scene file he is referring to and searches of my Daz installation turn up no such script. Does anyone know where I can get this script? it seems handy.

Thanks!

Comments

  • SevrinSevrin Posts: 6,310

    Yeah, this tutorial isn't particularly well scripted.  There's a lot of "now we'll do this, but first we'll do that", and he talks about "inside the scene you donated" out of nowhere.  Wut?  I donated what now?  And then he's kind of all over the place. Stephanie is better organized with her tutorials.

  • pdspds Posts: 593
    Sevrin said:

    Yeah, this tutorial isn't particularly well scripted.  There's a lot of "now we'll do this, but first we'll do that", and he talks about "inside the scene you donated" out of nowhere.  Wut?  I donated what now?  And then he's kind of all over the place. Stephanie is better organized with her tutorials.

     

    I wonder if the part that included where that scene came from got left on the cutting room floor somehow... :-/

  • pdspds Posts: 593
    edited May 2020

    @sevrin and anyone else interested in getting this script: Daz has replied to my comment on the YouTube video with a link to the script. I will post that link here as well, but in case that is not acceptable by the moderators, I wanted you to know where you can now get it.

    Link removed

    Post edited by Richard Haseltine on
  • SevrinSevrin Posts: 6,310
    edited May 2020
    pds said:

    @sevrin and anyone else interested in getting this script: Daz has replied to my comment on the YouTube video with a link to the script. I will post that link here as well, but in case that is not acceptable by the moderators, I wanted you to know where you can now get it.

    Link removed

    Thanks.

    Post edited by Richard Haseltine on
  • Richard HaseltineRichard Haseltine Posts: 102,841
    pds said:

    @sevrin and anyone else interested in getting this script: Daz has replied to my comment on the YouTube video with a link to the script. I will post that link here as well, but in case that is not acceptable by the moderators, I wanted you to know where you can now get it.

    Link removed

    The correct source for this script is http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/viewtools/view_tool_toggle_snapping/start

  • Just discovered this script - installed - shotcuted and translation works fine in universal tool. But rotation don't. What did i miss?

  • the example script has rotation and scale commented out, copy the text of the example to a new script, uncomment the rotation part, comment the translation.

    //oTool.setSnapTranslation( !oTool.getSnapTranslation() );oTool.setSnapRotation( !oTool.getSnapRotation() );

    and save as a toggle rotation script

  • the example script has rotation and scale commented out, copy the text of the example to a new script, uncomment the rotation part, comment the translation.

    //oTool.setSnapTranslation( !oTool.getSnapTranslation() );oTool.setSnapRotation( !oTool.getSnapRotation() );

    and save as a toggle rotation script

    Thaaaaank you sooooo much! Works like charm now... BUT why should they comment this out? Wondering...

  • probably because it's an example rather than a bundled script, it's there so that people making scripts can see the possibility, also perhaps you don't want to toggle all the snapping on at once.

Sign In or Register to comment.