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

    Multiple animated groups with one click

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    25 Posts 5 Posters 9.7k Views 5 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.
    • pilouP Offline
      pilou
      last edited by

      Surely in Dynamic components (with Pro Version of SU)
      But you must make a light coding!

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

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

        Perhaps you should take a look at SimLab Composer.

        They have a free version and you can click on objects to animate them.

        1 Reply Last reply Reply Quote 0
        • P Offline
          pcmoor
          last edited by

          using onclick formula with groups

          1. rotation with cumulative angle

          2. multi movement with a timeline called num

          example1.skp

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

            Impossible to load this above exemple1 (too recent version) πŸ˜‰

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

            1 Reply Last reply Reply Quote 0
            • P Offline
              pcmoor
              last edited by

              should have known better......
              version 8

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

                Better loading for a more large audiance!! πŸ˜‰

                So Dynamic Components I presume? πŸ˜„

                GIF_clicmove.gif

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

                1 Reply Last reply Reply Quote 0
                • P Offline
                  phyte
                  last edited by

                  Thanks for these models, I've tried to figure it out and implement it to my idea, but still I don't get it. Can you just make that for me?:

                  1. 3 subgroups with different sizes, same axis
                  • first click: red, blue rotates by 45, 90, green no change
                  • second click: going back to start positions (0, 0)

                  https://i.imgur.com/2tIVSVn.png

                  1. 2 subgroups with different sizes, same axis
                  • first click: red changes its size (2)
                  • second click: whole group rotates by 90 (3)
                  • third click: red gets original size (4)
                  • fourth click: back to start/rotation -90 (1)

                  https://i.imgur.com/JDNJuGx.png

                  1. 2 subgroups with different sizes, same axis
                  • first click: red changes its size (2)
                  • second click: red changes its size (3)
                  • third click: back to start/red changes its size (1)

                  https://i.imgur.com/27zQkk1.png

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pcmoor
                    last edited by

                    examples 2.skp

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      phyte
                      last edited by

                      Thank you, I still can't recreate the same objects having same values.
                      ad 1: error in

                      =-Group!switch*90
                      

                      https://i.imgur.com/1hC2jEm.png

                      ad 2: error in

                      =choose(Group!switch,180,180-15*Group!counter,30,30+15*Group!counter)
                      

                      https://i.imgur.com/5ma3uH2.png

                      Also, one more animation:
                      4. 2 subgroups

                      • first click [right]: bigger subgroup rotates holding to smaller one, whole group moves to stick with wall object (independent object)
                      • second click [left]: goes back to 90 rotation and sticks to the wall

                      https://i.imgur.com/6BcBHVY.png

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pcmoor
                        last edited by

                        Without the file, I can't be sure, but is the child label "group" as well as the parent? if so then there is a reference to the same. Double click one of the labels and change the name

                        Capture.PNG

                        the next
                        example3.skp

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          phyte
                          last edited by

                          Ok, I fixed it and did what I wanted to do (more or less), thanks again.

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

                          Advertisement