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

    Nested dynamic components

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    31 Posts 4 Posters 12.9k Views 4 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.
    • JQLJ Offline
      JQL
      last edited by

      Garry, I'm know about your plugins but I'm not familiar with them as I never tested them...

      When you say that you're creating your DC's from ruby, are you creating them from scratch from there or are you picking up some existing component template and filling it with stuff using ruby?

      www.casca.pt
      Visit us on facebook!

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

        It is all Ruby (except for door handles).

        I have web dialogs for parameters. Cab Maker for instance has 8 tabs and around 240 graphics which change for each parameter. Lots of enabling / disabling of parameters depending upon what you select. Choose a library template (just a small text file) and I go read in the data and update the web dialog.

        I think it is a much better work flow and the resulting skp is kept down in size. This way you can have 100's of choices for textures but I only load in the ones you want to use. This also means that most of the parameters are virtually infinitely sizeable and can be combined many many ways.

        The only place that I use dynamic attributes is for doors opening / closing and drawers opening / closing.


        __Cabinets Tab.png

        1 Reply Last reply Reply Quote 0
        • JQLJ Offline
          JQL
          last edited by

          That's really cool Garry! I'm amazed at what you achieved there. And it seems you have the same thing for doors and windows?

          www.casca.pt
          Visit us on facebook!

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

            Yes for doors, I'm working on windows and on a wall maker.

            As you probably guessed - that bifold came out of my door maker.

            1 Reply Last reply Reply Quote 0
            • JQLJ Offline
              JQL
              last edited by

              That sort of thing interests me a lot more than cabinets.

              You're talking about walls doors and windows all in the same plugin?

              www.casca.pt
              Visit us on facebook!

              1 Reply Last reply Reply Quote 0
              • newnoobN Offline
                newnoob
                last edited by

                Garry and JQL thank you for your extensive answers. I'll process them tomorrow.

                Thanks to the explanation:

                @garry k said:

                Think of it this way
                The top most component (Mother) gets rotated 90 which rotates both the grey and the white panels.
                Then rotate the gray one -180

                it makes now perfectly sense to me.

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

                  JQL

                  3 separate plugins.

                  1 Reply Last reply Reply Quote 0
                  • jujuJ Offline
                    juju
                    last edited by

                    @garry k said:

                    JQL

                    3 separate plugins.

                    How's the window plugin coming along Garry?

                    Save the Earth, it's the only planet with chocolate.

                    1 Reply Last reply Reply Quote 0
                    • newnoobN Offline
                      newnoob
                      last edited by

                      @ JQL

                      I've just checked out your fb-gallery and I like your attic renewal, the material choice and integration of old stuff which was already at the attic before the renewal gives it a warm and cosy feeling. I also like pure minimalistic designs where warm wood tones are mixed with grey concrete tones, like your office, this is like wood and stone. This in combination with some plant green always works for me. Furthermore I like the tiny garden. I am interested in the utilisation of small spaces, like micro houses, micro homes, capsule hotels.

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

                        juju

                        I haven't got very far with the window plugin. I have been concentrating on a wall plugin - then I'll go back to the window plugin.

                        1 Reply Last reply Reply Quote 0
                        • newnoobN Offline
                          newnoob
                          last edited by

                          Ok, I think I got it. I had a problem to understand what relates to what.

                          Which purpose has:
                          Custom
                          Rotation 0

                          ?

                          The sole purpose of it is to display if the the state of onclick is set to 0 or 1 - is it?

                          1 Reply Last reply Reply Quote 0
                          • JQLJ Offline
                            JQL
                            last edited by

                            @newnoob said:

                            @ JQL

                            I've just checked out your fb-gallery and I like your attic renewal, the material choice and integration of old stuff which was already at the attic before the renewal gives it a warm and cosy feeling. I also like pure minimalistic designs where warm wood tones are mixed with grey concrete tones, like your office, this is like wood and stone. This in combination with some plant green always works for me. Furthermore I like the tiny garden. I am interested in the utilisation of small spaces, like micro houses, micro homes, capsule hotels.

                            Thanks newnoob...

                            We are working on a new site and we have some new projects on that line, so keep in touch!

                            www.casca.pt
                            Visit us on facebook!

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

                              Yes
                              The Mother component has an new variable that you add called Rotation.
                              Rotation starts out = 0
                              Click once and Rotation goes to 1
                              Click again and Rotation goes to 0

                              In a situation where you want more than 2 states - separate them by commas.

                              So for a 4 state variable where you might open and close the door in increments.
                              ANIMATESLOW("some variable", 0, 1, 2, 3)

                              1 Reply Last reply Reply Quote 0
                              • newnoobN Offline
                                newnoob
                                last edited by

                                @garry k said:

                                Yes
                                The Mother component has an new variable that you add called Rotation.
                                Rotation starts out = 0
                                Click once and Rotation goes to 1
                                Click again and Rotation goes to 0

                                In a situation where you want more than 2 states - separate them by commas.

                                So for a 4 state variable where you might open and close the door in increments.
                                ANIMATESLOW("some variable", 0, 1, 2, 3)

                                Yea I get it now. It's basically math with functions and variables, variables which can be defined at one place to use it at another, not so complicated actually.

                                Thank you for your time Garry.

                                Especially -

                                @garry k said:

                                Think of it this way
                                The top most component (Mother) gets rotated 90 which rotates both the grey and the white panels.

                                Then rotate the gray one -180

                                • was an eye-opener.
                                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