• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

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

Scheduled Pinned Locked Moved Dynamic Components
sketchup
7 Posts 2 Posters 6.9k Views
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 2 Apr 2020, 17:55

    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 2 Apr 2020, 20:52

      create a separate attribute and reference that

      Link Preview Image
      Dynamic components - Animation

      Hi Forum, I’m working on a pair of gears meshing and I want to animate them. The gears are identical and I can animate them - but only one at a time. Is it possible to animate them both together so that they remain in me…

      favicon

      SketchUp Community (forums.sketchup.com)

      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 3 Apr 2020, 09:13

        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 3 Apr 2020, 15:56

          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 3 Apr 2020, 22:52

            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 4 Apr 2020, 10:19

              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 5 Apr 2020, 01:04

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

                Advertisement