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

    [Plugin] Smoothstep Animation

    Scheduled Pinned Locked Moved Plugins
    80 Posts 50 Posters 91.5k Views 50 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.
    • M Offline
      matt77
      last edited by

      thank you so much!!

      this has been much needed in SU.

      Many,Many Thanks

      Matt

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        What is the file format of images exported?

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • M Offline
          matt77
          last edited by

          Either Jpeg or PNG..

          1 Reply Last reply Reply Quote 0
          • B Offline
            Ben Ritter
            last edited by

            Whaat,

            Thank you so very much,

            Ben

            1 Reply Last reply Reply Quote 0
            • jcdbJ Offline
              jcdb
              last edited by

              How do you set all scene delays to 0.0 seconds? 😕

              http://www.acustombuilder.com

              1 Reply Last reply Reply Quote 0
              • spenceS Offline
                spence
                last edited by

                jcdb,

                Go to Model Info, under window, and then Animation, scene delay.

                Spence

                1 Reply Last reply Reply Quote 0
                • PixeroP Offline
                  Pixero
                  last edited by

                  Thanks for a great script. 😄

                  Would it be possible to add an attribute to all the existing scenes in the model that they are "keyframes" and then add scenes for every frame in the animation with an attibute that they are "inbetweens" and add scene transition times according to your smoothstep script.
                  The script should then be able to delete all the "inbetweens" if you want to change the animation but leave the "keyframes" intact.
                  I believe this would make it work with external renderers.
                  What do you think, is it doable?

                  1 Reply Last reply Reply Quote 0
                  • jcdbJ Offline
                    jcdb
                    last edited by

                    @spence said:

                    jcdb,

                    Go to Model Info, under window, and then Animation, scene delay.

                    Thanks spence 👍

                    http://www.acustombuilder.com

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      Whaat
                      last edited by

                      @pixero said:

                      Thanks for a great script. 😄

                      Would it be possible to add an attribute to all the existing scenes in the model that they are "keyframes" and then add scenes for every frame in the animation with an attibute that they are "inbetweens" and add scene transition times according to your smoothstep script.
                      The script should then be able to delete all the "inbetweens" if you want to change the animation but leave the "keyframes" intact.
                      I believe this would make it work with external renderers.
                      What do you think, is it doable?

                      That's a cool idea and definitely doable! 👍 I'll do some experimenting.

                      SketchUp Plugins for Professionals

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

                        Thanks again, Whaat!

                        Jon
                        KT Team member

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          RickW
                          last edited by

                          @whaat said:

                          @pixero said:

                          Thanks for a great script. 😄

                          Would it be possible to add an attribute to all the existing scenes in the model that they are "keyframes" and then add scenes for every frame in the animation with an attibute that they are "inbetweens" and add scene transition times according to your smoothstep script.
                          The script should then be able to delete all the "inbetweens" if you want to change the animation but leave the "keyframes" intact.
                          I believe this would make it work with external renderers.
                          What do you think, is it doable?

                          That's a cool idea and definitely doable! 👍 I'll do some experimenting.

                          Unfortunately, there's currently no way to delete pages/scenes in ruby... 😞

                          RickW
                          [www.smustard.com](http://www.smustard.com)

                          1 Reply Last reply Reply Quote 0
                          • PixeroP Offline
                            Pixero
                            last edited by

                            Here's what Todd said at the Google Group:

                            @unknownuser said:

                            Sketchup.active_model.entities.erase_entities(page) should work, but
                            it hangs SketchUp. It's a known and reported bug.

                            To get around this bug, do this:

                            First, make the page you want to delete the active page. Then, issue
                            this from Ruby:

                            Sketchup.send_action "pageDelete:"

                            That means it can be done even if its a work around.

                            If not we could save the model prior to using the script and then saving it after, under another name or with a "_anim" after.
                            Not the best way but it would still mean we could render a smooth animation.

                            1 Reply Last reply Reply Quote 0
                            • erikBE Offline
                              erikB
                              last edited by

                              Thanks from me to Whaat, very much needed script !
                              greetings erikB

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kwistenbiebel
                                last edited by

                                Thank you Whaat!
                                I hope you get the 'to scene tabs' method working, so we can use external render software on the animation.

                                Great job! 👍

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Matt666
                                  last edited by

                                  @pixero said:

                                  Sketchup.send_action "pageDelete:"

                                  A confirmation message box opens every attempt to delete a scene...

                                  Frenglish at its best !
                                  My scripts

                                  1 Reply Last reply Reply Quote 0
                                  • PixeroP Offline
                                    Pixero
                                    last edited by

                                    Well...lets hope Whaat finds a trick to fool SU to delete the scenes without SU knowing what happened... 😒

                                    Is

                                    entities.clear!
                                    

                                    not working either?

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kwistenbiebel
                                      last edited by

                                      Hi Whaat,

                                      Would it be a sh*tload of work for you to have this plugin make default scene tabs after smoothing the animation ? (needed for render engines)
                                      The current method (cameralines.rb,F-Spline bezier,Flightpath (or SU-animate) is kind of tedious.
                                      Your smoothstep animation ruby would be an easier 'out of the box solution' when it can create a scene tab animation.

                                      If it is a lot of work...maybe commercial?

                                      1 Reply Last reply Reply Quote 0
                                      • W Offline
                                        Whaat
                                        last edited by

                                        @kwistenbiebel said:

                                        Hi Whaat,

                                        Would it be a sh*tload of work for you to have this plugin make default scene tabs after smoothing the animation ? (needed for render engines)
                                        The current method (cameralines.rb,F-Spline bezier,Flightpath (or SU-animate) is kind of tedious.
                                        Your smoothstep animation ruby would be an easier 'out of the box solution' when it can create a scene tab animation.

                                        If it is a lot of work...maybe commercial?

                                        I am curious. Which render engines are able to automatically render all scene tabs? I assume you are not manually rendering each scene tab when you are creating these types of animations.

                                        SketchUp Plugins for Professionals

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kwistenbiebel
                                          last edited by

                                          Vray and Fryrender can render a scene tab animation.
                                          For instance, if you have 1 scene tab per animation frame, you set the SU transition time to 1 second.
                                          In the Vray/Fry panel, you set 1 fps.
                                          That way, Vray/Fry will render each scene tab automatically when hitting the render button.

                                          I thought Skindigo can do this as well? (confused)

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

                                            yeah im with biebel on this one.. that would be great if you could make something like that

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

                                            Advertisement