• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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

Scheduled Pinned Locked Moved Plugins
99 Posts 23 Posters 93.6k 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.
  • M Offline
    Mra
    last edited by 5 Mar 2012, 00:10

    The ceiling doesn't really need to be made of individual components, it could just copy the original shape of the ceiling, but move it up a fraction so it sits on the grid properly. Not only woudl this be easier to code, it wouldn't require tonnes of custom components on awkward shaped ceilings.

    One would just apply a ceiling texture and it would give a nice illusion of tiles. Also, there would be less texture tiling.

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdmitch
      last edited by 5 Mar 2012, 02:31

      mra, you are right. Don't know why I thought that actual tiles were necessary.

      massimo, It seems you were right also. It seems that the pushpull operation "flips" the face and apparently moves the texture to the back. How weird is that.

      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 5 Mar 2012, 15:22

        Hi:
        Dear sdmitch,your plugin nice,maybe have little need to change:
        before02.jpg

        sketchup is bim

        1 Reply Last reply Reply Quote 0
        • S Offline
          SUFractal
          last edited by 5 Mar 2012, 17:41

          @sdmitch said:

          mra, you are right. Don't know why I thought that actual tiles were necessary.

          massimo, It seems you were right also. It seems that the pushpull operation "flips" the face and apparently moves the texture to the back. How weird is that.

          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?


          tiles.jpg

          1 Reply Last reply Reply Quote 0
          • T Offline
            tomot
            last edited by 5 Mar 2012, 17:48

            @unknownuser said:

            Hi:
            Dear sdmitch,your plugin nice,maybe have little need to change:

            Please lets not get carried away here! whats ... next a request for the actual supporting hanger holes and hanger wires? πŸ‘Ž

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

            1 Reply Last reply Reply Quote 0
            • S Offline
              SUFractal
              last edited by 5 Mar 2012, 17:53

              @tomot said:

              @unknownuser said:

              Hi:
              Dear sdmitch,your plugin nice,maybe have little need to change:

              Please lets not get carried away here! whats ... next a request for the actual supporting hanger holes and hanger wires? πŸ‘Ž

              πŸ˜„

              1 Reply Last reply Reply Quote 0
              • T Offline
                tomot
                last edited by 5 Mar 2012, 18:03

                It should be noted that not all ceiling tiles are designed to simply drop into the metal grid, some manufacturers also provide Ceiling tiles that do indeed project below the metal grid hence providing a nice rebated look to the entire ceiling.
                Regardless its great to see the option of adding real tiles or using a texture map. πŸŽ‰

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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SUFractal
                  last edited by 5 Mar 2012, 18:20

                  @tomot said:

                  It should be noted that not all ceiling tiles are designed to simply drop into the metal grid, some manufacturers also provide Ceiling tiles that do indeed project below the metal grid hence providing a nice rebated look to the entire ceiling.
                  Regardless its great to see the option of adding real tiles or using a texture map. πŸŽ‰

                  Good point tomot ... I agree with you.

                  One benefit of the individual tiles being created is the ability to switch them out with a lighting fixture.

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gullfo
                    last edited by 5 Mar 2012, 20:10

                    @tomot said:

                    @unknownuser said:

                    Hi:
                    Dear sdmitch,your plugin nice,maybe have little need to change:

                    Please lets not get carried away here! whats ... next a request for the actual supporting hanger holes and hanger wires? πŸ‘Ž

                    next thing people will want an algorithm to place light and vent openings πŸ‘Ώ πŸ‘Š

                    Glenn

                    http://www.runnel.com

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdmitch
                      last edited by 5 Mar 2012, 20:14

                      @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 5 Mar 2012, 20:49

                        @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 5 Mar 2012, 21:10

                          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
                          • S Offline
                            sdmitch
                            last edited by 5 Mar 2012, 22:40

                            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
                            • G Offline
                              gullfo
                              last edited by 5 Mar 2012, 23:24

                              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 5 Mar 2012, 23:52

                                @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 6 Mar 2012, 00:09

                                  @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
                                  • S Offline
                                    sdmitch
                                    last edited by 6 Mar 2012, 01:27

                                    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 6 Mar 2012, 08:34

                                      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
                                      • G Offline
                                        gullfo
                                        last edited by 6 Mar 2012, 11:51

                                        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 6 Mar 2012, 13:45

                                          Sam, thank you. Good stuff!

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

                                          Advertisement