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

    [Plugin] Generate Ceiling Grid (Updated 27-Mar-2014)

    Scheduled Pinned Locked Moved Plugins
    99 Posts 23 Posters 93.7k Views 23 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.
    • gullfoG Offline
      gullfo
      last edited by

      seems to work perfect. including complex ceilings. but... if you have the face @ zero on the z-axis, you do see the inverted faces which are flush with the grid and not dropping through. so just make sure your ceiling face is above the zero plane... then again i may have spoke too soon... a complex ceiling definitely exhibits some strange results even when sitting above the 0 on z-axis...


      ceiling tile example


      result from face @ zero on z-axis


      complex ceiling.skp


      complex ceiling.jpg

      Glenn

      http://www.runnel.com

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

        @gullfo said:

        seems to work perfect. including complex ceilings. but... if you have the face @ zero on the z-axis, you do see the inverted faces which are flush with the grid and not dropping through. so just make sure your ceiling face is above the zero plane... then again i may have spoke too soon... a complex ceiling definitely exhibits some strange results even when sitting above the 0 on z-axis...

        Each time I've tried (and just did again), my ceiling plane was 'elevated'. The plugin worked perfectly until this last tweak ... I'm no programmer or ruby person, but it would appear something occurred w/in the last effort?

        I've also tried both 2 x 2 and 2 x 4 grids.

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomot
          last edited by

          @sdmitch said:

          tomat, check the case of the "x" in the options. It looks like lower case which will not match the "X" in the case statement.

          YES! YES!...... I forgot to read my own Sticky note "Watch the use of case" 😳

          (if the SU API Ruby Console was more inclusive by incorporating the entire Ruby reference perhaps this error would have been properly flagged when a script is run)

          [my plugins](http://thingsvirtual.blogspot.ca/)
          tomot

          1 Reply Last reply Reply Quote 0
          • sdmitchS Offline
            sdmitch
            last edited by

            Apparently all my test shapes have been at Z=0. Elevation does matter. Sorry about that.

            Well at least I thought elevation mattered. I did a move/copy on a shape and elevated it. When I ran the plugin, I got the pulled down faces without texture, but when I created a elevated shape, it didn't have the problem. I then tried to duplicate the create at Z=0 and move/copy to an elevation and results were normal! What a lovely thing an intermittent problem is!!!

            Nothing is worthless, it can always be used as a bad example.

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • Z Offline
              ZFRPS
              last edited by

              first,I need to speak sorry,and i get carried away for this plugin,because i believe this plugin is one of "BIM" plugins,BIM need details ,if this can done , I hope !

              However,i must thanks sdmitch and everyone again,this plugin is great.

              sketchup is bim

              1 Reply Last reply Reply Quote 0
              • gullfoG Offline
                gullfo
                last edited by

                yea, being its occurring over several runs, it may be a variable scope issue where something is persisting which causes the subsequent run to make incorrect assumptions...

                Glenn

                http://www.runnel.com

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Ben Ritter
                  last edited by

                  Sam, thank you. Good stuff!

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

                    @sdmitch said:

                    Apparently all my test shapes have been at Z=0. Elevation does matter. Sorry about that.

                    Well at least I thought elevation mattered. I did a move/copy on a shape and elevated it. When I ran the plugin, I got the pulled down faces without texture, but when I created a elevated shape, it didn't have the problem. I then tried to duplicate the create at Z=0 and move/copy to an elevation and results were normal! What a lovely thing an intermittent problem is!!!

                    Sam, I had tried both methods you described, but still had the same issues.

                    1 Reply Last reply Reply Quote 0
                    • sdmitchS Offline
                      sdmitch
                      last edited by

                      Ok, I have done about all I can do with this plugin. I have tested numerous shapes including gullfo's and the plugin produced the expected results, with minor exceptions, without fail using all size,origin,rotation options while creating tiles.

                      zfrps, I fixed that "gap" thing for you.

                      Nothing is worthless, it can always be used as a bad example.

                      http://sdmitch.blogspot.com/

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

                        @sdmitch said:

                        Ok, I have done about all I can do with this plugin. I have tested numerous shapes including gullfo's and the plugin produced the expected results, with minor exceptions, without fail using all size,origin,rotation options while creating tiles.

                        zfrps, I fixed that "gap" thing for you.

                        Working OK from what I can see. Thanks so much sdmitch!

                        1 Reply Last reply Reply Quote 0
                        • guanjinG Offline
                          guanjin
                          last edited by

                          @sdmitch said:

                          Ok, I have done about all I can do with this plugin. I have tested numerous shapes including gullfo's and the plugin produced the expected results, with minor exceptions, without fail using all size,origin,rotation options while creating tiles.

                          zfrps, I fixed that "gap" thing for you.

                          Create a surface option is not valid, how the choices that are surface
                          Choose, or have surface

                          I come from China, is to learn

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tomot
                            last edited by

                            @guanjin said:

                            Create a surface option is not valid, how the choices that are surface
                            Choose, or have surface

                            You do have a surface now, you can place a texture on the entire surface, unfortunately I would have preferred to see the use of individual tiles as we had previously. I inadvertently over wrote and did not save the last script. Perhaps if sdsmith is not getting tired of this yet πŸ˜„ he could introduce 3 choices: none, tiles, surface.

                            [my plugins](http://thingsvirtual.blogspot.ca/)
                            tomot

                            1 Reply Last reply Reply Quote 0
                            • sdmitchS Offline
                              sdmitch
                              last edited by

                              You get the "surface" if you say "No" to Make Tiles. If you don't want the surface, simply delete it.

                              Nothing is worthless, it can always be used as a bad example.

                              http://sdmitch.blogspot.com/

                              1 Reply Last reply Reply Quote 0
                              • guanjinG Offline
                                guanjin
                                last edited by

                                @sdmitch said:

                                You get the "surface" if you say "No" to Make Tiles. If you don't want the surface, simply delete it.

                                We asking for too much, thank you for the great plug πŸ˜‰

                                I come from China, is to learn

                                1 Reply Last reply Reply Quote 0
                                • RonSR Offline
                                  RonS
                                  last edited by

                                  Works like a charm for me. Thank You Sam for all of your hard work.

                                  Design is not just what it looks like and feels like. Design is how it works.
                                  Steve Jobs

                                  RonS

                                  1 Reply Last reply Reply Quote 0
                                  • guanjinG Offline
                                    guanjin
                                    last edited by

                                    @sdmitch said:

                                    You get the "surface" if you say "No" to Make Tiles. If you don't want the surface, simply delete it.

                                    QQζˆͺε›Ύ20120308003707.jpg

                                    No matter how select all the options are in the middle, invalid!!! πŸ˜’

                                    I come from China, is to learn

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tomot
                                      last edited by

                                      I was mistakenly concerned that I would not be able to remove individual panels in order to create light panels. But that is not the case, the Surface can be intersected with the model (namely the Grid), by right-clicking the context menu. Now that the Surface and the Grid have been intersected, individual panels can be be removed as required, for lights. thanks again sdmith

                                      [my plugins](http://thingsvirtual.blogspot.ca/)
                                      tomot

                                      1 Reply Last reply Reply Quote 0
                                      • sdmitchS Offline
                                        sdmitch
                                        last edited by

                                        @guanjin said:

                                        No matter how select all the options are in the middle, invalid!!! πŸ˜’

                                        The "Origin Pt:" selection controls the position. If "Corner" gives you the same
                                        results as "Center" then you appear to be the only one.

                                        Nothing is worthless, it can always be used as a bad example.

                                        http://sdmitch.blogspot.com/

                                        1 Reply Last reply Reply Quote 0
                                        • guanjinG Offline
                                          guanjin
                                          last edited by

                                          @sdmitch said:

                                          @guanjin said:

                                          No matter how select all the options are in the middle, invalid!!! πŸ˜’

                                          The "Origin Pt:" selection controls the position. If "Corner" gives you the same
                                          results as "Center" then you appear to be the only one.

                                          The same surface option, is invalid, only the first option is effective!

                                          πŸ˜’

                                          I come from China, is to learn

                                          1 Reply Last reply Reply Quote 0
                                          • sdmitchS Offline
                                            sdmitch
                                            last edited by

                                            @guanjin said:

                                            @sdmitch said:

                                            @guanjin said:

                                            No matter how select all the options are in the middle, invalid!!! πŸ˜’

                                            The "Origin Pt:" selection controls the position. If "Corner" gives you the same
                                            results as "Center" then you appear to be the only one.

                                            The same surface option, is invalid, only the first option is effective!

                                            πŸ˜’

                                            If Make Tiles = Yes, you get a group of tiles, one for each "cell", which are painted with the current material. If Make Tiles = No, the original selected shape is painted with the current material . If you don't want a ceiling, simply delete the "Ceiling" group.

                                            If you seperate the Ceiling from the Grid, you will see this difference more clearly.

                                            Nothing is worthless, it can always be used as a bad example.

                                            http://sdmitch.blogspot.com/

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

                                            Advertisement