sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] [CityGen] - Street Generator [WIP] (0.5.2a)

    Scheduled Pinned Locked Moved City Generator
    124 Posts 37 Posters 118.9k Views 37 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.
    • guanjinG Offline
      guanjin
      last edited by

      街道生成器.gif

      Good tool to do the planning useful, there is a problem, you can not change the road style

      I come from China, is to learn

      1 Reply Last reply Reply Quote 0
      • S Offline
        shodi21
        last edited by

        you could just type in 1234 main street like anyone else...

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

          I do realise this is kind of dead but did it stop working with SU 2015 because I installed it correctly the city generator is displayed in tools but the street generator isn't showing. So I can't do anything.

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            I don't think SU2015 should cause this extension to break. What was the last SketchUp version you used? If you used it on SU2014 I would have expected it to work on SU2015.

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

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

              @thomthom said:

              I don't think SU2015 should cause this extension to break. What was the last SketchUp version you used? If you used it on SU2014 I would have expected it to work on SU2015.

              Well I must confess this is the first time I'm using this plugin. The city generator shows up in my installed extensions but the street generator does not. Also what's the difference between the extension manager and the plugin manager in The SketchUcation plugin, because in extensions TT_lib² is disabled and in Plugins it's enabled. And I can't seem to activate it in extensions. See screenshot, also for the city generator, this is as far as I can get. Don't get a submenu.

              http://imgur.com/JXp0Zlw

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                The image doesn't seem to load for me.

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

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

                  @thomthom said:

                  The image doesn't seem to load for me.

                  That's weird it's an imgur image. Seems to load fine here: http://i.imgur.com/JXp0Zlw.jpg?1

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    @ash. said:

                    I do realise this is kind of dead but did it stop working with SU 2015 because I installed it correctly the city generator is displayed in tools but the street generator isn't showing. So I can't do anything.

                    How did you install Street Generator? To what location?

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

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

                      @thomthom said:

                      @ash. said:

                      I do realise this is kind of dead but did it stop working with SU 2015 because I installed it correctly the city generator is displayed in tools but the street generator isn't showing. So I can't do anything.

                      How did you install Street Generator? To what location?

                      C:\Users<username>\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins I extracted citygen folder and citygen ruby here and the streetgen folder and ruby in the citygen folder. As it should?

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        That does sound right... hm...
                        and no errors upon startup?

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

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

                          @thomthom said:

                          That does sound right... hm...
                          and no errors upon startup?

                          Nothing, I tried on a different computer that has more or less the same plugins but SketchUp 2014 and with same result no submenu showing.

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            Hmm... I'd have to dig deeper.
                            (I'm sorry to be slow to respond, but I'm living out of a hotel until the end of Feb. Business trip. Really poor WiFi quality... grumble)

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

                            1 Reply Last reply Reply Quote 0
                            • Y Offline
                              ying2014
                              last edited by

                              I used it in sketchup2015 ,however ,when I click“create blocks”,it can't work .you can see the message:
                              :236:in find_blocks' C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb:197:in streets_from_centre_lines'
                              C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb:164:in selection_streets_from_centre_lines' C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb:125:in block in module:Street_Gen'
                              SketchUp:1:in `call'

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

                                @ying2014

                                any chance that in the path above, where you wrote "XXX", there are non standard english characters? My windows is brazilian portuguese and by DEFAULT the user path in brazilian Windows is "user/usuário"... with that "á" there.

                                And several Sketchup plugins (since Sketchup moved the Plugins to the User path) seem to break because of the damn "á".

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

                                  I didn´t find any info on the thread... but does it only work on lines all on the same plane?

                                  or can I create a terrain mesh, create lines over the terrain mesh with ToS and then apply Street Generator?

                                  1 Reply Last reply Reply Quote 0
                                  • pilouP Offline
                                    pilou
                                    last edited by

                                    Seems City Street don't work with the 2015 ?
                                    This is curious because Sketchup.rb is effectivly present! 😲

                                    Erreur de chargement du fichier C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb
                                    Error; C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb;97; invalid multibyte char (UTF-8)
                                    C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb;100; syntax error, unexpected tCONSTANT, expecting ')'
                                    			cmd_define_streets = UI;;Command.new('Define Types…') {
                                    
                                    			                                            ^
                                    C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb;100; invalid multibyte char (UTF-8)
                                    C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `require'
                                    C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `block in require_all'
                                    C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `each'
                                    C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `require_all'
                                    C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/city_gen.rb;93;in `<module;City_Gen>'
                                    C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/city_gen.rb;46;in `<top (required)>'
                                    C;/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb;197;in `require'
                                    C;/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb;197;in `load'
                                    C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/city_gen_loader.rb;43;in `register_extension'
                                    C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/city_gen_loader.rb;43;in `<top (required)>'
                                    

                                    folders.jpg

                                    Frenchy Pilou
                                    Is beautiful that please without concept!
                                    My Little site :)

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

                                      @pilou said:

                                      Seems City Street don't work with the 2015 ?
                                      This is curious because Sketchup.rb is effectivly present! 😲

                                      Erreur de chargement du fichier C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb
                                      > Error; C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb;97; invalid multibyte char (UTF-8)
                                      > C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb;100; syntax error, unexpected tCONSTANT, expecting ')'
                                      > 			cmd_define_streets = UI;;Command.new('Define Types…') {
                                      > 
                                      > 			                                            ^
                                      > C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb;100; invalid multibyte char (UTF-8)
                                      > C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `require'
                                      > C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `block in require_all'
                                      > C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `each'
                                      > C;/Program Files/SketchUp/SketchUp 2015/Tools/Sketchup.rb;85;in `require_all'
                                      > C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/city_gen.rb;93;in `<module;City_Gen>'
                                      > C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/city_gen.rb;46;in `<top (required)>'
                                      > C;/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb;197;in `require'
                                      > C;/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb;197;in `load'
                                      > C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/city_gen_loader.rb;43;in `register_extension'
                                      > C;/Users/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/city_gen_loader.rb;43;in `<top (required)>'
                                      

                                      [attachment=0:1kw1ybvh]<!-- ia0 -->folders.jpg<!-- ia0 -->[/attachment:1kw1ybvh]

                                      Load City_Gen Loader.rb in to Notepad++ and check the encoding. Make sure UTF-8 without BOM is selected and save.

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

                                      http://sdmitch.blogspot.com/

                                      1 Reply Last reply Reply Quote 0
                                      • pilouP Offline
                                        pilou
                                        last edited by

                                        Alas same result!

                                        Frenchy Pilou
                                        Is beautiful that please without concept!
                                        My Little site :)

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

                                          @pilou said:

                                          Alas same result!

                                          I recently tried this plugin and I had the same problem. Maybe I did this for all .rb files.

                                          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
                                            Citelum
                                            last edited by

                                            The CityGen plugins that you guys were working on are really great and I'm hoping that this will become a real city builder. We need one. Thanks for the work you have already done.

                                            I see the last posts for this plugin appear to be around early 2010. Are you still working on this project?
                                            I have been trying to get the plugin(s) to work and so far have managed to get the street_gen to work.
                                            I can't seem to get bldg_gen going but I wondering if there should be an associated folder "bldg_gen" to go with bldg_gen.rb in the Modules folder.

                                            ThomThom, you give a skp file CityBuilder_stree2.skp as a sample to test and the road centre lines are coloured which I presume is for the road categories. Where, how or what program generated this file? ie how are these lines coloured in and categorised to produce the variable road widths that your sample does?

                                            Is there a link that you can share that will give some guide to installing and using CityGen and its plugings?

                                            Sorry that I have so many questions but I would really love to get as much of this working as possible. I have already found that street_gen has saved me loads of time in creating streets from a centre-line CAD drawing.
                                            Thanks
                                            Garth

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

                                            Advertisement