sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Does anyone think they can create this ruby?

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 4 Posters 455 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      steelers05
      last edited by

      I am looking for a ruby that allows you to have longer scene transitions than the SU max of 100seconds. This is in order to use V-ray network rendering and would really help a lot of people out that want to use v-ray for animations. It would be nice to have an unlimited amount of time to set for the transitions between tabs, but anything more than 100 would be better than nothing, because 100seconds between tabs only gives you about 3-4 seconds of animation, unless you want to use jerky SU camera movements between scene tabs, but I am trying to eliminate having to use them by having longer animations for just one tab to the next. If anyone thinks this is possible, please let me know...not that I will be able to create it because I know nothing about this sort of thing...so if anyone could even make it, that would be great too. The SU, especially v-ray community would be grateful. Thanks for any responses and help.

      -Steelers05

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Rick has done a bit of work with scenes and transitions and giving finer control to transitions. I'm not sure if something he has already written might help.

        But I'm a bit unclear as to how the v-ray thing works. It exports 1 second of SU animation as a single frame? That seems unlikely, but I've never used it before.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          Just testing the Ruby API and it allows you to set the transition time to values over 100 seconds.
          Sketchup.active_model.pages.selected_page.transition_time = 300

          So you might try to paste this in the Ruby Console:

          
          Sketchup.active_model.pages.each{|page| page.transition_time = 300}
          
          

          And change 300 to the number of seconds you need.

          Hi

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sir
            last edited by

            great code, works perfectly. thanks!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement