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

    Multiple animated groups with one click

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    25 Posts 5 Posters 9.8k 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.
    • P Offline
      phyte
      last edited by

      @dave r said:

      When making Dynamic Components those functions can be used.
      I mean that those functions can be used also for pure groups (without components).
      Anyway, I want for example:

      1. one click on the object (left) causes rotation of each subgroup (right)
        https://i.imgur.com/alxpcmx.png

      2. first click on the object causes rotation of the object on one axis, second click causes rotation on the second axis, third click causes scaling

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

      Is this possible to do in SU without plugins?

      1 Reply Last reply Reply Quote 0
      • 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