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.
    • massimoM Offline
      massimo Moderator
      last edited by

      @unknownuser said:

      I beg to differ. The faces pointing into the room are front faces.

      Then I'm probably doing something wrong. It's the same starting with a back or a front face.
      Untitled.jpg

      @unknownuser said:

      You could not edit one and affect them all.

      That's why it would be really useful. πŸ˜‰

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

        @sdmitch said:

        Yet another final update with the option to add tiles to the grid.

        Same face of the front are generally below, upside down is a problem

        I come from China, is to learn

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

          Whether the face you select is face up or down doesn't matter because I check that and turn it face down if needed.

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

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mra
            last edited by

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

              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

                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

                  @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

                    @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

                      @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

                        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

                          @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
                          • gullfoG Offline
                            gullfo
                            last edited by

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

                                            Advertisement