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

    Suggestion for new plugin

    Scheduled Pinned Locked Moved Developers' Forum
    12 Posts 6 Posters 569 Views 6 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.
    • EdsonE Offline
      Edson
      last edited by

      Chris Fullmer's latest plugin --Extrapolate Colors-- gave me an idea for another one.

      very often in my design work i create louvered facades. in presenting them it would be nice to be able to show the louvers in different states of opening so that the elevation has some variety and some resemblance to a building in real use (see the image attached). to do this one would have to create several instances of a component: one closed, one open and a couple in between. so far so good. the problem arises when one has to arrange them on the facade. putting them one by one to create some randomness would be tedious, especially for a large facade.

      my suggestion is that you create a script to automate it. one could fill the facade with the same component, perhaps putting one sample of each alternative at the bottom. then the script would take over and distribute all the variations randomly throughout the facade.

      does it make any sense to any of you?

      best regards,

      edson


      Picture 2.png

      edson mahfuz, architect| porto alegre β€’ brasil
      http://www.mahfuz.arq.br

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

        Edson, I like it. Maybe it could start with a proxy component such as a rectangle laid out in a grid so the spacing is as desired or with any other spacing. Then you could select them, start the Random Component Replace plugin, select the range of components from a list and click OK. Proper setup would include making sure the component axes are in the same place in both the proxy component and the other components so they'd be aligned correctly.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          If I understand correctly, this is what DC's could do easily.

          Gai...

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

            Could a DC be made that randomly sets the openness of the louvers?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              Yes, it would be fairly easy. I'll have a quick go πŸ‘

              http://remusrendering.wordpress.com/

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

                Here you go, just use the interact tool to change the openess.

                p.s. i assumed openess means changing the angle of the individual slats, not sure if thats right...


                random louver angle.skp

                http://remusrendering.wordpress.com/

                1 Reply Last reply Reply Quote 0
                • GaieusG Offline
                  Gaieus
                  last edited by

                  Yeah, that's what I mean.

                  Funnily, I kept "fingering" it and it didn't always changed the angle. I guess that's how the code works in this particular one - sometimes the same random number comes in as it was before.

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • EdsonE Offline
                    Edson
                    last edited by

                    @remus said:

                    Here you go, just use the interact tool to change the openess.

                    p.s. i assumed openess means changing the angle of the individual slats, not sure if thats right...

                    yes, remus. but this does not introduce the element of randomness that is needed emulate real life (in a real building the configuration of louvers would be different from one day to the next).

                    what i am suggesting is a plugin that changes the openness of the louvers randomly.

                    edson mahfuz, architect| porto alegre β€’ brasil
                    http://www.mahfuz.arq.br

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      Ohh, sorry Edson, I never did get back to you on this. I started working on it, and even got something working. But got busy with moving.

                      I also was thinking a DC would work. You can use random numbers in DC's too. So a single OnClick could genereate a random number between 0 and 180 and that would be the amount of rotation given the louvre's. I was putting together a video tutorial to give to you on how to make the DC's.

                      Maybe if I get a chance here soon, I'll upload it to this thread.

                      Chris

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

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

                        @edson said:

                        yes, remus. but this does not introduce the element of randomness that is needed emulate real life (in a real building the configuration of louvers would be different from one day to the next).

                        what i am suggesting is a plugin that changes the openness of the louvers randomly.

                        It is random though πŸ˜„ It shuffles randomly between 3 states of openness. Judging by your reply this is not how it works in reality, but i think its still possible to do what you want with a DC.

                        edit: a revised version of the first DC which changes the openess by degrees rather than larger increments.


                        random louver angle.skp

                        http://remusrendering.wordpress.com/

                        1 Reply Last reply Reply Quote 0
                        • EdsonE Offline
                          Edson
                          last edited by

                          @chrisglasier said:

                          Dear Edson

                          I hope you don't mind my using your suggestion to illustrate my view that plugins should be considered in two categories...
                          My apologises for "bending" your topic,

                          Chris

                          no problem, chris. we all benefit from these discussions.

                          edson mahfuz, architect| porto alegre β€’ brasil
                          http://www.mahfuz.arq.br

                          1 Reply Last reply Reply Quote 0
                          • chrisglasierC Offline
                            chrisglasier
                            last edited by

                            Dear Edson

                            I hope you don't mind my using your suggestion to illustrate my view that plugins should be considered in two categories:

                            Lead dressing tools | analytical animation

                            So in the case of your louvres it would seem close to reality to use dressing plugins to create an individual component but unworldly to create separate components with different rotations. The component is the same, only its assembly differs.

                            So here I would recommend using a webdialog machine to assemble each louvre and determine its rotation. JavaScript has a ready-made random number generator (Math.random()), but the rotation might better be determined by sun position, or wind direction/air flow for cooling plant and so on. Louvres could also be grouped in sets whilst still retaining their individuality (no exploding of groups required) and all could be animated including delivery, hoisting, unpacking, installation, testing and use.

                            Now all of this is unlikely to be of anything but passing interest to the Sketchup modeler but as the webdialog machine records are in comma separated plain text, other machines designed for different purposes can add their output over the Net and help compile comprehensive data. All (authorised) can see the results.

                            This seems well and good but the main stumbling block is the difficulty in establishing a single standard for the interaction of webdialogs with PCs and Macs. I am not suggesting this should be attempted in this topic, but if what I suggest helps to build a consensus for a dedicated webdialog forum, then I think this would greatly help the development of this important aspect of Sketchup use.

                            My apologises for "bending" your topic,

                            Chris

                            [flash=600,480:1p50byyh]http://vimeo.com/moogaloop.swf?clip_id=6673808&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1[/flash:1p50byyh]

                            Just testing if Vimeo now unblocked

                            With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                            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