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

      I didn't update my profile. I use Pro version but from what I know dynamic components are not necessary for functions and animations. They work also only with groups.

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

        The functions Help page you linked to is for Dynamic Components.

        Dynamic Components work with Components. They aren't called Dynamic Groups.

        For animations like you are referring to, you don't have to use Dynamic Components. You can use an extension like Animator but either way you'll have to learn how to use whatever you choose. Or you can hire someone to do the work for you.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

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

          I mean that the same functions can be used for components and groups.

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

            Yes. When making Dynamic Components those functions can be used.

            You should get on with doing it. You'd have had it done before now if you'd gotten down to it.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              You could upload a model with some commentary on how it should work

              1 Reply Last reply Reply Quote 0
              • 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
                                      • 1 / 2
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement