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

    [Tutorial] Animator Quick Start

    Scheduled Pinned Locked Moved Animator Beta
    renderpluginsextensions
    134 Posts 39 Posters 746.3k Views 40 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.
    • fredo6F Offline
      fredo6
      last edited by

      @applemango85 said:

      Is it normal for a 2min 45fps animation to take 3-5 hrs to process into video format?

      Good remark.

      The only way to capture the viewport in Ruby is a method (view.write_image), which may take from 0.1s to 3-4 second to get the viewport and put it in a PNG file, depending on:

      • the size of your viewport resolution
      • the complexity of the model

      I would propose that you execute the following one-line command in your Ruby console

      t0 = Time.now ; Sketchup.active_model.active_view.write_image("C:/toto.png") ; puts "Time = #{Time.now-t0}s"

      This will give you the minimum time to generate a single frame.

      You can also get the resolution of the viewport by typing the two commands

      Sketchup.active_model.active_view.vpwidth
      and
      Sketchup.active_model.active_view.vpheight

      NOTE: From the parameters you give, 2 minute video at 45 fps, so 5,400 frames, if it takes 4 hours, then each frame takes 2.6 second in average to be generated.

      Fredo

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

        Great Animator Fredo! Once I got my system issues fixed I was able to create my animation in less than 10 min after watching the tutorials. So now I want to try something, is it possible for a object or group to "fly-in" from off scene? Like if I want to have screws installed in a component at a certain time point? For example, in the first 4 seconds of my animation, a group is moved into another component, at this point, I want a group of screws to come flying in from off scene and then place themselves in the clip at 5 seconds, do their thing, then finish the clip as normal. Possible?

        "If you like what you do, it will never be work..."
        In memory of Sam Maloof, 1916-2009

        1 Reply Last reply Reply Quote 0
        • ArchiblogA Offline
          Archiblog
          last edited by

          Hi mgfranz!

          You might like to take a look at a tutorial by Justin Geis which shows you how to create an exploded view animation using Animator. Around about the 5:30 mark, Justin shows you how to reverse the explosion so that might give you some idea of how to achieve the effect you want.

          The tutorial can be found at:

          Let us know how you get on.

          NF

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

            @archiblog said:

            Hi mgfranz!

            You might like to take a look at a tutorial by Justin Geis which shows you how to create an exploded view animation using Animator. Around about the 5:30 mark, Justin shows you how to reverse the explosion so that might give you some idea of how to achieve the effect you want.

            The tutorial can be found at:

            Let us know how you get on.

            NF

            Thanks NF, but I don't think using the explosion will work in this instance since I have the need to place a total of 12 screws in 3 different locations. I suppose I could do some Easing on the fly-in group, let me do some research. I have attached my SU and animation file for a visual reference, just remove the .txt extension.


            13x3 Exploded_Anim.skp


            13x3 Exploded_Anim.animator.txt

            "If you like what you do, it will never be work..."
            In memory of Sam Maloof, 1916-2009

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

              Ok, it took a while, but I got it figured out. I had to create a variety of transitions, once I placed the objects in the correct location I backed out the object to a location off-scene, then just reversed the movements.

              1. Fixed the screws in place
              2. Backed them off
              3. Moved them off scene
              4. Created transition to move them back
              5. Created transition to move them again
              6. And again.

              Not real pretty, but it works. Still may play with some linear motions, but I got it solved. Not sure why the graphics are pixilated, .avi sucks, .mp4 is fine. I'll play with FPS.

              Film 1.avi

              "If you like what you do, it will never be work..."
              In memory of Sam Maloof, 1916-2009

              1 Reply Last reply Reply Quote 0
              • jgbJ Offline
                jgb
                last edited by

                Looked OK to me. You did what I was going to suggest, but didn't as I got sidetracked out (wife!) as I was going to reply.


                jgb

                1 Reply Last reply Reply Quote 0
                • fredo6F Offline
                  fredo6
                  last edited by

                  It's in my plan to address these types of movement, with a Move-to tool (also to be used to align objects in bulk).

                  Fredo

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

                    Hey, thanks for this excellent plugin.

                    I got a problem with that ffmpeg I download it and it works.
                    but when I get in to do Extension i push the find the ffmpeg nothing happens.
                    maybe you know how to fix it?

                    1 Reply Last reply Reply Quote 0
                    • fredo6F Offline
                      fredo6
                      last edited by

                      @snapkin said:

                      I got a problem with that ffmpeg I download it and it works.
                      but when I get in to do Extension i push the find the ffmpeg nothing happens.
                      maybe you know how to fix it?

                      This is a bug which I fixed in LibFredo6 8.4g, just released.

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • soloS Offline
                        solo
                        last edited by

                        I need some help, I cannot seem to be able to get multiple objects to follow a path properly, anyone know how to achieve this?

                        rotation.JPG

                        http://www.solos-art.com

                        If you see a toilet in your dreams do not use it.

                        1 Reply Last reply Reply Quote 0
                        • ntxdaveN Offline
                          ntxdave
                          last edited by

                          @solo said:

                          I need some help, I cannot seem to be able to get multiple objects to follow a path properly, anyone know how to achieve this?

                          [attachment=0:14vt9cpa]<!-- ia0 -->rotation.JPG<!-- ia0 -->[/attachment:14vt9cpa]

                          If they do not need to move indepently, how would it be to group them?

                          1 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            @solo said:

                            I need some help, I cannot seem to be able to get multiple objects to follow a path properly, anyone know how to achieve this?

                            The Follow Path tool (like other tools) allows to select several objects (keep CTRL depressed).

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              cgalaon
                              last edited by

                              I've got the same problem in Sketchup 2018 😞
                              I copied the ffmpeg.exe and executed it in the directory C:\Users(User Name)\AppData\Roaming\SketchUp\SketchUp 2018\SketchUp\Plugins and in the directory: C:\Users(User Name)\AppData\Roaming\SketchUp\SketchUp 2018\SketchUp\Plugins\Fredo6_!LibFredo6
                              WITH NO AVAIL!!!
                              Any help, please?!

                              This is the error from Ruby console:

                              Error: #<Errno::ENOENT: No such file or directory @ dir_s_mkdir - C:/Users/Chip/Desktop/TPOS/Animator Videos/Pressure gauge - 21-Sep-2018 09-57-10 - Gauge 3/4>
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6videomanager.rbe:921:in mkdir' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6videomanager.rbe:921:in movie_create_folder'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6videomanager.rbe:831:in movie_top_generate' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatortool.rbe:2204:in movie_dialog_call_back'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatordialogvideogeneration.rbe:381:in call' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatordialogvideogeneration.rbe:381:in notify_result'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatordialogvideogeneration.rbe:449:in on_close' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatordialogvideogeneration.rbe:412:in block in dialog_create'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:583:in call' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:583:in j_onclose'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:293:in block in create_dialog' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:322:in call'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:322:in close' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:322:in close'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatordialogvideogeneration.rbe:460:in close_validate' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_animator/animatordialogvideogeneration.rbe:1251:in param_dialog_callback'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:752:in call' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:752:in j_action'
                              c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:634:in j_callback' c:/users/chip/appdata/roaming/sketchup/sketchup 2018/sketchup/plugins/fredo6_!libfredo6/body_lib6webwdlg.rbe:622:in block in j_dispatch'

                              1 Reply Last reply Reply Quote 0
                              • fredo6F Offline
                                fredo6
                                last edited by

                                Is "Pressure gauge - 21-Sep-2018 09-57-10 - Gauge 3/4" the name of your file? If so, then 3/4 is probably creating an issue, as '/' is used as a folder separator.

                                Fredo

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  cgalaon
                                  last edited by

                                  @migmat said:

                                  PROBLEM GENERATING VIDEO with ffmpg.exe INSKETCHUP 2013 (Works Animator for this versión?)

                                  1- Animator Beta Works OK
                                  2- Install ffmpeg.exe in LibFredo6 (disapear the red text to Find the ffmpeg.exe)
                                  3- Make a simple animation that Works fine in preview
                                  4- Try to generate a video with defaut parameters. Push the button "Test Image" and also work
                                  5- Push the button "Generate Video" and NOTHING HAPPENDS. Sketchup continues inside the animator plugin. I can exit and star again the plugin,but nothing happends.

                                  I instal the two versión of ffmpeg.exe, the last and the 3.2 (more stable).

                                  Thanks in advance

                                  PROBLEM SOLVED!!!!

                                  M8, I had the same problem until I figured it out. When you name your "Film" in Animator, DON'T USE symbols like the followings (the ones that Windows files creator wouldn't allow it either): \ / : * ? " <> and |. Change the name using other symbols (all the rest, the allowed ones) and TACHA!!
                                  Regards to all readers and SU/Animator users. Chip

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    CiscoNA
                                    last edited by

                                    I can not find the button of the Animator plugin in Sketchup 2018. Is it visible in my extension manager but I can not open the plugin. What do i need to do?

                                    1 Reply Last reply Reply Quote 0
                                    • fredo6F Offline
                                      fredo6
                                      last edited by

                                      @ciscona said:

                                      I can not find the button of the Animator plugin in Sketchup 2018. Is it visible in my extension manager but I can not open the plugin. What do i need to do?

                                      Did you install the companion library LibFredo6?

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Auressalmi
                                        last edited by

                                        Hi!

                                        I did a quick animation and tried to make it mp4-video, but it fails every time?
                                        Animation runs fine on Sketchup and video render does open and work, but when its done
                                        MP4- button is red and says "error in the video file generation".
                                        I have tried different setting and FFmpeg.

                                        I have Windows 7, Animator 2.3c and sketchup 2017

                                        Greetings from Finland - Juho

                                        1 Reply Last reply Reply Quote 0
                                        • fredo6F Offline
                                          fredo6
                                          last edited by

                                          Juho,

                                          I would need that you post or PM the model to me to investigate.

                                          Fredo

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            Auressalmi
                                            last edited by

                                            Thanks for quick answer!

                                            Here is the file, do you need something else?

                                            Edit Tested on different model, same error message.

                                            -Juho


                                            Hammastanko_Sähköohjaustehostin.skp

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

                                            Advertisement