sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    An animation for a walk through in a model using ruby

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 107 Views 2 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
      sachi
      last edited by

      Dear all,

      I developed a small 3 dimensional map using a Ruby plugin. It consists of several houses and a road. everything in there is coded in the ruby code. Now i want to add an animation to this map like a virtual tour within the map. So that user can walk through the map.
      As I've seen Sketchup animation is a combination of two or more scenes. User has to change the scene(click on the scene tab) manually to display the animation(to go to the next scene). I want to combine those scenes together to change automatically without any user trigger. I wish to define scenes place to place in the map and write a loop or something to change the scenes automatically. Mainly i want to do this using a ruby plugin.

      So do you think this is possible and if so how? i have goggled but didn't find anything that helps me.
      Please let me know your suggestions.

      Thank you

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        @sachi said:

        User has to change the scene(click on the scene tab) manually to display the animation(to go to the next scene).

        No the user chooses from the menu: View > Animation > Play

        For Ruby YOU use the Animation class.
        Or just change the selected_page via the Pages collection.

        I'm not here much anymore.

        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