• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

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

Scheduled Pinned Locked Moved Plugins
99 Posts 23 Posters 93.5k Views
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
    massimo Moderator
    last edited by 4 Mar 2012, 18:02

    Thanks Sam. πŸ‘
    Two little things after a very quick test:
    -the faces of the tiles pointing inside the room are back-faces. This could be a problem if you want to do a render;
    -would be possible that the tiles were components? I mean in that way you could easily change the texture for example and the model would be lighter.

    1 Reply Last reply Reply Quote 0
    • S Offline
      sdmitch
      last edited by 4 Mar 2012, 19:53

      I beg to differ. The faces pointing into the room are front faces. I only apply material to the front face so, if they were back faces, you would not be able to see it.

      Making the tiles components is impractical. Yes, all the full tiles could be a single component, but any and all partials would have to be unique components. You could not edit one and affect them all.

      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
        massimo Moderator
        last edited by 4 Mar 2012, 20:22

        @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
        • G Offline
          guanjin
          last edited by 4 Mar 2012, 22:00

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

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

                                          Advertisement