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.
    • sdmitchS Offline
      sdmitch
      last edited by

      @sufractal said:

      Sdmitch ... I was getting an odd result when I tried your latest update. Some of the tiles were positioned low, and some were high ... and faces were flipped too?

      Was this a one time thing or have you had this result on other occasions. I have never seen this.

      Anyone else having this problem?

      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:

        @sufractal said:

        Sdmitch ... I was getting an odd result when I tried your latest update. Some of the tiles were positioned low, and some were high ... and faces were flipped too?

        Was this a one time thing or have you had this result on other occasions. I have never seen this.

        Anyone else having this problem?

        I tried a handful of times and kept getting the same result unfortunately. And it was a simple rectangular ceiling shape.

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

          FYI: In several previous version I was able to add tiles sizes, see attached pic, when I do the same with the current version I get a ruby console error Ceiling Grid.rb:95:in `max'


          ceiling.jpg

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

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

            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.

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

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement