sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Simple Building Generator

    Scheduled Pinned Locked Moved Plugins
    22 Posts 15 Posters 19.3k Views 15 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.
    • thomthomT Offline
      thomthom
      last edited by

      This is looking very nice!

      CityGen faded away because none of us had time to continue it. ๐Ÿ˜ž Always felt bad about that one as it felt like a good collaboration project.

      Thomas Thomassen โ€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • R Offline
        rizkynggakool
        last edited by

        @krisidious said:

        very nice... now all I need is a city to map.

        Thank you very much kris ๐Ÿ˜„

        Yes, it's sad that the major problem is this plugin is useless without any city map ๐Ÿ˜ข

        Do you know any site that provide 2D city map?
        If you do, I will create tips section for that and put it in the first post.
        I'm sure that it'll help a lot people ๐Ÿ˜„

        @juju said:

        I found the extension, strange that it wasn't on her site, from I could tell...

        Link Preview Image
        SketchUp Extension Warehouse

        Your library of custom third-party extensions created to optimize your SketchUp workflow.

        favicon

        (extensions.sketchup.com)

        Probably not quite the same as what you're doing, but not too dissimilar either.

        That plugin is awesome ๐Ÿ˜ฎ

        Both are "Building Generator" and aim to reduce worktime.
        Her plugin create a house, mine create a skyscrapper ๐Ÿ˜„
        And judging by how her plugin work I bet it's far more harder to create than this one ๐Ÿ˜•

        @thomthom said:

        This is looking very nice!

        CityGen faded away because none of us had time to continue it. ๐Ÿ˜ž Always felt bad about that one as it felt like a good collaboration project.

        Thank you very much thom...
        Having a predecessor says something about what I'm working on is a morale boost ๐Ÿ˜„

        Sad to know that CityGen was never complete, but I'm glad CityGen dev team have a better job ๐Ÿ˜„

        1 Reply Last reply Reply Quote 0
        • ElibjrE Offline
          Elibjr
          last edited by

          Wow. This is an excellent plugin. The great thing about this is that the shapes are simple rectangular volumes which lend better for urban landscapes as opposed to pitched roofs. Well done!

          1 Reply Last reply Reply Quote 0
          • R Offline
            Ralle
            last edited by

            Hi, rizkynggakool.

            Nice script, but i canยดt get it work. Iยดm running on SU2015, and i got a big errormessage with a lot of content. It seems to expect something. In the description
            you mentioned a dependencie with "offset.rb" - incuded. I can not find it anywhere. ๐Ÿ˜•
            May be that this is my problem ??

            Greetings ...

            1 Reply Last reply Reply Quote 0
            • R Offline
              rizkynggakool
              last edited by

              @elibjr said:

              Wow. This is an excellent plugin. The great thing about this is that the shapes are simple rectangular volumes which lend better for urban landscapes as opposed to pitched roofs. Well done!

              Thank you very much Elibjr, I really appreciate that ๐Ÿ’š
              I'm sorry for the late reply, I've been busy with my college for a few days ๐Ÿ˜„

              Anyway, have you tried the new v1.07 ?
              I'm pretty sure it'll reduce your worktime even more ๐Ÿ’š

              1 Reply Last reply Reply Quote 0
              • R Offline
                rizkynggakool
                last edited by

                @ralle said:

                Hi, rizkynggakool.

                Nice script, but i canยดt get it work. Iยดm running on SU2015, and i got a big errormessage with a lot of content. It seems to expect something. In the description
                you mentioned a dependencie with "offset.rb" - incuded. I can not find it anywhere. ๐Ÿ˜•
                May be that this is my problem ??

                Greetings ...

                Hi Ralle, thank you for contacting me and for the feedback.

                What kind of error message?
                Could you provide some screenshot?

                Yes, it's using offset.rb by Rick Wilson from smustard.
                but that shouldn't be problem anymore since I already included the offset.rb inside this plugin.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nektares
                  last edited by

                  i guess i got the same message on the ruby console u_u itยดs this one:
                  i hope it has an easy fix!

                  Error Loading File simple_building_generator.rb
                  Error: #<SyntaxError: C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1463: syntax error, unexpected ',', expecting ')'
                  ...arch_floorplan (arr_main_input, arr_gf_input, arr_f_input, a...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1463: syntax error, unexpected ')', expecting '='
                  ...put, arr_f_input, arr_re_input)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1872: syntax error, unexpected ',', expecting ')'
                  ...on_material (ground_floor_face, arr_ground_floor_pts_down[in...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1872: syntax error, unexpected ')', expecting '='
                  ...ex], ground_floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1882: syntax error, unexpected ',', expecting ')'
                  ..._position_material (floor_face, arr_floor_pts_down[index - 1...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1882: syntax error, unexpected ')', expecting '='
                  ...own[index], floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1893: syntax error, unexpected ',', expecting ')'
                  ...n_material (rooftop_edges_face, arr_rooftop_edges_pts_down[i...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1893: syntax error, unexpected ')', expecting '='
                  ...oftop_edges_outer_mtl, mtl_fit)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1904: syntax error, unexpected ',', expecting ')'
                  ...on_material (ground_floor_face, arr_ground_floor_pts_down[in...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1904: syntax error, unexpected ')', expecting '='
                  ...[0], ground_floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1914: syntax error, unexpected ',', expecting ')'
                  ..._position_material (floor_face, arr_floor_pts_down[index - 1...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1914: syntax error, unexpected ')', expecting '='
                  ...ts_down[0], floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1925: syntax error, unexpected ',', expecting ')'
                  ...n_material (rooftop_edges_face, arr_rooftop_edges_pts_down[i...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1925: syntax error, unexpected ')', expecting '='
                  ...oftop_edges_outer_mtl, mtl_fit)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1948: syntax error, unexpected ',', expecting ')'
                  ...terial (rooftop_edges_top_face, arr_rooftop_edges_pts_top[0]...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1948: Can't assign to false
                  ..., rooftop_edges_top_mtl, false)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1948: syntax error, unexpected ')', expecting '='
                  ..., rooftop_edges_top_mtl, false)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1978: syntax error, unexpected ',', expecting ')'
                  ...terial (rooftop_edges_top_face, arr_rooftop_edges_pts_top[0]...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1978: Can't assign to false
                  ..., rooftop_edges_top_mtl, false)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1978: syntax error, unexpected ')', expecting '='
                  ..., rooftop_edges_top_mtl, false)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2012: syntax error, unexpected ',', expecting ')'
                  ...rial (rooftop_edges_inner_face, arr_rooftop_edges_offset_pts...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2012: syntax error, unexpected ')', expecting '='
                  ...oftop_edges_inner_mtl, mtl_fit)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2021: syntax error, unexpected ',', expecting ')'
                  ...rial (rooftop_edges_inner_face, arr_rooftop_edges_offset_pts...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2021: syntax error, unexpected ')', expecting '='
                  ...oftop_edges_inner_mtl, mtl_fit)

                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2041: syntax error, unexpected ',', expecting ')'
                  ...osition_material (rooftop_face, arr_floor_pts_top[0], arr_fl...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2041: Can't assign to false
                  ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2041: syntax error, unexpected ')', expecting '='
                  ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2057: syntax error, unexpected ',', expecting ')'
                  ...osition_material (rooftop_face, arr_floor_pts_top[0], arr_fl...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2057: Can't assign to false
                  ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2057: syntax error, unexpected ')', expecting '='
                  ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                  ... ^
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2246: class definition in method body
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2303: class definition in method body
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2312: syntax error, unexpected keyword_do_block, expecting keyword_end
                  0.upto(verts.length-1) do |a|

                                           ^
                  

                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2319: void value expression
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2361: syntax error, unexpected keyword_do_block, expecting keyword_end
                  0.upto(verts.length-1) do |a|

                                           ^
                  

                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2382: class definition in method body
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2392: class definition in method body
                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2401: syntax error, unexpected keyword_do_block, expecting keyword_end
                  0.upto(verts.length-1) do |a|

                                           ^
                  

                  C:/Users/JC Workstation/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2454: syntax error, unexpected end-of-input, expecting keyword_end>

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rizkynggakool
                    last edited by

                    @nektares said:

                    i guess i got the same message on the ruby console u_u itยดs this one:
                    i hope it has an easy fix!

                    Hi nektares,
                    thank you for reporting this problem.
                    May I know what version do you use?

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nektares
                      last edited by

                      Iยดm using 64 bit SketchUp 2015 on windows 7

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

                        Errore di caricamento del file simple_building_generator.rb
                        Error: #<SyntaxError: C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1463: syntax error, unexpected ',', expecting ')'
                        ...arch_floorplan (arr_main_input, arr_gf_input, arr_f_input, a...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1463: syntax error, unexpected ')', expecting '='
                        ...put, arr_f_input, arr_re_input)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1872: syntax error, unexpected ',', expecting ')'
                        ...on_material (ground_floor_face, arr_ground_floor_pts_down[in...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1872: syntax error, unexpected ')', expecting '='
                        ...ex], ground_floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1882: syntax error, unexpected ',', expecting ')'
                        ..._position_material (floor_face, arr_floor_pts_down[index - 1...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1882: syntax error, unexpected ')', expecting '='
                        ...own[index], floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1893: syntax error, unexpected ',', expecting ')'
                        ...n_material (rooftop_edges_face, arr_rooftop_edges_pts_down[i...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1893: syntax error, unexpected ')', expecting '='
                        ...oftop_edges_outer_mtl, mtl_fit)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1904: syntax error, unexpected ',', expecting ')'
                        ...on_material (ground_floor_face, arr_ground_floor_pts_down[in...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1904: syntax error, unexpected ')', expecting '='
                        ...[0], ground_floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1914: syntax error, unexpected ',', expecting ')'
                        ..._position_material (floor_face, arr_floor_pts_down[index - 1...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1914: syntax error, unexpected ')', expecting '='
                        ...ts_down[0], floor_mtl, mtl_fit) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1925: syntax error, unexpected ',', expecting ')'
                        ...n_material (rooftop_edges_face, arr_rooftop_edges_pts_down[i...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1925: syntax error, unexpected ')', expecting '='
                        ...oftop_edges_outer_mtl, mtl_fit)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1948: syntax error, unexpected ',', expecting ')'
                        ...terial (rooftop_edges_top_face, arr_rooftop_edges_pts_top[0]...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1948: Can't assign to false
                        ..., rooftop_edges_top_mtl, false)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1948: syntax error, unexpected ')', expecting '='
                        ..., rooftop_edges_top_mtl, false)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1978: syntax error, unexpected ',', expecting ')'
                        ...terial (rooftop_edges_top_face, arr_rooftop_edges_pts_top[0]...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1978: Can't assign to false
                        ..., rooftop_edges_top_mtl, false)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:1978: syntax error, unexpected ')', expecting '='
                        ..., rooftop_edges_top_mtl, false)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2012: syntax error, unexpected ',', expecting ')'
                        ...rial (rooftop_edges_inner_face, arr_rooftop_edges_offset_pts...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2012: syntax error, unexpected ')', expecting '='
                        ...oftop_edges_inner_mtl, mtl_fit)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2021: syntax error, unexpected ',', expecting ')'
                        ...rial (rooftop_edges_inner_face, arr_rooftop_edges_offset_pts...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2021: syntax error, unexpected ')', expecting '='
                        ...oftop_edges_inner_mtl, mtl_fit)

                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2041: syntax error, unexpected ',', expecting ')'
                        ...osition_material (rooftop_face, arr_floor_pts_top[0], arr_fl...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2041: Can't assign to false
                        ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2041: syntax error, unexpected ')', expecting '='
                        ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2057: syntax error, unexpected ',', expecting ')'
                        ...osition_material (rooftop_face, arr_floor_pts_top[0], arr_fl...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2057: Can't assign to false
                        ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2057: syntax error, unexpected ')', expecting '='
                        ...pts_top[1], rooftop_mtl, false) # ===== UPDATE [08/08/2015] ...
                        ... ^
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2246: class definition in method body
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2303: class definition in method body
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2312: syntax error, unexpected keyword_do_block, expecting keyword_end
                        0.upto(verts.length-1) do |a|

                                                 ^
                        

                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2319: void value expression
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2361: syntax error, unexpected keyword_do_block, expecting keyword_end
                        0.upto(verts.length-1) do |a|

                                                 ^
                        

                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2382: class definition in method body
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2392: class definition in method body
                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2401: syntax error, unexpected keyword_do_block, expecting keyword_end
                        0.upto(verts.length-1) do |a|

                                                 ^
                        

                        C:/Users/PC/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/simple_building_generator.rb:2454: syntax error, unexpected end-of-input, expecting keyword_end>

                        hello, someone explain me why plugin's malfunctioning. I do like to buy programa does not operate. help me please ..... thanks.

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

                          Hi guys i have the same problem , is there any one found a fix for this problem?

                          1 Reply Last reply Reply Quote 0
                          • MidgeUreM Offline
                            MidgeUre
                            last edited by

                            Hello there.
                            Well, I having the same error of nektares and menelao47. I'm using Sketchup 2015 and trying the Simple Building Generator v1.07 in Windows 7 64 bit.

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

                              This plugin seems to work with Sketchup 2013, but not with Sketchup 2015.

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

                                These tools are so useful for urban modelling. Thanks to all you developers who have put a lot of time into coding these plugins.
                                ThomThom mentioned above that he has felt bad about the CityGen project coming to a standstill. What a pity it's not continuing. I have been hunting for months for SKU plugins and other software that can export to SKU (eg in Collada format) to assist with street / city modelling and in a number of places I have looked I find projects partly finished and discontinued. City Engine is great but it's huge bucks when you come to add the plugins in to export in, say, Collada format.
                                So, to encourage all you coders - there are many of us, I'm sure, who would love to see a comprehensive urban modelling addition for SketchUp. Don't stop the coding please.
                                Best regards,
                                Garth

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

                                  Can anyone help me get this extension to work. It installs Ok on SU 2013 but I don't think i understand the workflow properly as I get 'material cant be found in library' messages
                                  An idiots guide or run thro would help me a lot

                                  Thanks

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

                                    @angel said:

                                    Can anyone help me get this extension to work. It installs Ok on SU 2013 but I don't think i understand the workflow properly as I get 'material cant be found in library' messages
                                    An idiots guide or run thro would help me a lot

                                    Thanks

                                    I have been trying this plugin and the biggest problem with it is the materials and material names. You can't use the Sketchup name or display_name. You have to paint a face in the model with any materials you want to use and then rename them and use those names.

                                    As for the plugin code, to make it Ruby2.0 compatible, you will need to remove the space in front of the opening parentheses,"(", on all the method call statements.

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

                                    http://sdmitch.blogspot.com/

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bboZ
                                      last edited by

                                      Sketchup 2019 cannot use this plugin?? pleas help me cause this plugin is so good ๐Ÿ˜ž(

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

                                      Advertisement