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

    Animer deux composants en même temps /animate two components

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    7 Posts 2 Posters 6.9k Views 2 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.
    • G Offline
      GuillaumeChsg
      last edited by

      Bonsoir tout le monde,

      Après une recherche sur le forum je ne trouve pas la réponse à ma question. C'est pourquoi je m'en remets à vous et à votre savoir en matière de composants dynamiques.

      Je souhaite animer deux composants en un seul clic. En effet j'ai constitué un tiroir dynamique et et des façades de tiroir dynamiques.
      Or je n'arrive pas à faire en sorte qu'en cliquant sur la façade cela actionne une fonction Animate sur le tiroir dans le même temps.

      Auriez-vous une idée de comment résoudre ce cas de figure ?
      J'ai essayé de grouper le tiroir et la façade mais je n'arrive pas à faire bouger les deux composants en même temps.

      Si besoin je peux partager mon composant dynamique afin que vous puissiez naviguer dedans.

      Dans l'espoir de vous lire,
      Merci par avance,

      GuillaumeChsg

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

        create a separate attribute and reference that

        https://forums.sketchup.com/t/dynamic-components-animation/120381

        Si besoin je peux partager mon composant dynamique afin que vous puissiez naviguer dedans.
        can do

        1 Reply Last reply Reply Quote 0
        • G Offline
          GuillaumeChsg
          last edited by

          Hi Pcmoor,

          Thanks you for responding,
          Here is my Dynamic Component, this is a little complex because of generating copies.
          I let you see that in my dynamic component.

          1 Reply Last reply Reply Quote 0
          • G Offline
            GuillaumeChsg
            last edited by

            All right, I made it !!

            Using the link you gave me, i finally got that drawer open, but it open all the drawer in the same time 😆 😆 .

            I used the fonction ANIMATECUSTOM.

            Maybe do somebody knows how I can open them one by one ?
            All the drawers/facedrawers are generated automatically.

            Here is my dynamic component if someone wants to see the "problem".

            Thanks,


            Caisson Dynamique_Tiroirs_Open.skp

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

              The drawer and face has to be within the component that is copied, most likely you need a handle too. So place all within a "opening" component and copy this as needed.

              May I know if this is a one / two off project or are you hoping to create a collection?


              Caisson Dynamique - Tiroirs - pcmoor1.skp

              1 Reply Last reply Reply Quote 0
              • G Offline
                GuillaumeChsg
                last edited by

                Hi,

                Thanks for the answers you gave me ! I'm sorry but my english is not so good and I didn't quite understand your question "May I know if this is a one / two off project or are you hoping to create a collection?"

                Moreover, I thank you VERY MUCH for the modifications and the solution you gave me ! It works very well !
                I will look into your modification and try to understand your thought process 😄 😄

                Warmest regards PCMOOR 😎

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

                  Further to this, you will notice that on animation of the bottom drawer, all move. To correct this the animation must be moved to inside the copy. Hence another level is created.

                  My reason to ask about your interest in DCs is to guide you in your development. Although internal copies has its merit it also has many drawbacks, in that it greatly increases file size and becomes more complicated in structure, as are becoming aware. So if this is a basic project then okay, but if its a development toward a kitchen design system with quantity lists, materials... then I suggest looking at
                  https://sketchucation.com/plugin/1613-gkware_cabmaker

                  If you still wish to pursue your own, then I can help, but the DCs need to be simple and have the ability to swap, plus incorporate some simple ruby scripts to make it easier to handle.


                  Caisson Dynamique - Tiroirs - pcmoor2.skp

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

                  Advertisement