sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Dynamic Component of a bi-fold door

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

      have a look at the attached example. It is essentially all driven by the attribute dorrot, which is animated between 0 and 90. this provides the rotation for each of the components, and the distance along the red axis is provided by the 100*cos(doorrot), 100 being the length of the door.


      sliding door DC example.skp

      http://remusrendering.wordpress.com/

      1 Reply Last reply Reply Quote 0
      • L Offline
        lmcad
        last edited by

        Remus,
        Thank you so much. This is what I was trying to do.

        Lou Muller
        LMCAD.COM

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

          Glad i could help πŸ˜„

          http://remusrendering.wordpress.com/

          1 Reply Last reply Reply Quote 0
          • A Offline
            AVguy
            last edited by

            Hi Remus,

            I'm hoping you can help me as this DC stuff is causing my brain to overload. I want to create a folding wall similar to your sliding door DC but with about 10 sections. I've had a play around with your example about but I just can't get the 3rd (or 4th etc) section of door to fold properly.

            Could you please point me in the right direction.

            Thanks
            Huw

            1 Reply Last reply Reply Quote 0
            • M Offline
              mpomeroy
              last edited by

              AVguy,

              I am just learning dynamic components, so thought i would take a stab at it. It was good practice for me. Took me a while but i got it.

              Mike Pomeroy


              sliding door DC example.skp

              1 Reply Last reply Reply Quote 0
              • A Offline
                AVguy
                last edited by

                Hi Mike,

                Thanks for the reply. It was busting my head trying to work out the cos and tan. I had a brain wave over the weekend though and managed to do it with nested components. This also had the advantage of scaleability. Some weirdness with scale going on when setting up the individual components but a whole lot easier to setup and understand IMHO.

                Cheers
                Huw


                sliding door DC example.skp

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AVguy
                  last edited by

                  Next step is to work out a way of making it add doors automaticlly as the length of the opening changes.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    amo
                    last edited by

                    Sorry to bring this back from a long slumber....but is there a way that the rotational axis is different for the two bi-fold panels. I am trying to make it work as a true bi-fold door. So the panel attached to the door frame is rotating on one corner lets call it "A" and the other panel is rotating at the opposite and flipped corner "B". See attached image. I have been trying to reuse the original model attached to the thread, but have had no luck getting it to rotate properly. I need it to have the same rotating parameters as the original does; i.e. opening 90, closing at 0.


                    untitled.JPG

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      AVguy
                      last edited by

                      Hi Amo,

                      I found that you need to change the origin of the 2nd door component so that it rotates around the correct corner.

                      Hope that makes sense.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        amo
                        last edited by

                        AVguy could you show me how you got it to work. Every time I try to change the axis and have it rotate it either separates when it rotates or it overlaps when it rotates.


                        bifold.skp

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AVguy
                          last edited by

                          Hi Amo,

                          have a look at the attached file. What I've done is nest components within components within components. It's a bit messy in that you end up with a whole lot of similar components but it seems to work really well. The end result is scale-able and rotate-able.

                          Note the way the orgin of each nested component moves and the rotation instead of being 90 deg is x 2 to make it 180 deg (effectively facing it the opposite direction)

                          Hope helps


                          bi-fold doors.skp

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            amo
                            last edited by

                            Thanks, that is exactly what I needed for a bifold. That is a very tricky thing to come up with. I don't think I would of thought of doing it that way.

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sarkarshomit
                              last edited by

                              Hi...sorry to wake up this age old topic...but can someone guide me in how to prepare a multi sliding folding door...i am able to do for a single component...but the moment it becomes more than one..it becomes complicated...I downloaded the skp examples done and submitted in this thread, but could not make head or tail of the formulae applied.

                              Kindly help..if possible a video tutorial on youtube...I know i may be asking too much...but there is no tut any where!!...

                              Regards,
                              Shomit

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

                                Start simple, create a rectangle, make it a component, "door" later you can replace it with any other component

                                copy the door to make number required

                                make all a component, then enter the component, make next set of doors a component but change the axis so that it is opposite to the parent

                                do so until you reach last door, then in this case check to see if opposite if not then right click the axis when inside this door component and change

                                build formulas as shown

                                rotate about Z, opposite and reversed (90 x 2 = 180) x -1
                                I used the generic parent as the reference rather than component1 as suggested by Dave and others, etc, so easy to copy through.

                                the rest are always opposite to component 2, so -parent!rotz works

                                always check as you build, so see that it works...

                                Then you can modify the door component. however its important you stay within the initial dimensions of the door boundary box. To increase its size, use scale tool on the whole (component1)

                                So add the size changes to component 1, the children will follow, its not wise to have the children tell the parents what to do. Unless its necessary.


                                keep it simple


                                ![make a "door" component and copy 3 times](/uploads/imported_attachments/lcN7_Capture2.JPG "make a "door" component and copy 3 times")


                                make the four doors in to component#1


                                enter the this component and make the next 3 into component#2, change axis to other side


                                and then enter component#2, make component#3 of the last two doors


                                enter the final door component and check axis position


                                ![we are considering rotation about Z, direct reference to"RotZ" as using negative](/uploads/imported_attachments/eQ9T_Capture7.JPG "we are considering rotation about Z, direct reference to"RotZ" as using negative")


                                ![the second set needs to swing opposite first set, so "-" and 180degs =2x90](/uploads/imported_attachments/Rirq_Capture8.JPG "the second set needs to swing opposite first set, so "-" and 180degs =2x90")


                                from then on opposites... use the outliner as a way of selecting the embeded components


                                make sure you  have the final door


                                now you can pushpull the door height


                                add a bit of detail but (color) keep within the lines, or within the boundary of the door

                                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