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.
    • ElibjrE Offline
      Elibjr
      last edited by

      Wow! Thank you! This is one of the best single architectural plugins I've seen. It works wonderfully! It does exactly what you expect it to do. Great job Sdmitch! This is a real time saver!

      1 Reply Last reply Reply Quote 0
      • alexchrA Offline
        alexchr
        last edited by

        πŸ‘ πŸ‘ πŸ‘
        merci, c'est super!

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

          Now SU2014 compatible.

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

          http://sdmitch.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            I have added it to the PluginStore.
            http://sketchucation.com/pluginstore?pln=Generate_Ceiling_Grid

            TIG

            1 Reply Last reply Reply Quote 0
            • utilerU Offline
              utiler
              last edited by

              @sdmitch said:

              If you have other standard sizes you would like to use, simply add them to the code. If you don't feel capable of doing that, tell me what you would like to have as size options.

              Hi Sam, just wondering how I'd go using this plugin with metric units...? I thought that the plugin would recognize that my system is set to metric not imperial....

              BTW, a standard ceiling grid is 1200mm x 600mm.

              This looks a great plugin; keen to see if I can get it to work!

              purpose/expression/purpose/....

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

                @utiler said:

                @sdmitch said:

                If you have other standard sizes you would like to use, simply add them to the code. If you don't feel capable of doing that, tell me what you would like to have as size options.

                Hi Sam, just wondering how I'd go using this plugin with metric units...? I thought that the plugin would recognize that my system is set to metric not imperial....

                BTW, a standard ceiling grid is 1200mm x 600mm.

                This looks a great plugin; keen to see if I can get it to work!

                I'll see what I can do for the Metric folks.

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

                http://sdmitch.blogspot.com/

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cadmunkey
                  last edited by

                  Any update for us poor metric folk? πŸ˜‰

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    purplehq01
                    last edited by

                    Good afternoon
                    I love your Generate Ceiling Grid I use metric in Australia can this plugin be changed from imperial to metric
                    Thanks Dave

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      It's quite an old plugin, and the author might not support it now...
                      You are allowed to change it as outlined in its 'header' text...

                      You can change its ../Plugins.Generate Ceiling Grid.RB file as follows...
                      TIP: Make a copy outside of the Plugins folder, in case of a balls-up !
                      Edit it using a plain-text editor - like TextWrangle [MAC] or Notepad++ [PC].
                      Do a search & replace for the possible grid choices [assuming metric is mm]..
                      2x2 >>> 600x600 2x4 >>> 600x1200 4x4 >>> 1200x1200

                      Then find the part that reads... [assuming that the original 2x2 >>> 600x600 etc] and change the inch parts to mm...
                      Let's assume that the 600 >>> 600mm etc
                      The original says 24.125.inch - adding 1/8" onto the 'size' - you might NOT want that as metric grids are what they say - 600mm module [with a slightly smaller tile] and NOT 603mm !
                      So let's say we use...
                      when "600x600" ; dx = 600.mm; dy = 600.mm; when "600x1200" ; dx = 1200.mm; dy = 600.mm; when "1200x1200" ; dx = 1200.mm; dy = 1200.mm;

                      Later on the offset for the tile is set in from the grid by 1/8"
                      self.ct_offset(f,-0.125)
                      Let''s assume the tile is actually 3mm smaller all round that the module, so change that to
                      self.ct_offset(f,-3.mm)

                      A little later on the tile thickness is set to always be 0.5", change that to the mm you want...
                      e.g.
                      f.pushpull(-0.5)
                      becomes
                      f.pushpull(-15.mm)
                      Note that this code occurs twice !

                      Next there's block of code using inches...
                      ` if type == "T"

                      p0 = origin.offset(za,0.0625.inch)
                      p1 = p0.offset(xa,-0.0625.inch)
                      p2 = p1.offset(ya,+1.6250.inch)
                      p3 = p2.offset(xa,+0.1250.inch)
                      p4 = p3.offset(ya,-1.6250.inch)
                      f = ge.add_face(p1,p2,p3,p4)
                      f.pushpull -(ppd-0.125.inch)
                      p0 = origin.offset(za,0.5.inch)
                      p1 = p0.offset(xa,+0.5000.inch)
                      p2 = p1.offset(ya,-0.1250.inch)
                      p3 = p2.offset(xa,-1.0000.inch)
                      p4 = p3.offset(ya,+0.1250.inch)
                      f = ge.add_face(p1,p2,p3,p4)
                      f.pushpull -(ppd-1.0.inch)

                      elsif type == "E"

                      p1 = origin.offset(ya,-0.1250)
                      p2 = p1.offset(ya,+1.7500)
                      p3 = p2.offset(xa,-0.0625)
                      p4 = p3.offset(ya,-1.6250)
                      p5 = p4.offset(xa,-0.4375)
                      p6 = p5.offset(ya,-0.1250)Edit that list with the mm values you want... e.g. 0.125.inch >> 3.mm
                      0.0625.inch >> 1.5.mm`
                      and so on - I'll leave the rest of the conversions to you !
                      You might need to look at how the inch values [in the API 'bald' numbers are assumed as inches] relate to the .mm equivalents in the real world...

                      When it's done save it and then restart SketchUp.
                      See if it works...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        austinryan
                        last edited by

                        I love this tool but have some questions.

                        1. is there a way to select a starting point? This works fine for new spaces. but when you try and match a buildings existing ceiling grid it is a pain.
                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          austinryan
                          last edited by

                          this is by far one of my favorite plugins. does anyone know if they have modified it to add updates to it.

                          1. able to automatically give the grid and the tile a color (I know you can set the default)
                          2. create a starting point of the grid.
                          3. give a rotation angle up front.

                          Thanks again for the help. or at least sending me in the correct direction.

                          P.S. I know it is an old plugin just asking

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            Sadly, its author is no longer supporting his extensions...

                            But most of his files are not encrypted... so if you learn a bit of Ruby, then you could try tweaking things yourself !!

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              austinryan
                              last edited by

                              I know it is not locked but has anyone modified it yet I tried to use ruby and wow is it hard for me lol

                              requested ruby help

                              1. change the color of both the grid and then the tile
                              2. pick a starting point

                              Thanks everyone for the help

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

                              Advertisement