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

    [CityGen] City generator

    Scheduled Pinned Locked Moved City Generator
    62 Posts 21 Posters 63.6k Views 21 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.
    • EdsonE Offline
      Edson
      last edited by

      CityGen guys,

      would CityGen be able to create streets and buildings over a hilly terrain? or would it be restricted to plane surfaces?

      edson mahfuz, architect| porto alegre β€’ brasil
      http://www.mahfuz.arq.br

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

        For the moment id guess it will only work on a plane (thoms script only works on a plane, and the code i was messing about with at the beginning of this thread only works on a plane) as coding stuff to work on hilly terrain is exponentially more difficult. It is certainly something to look at in the future, though.

        http://remusrendering.wordpress.com/

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

          @edson said:

          CityGen guys,

          Would CityGen be able to create streets and buildings over a hilly terrain? or would it be restricted to plane surfaces?

          You could create the layout above the terrain and use the Sandbox tools to drape the streets ?

          TIG

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

            The street generator I'm working on at the moment only works planar. The extra third dimension makes things a bit more complicated - I'd like to make it work in a simple 2D manner first. I expect to mature it a bit in 2D before I take on 3D.

            Not sure what the others got planned.

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

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

              @tig said:

              You could create the layout above the terrain and use the Sandbox tools to drape the streets ?

              And Drop to place the buildings..?

              Something like that has to be done by the user until we can get it working in 3D.

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

              1 Reply Last reply Reply Quote 0
              • plot-parisP Offline
                plot-paris
                last edited by

                wow, this whole project is very exciting! I like the idea of the plugin doing all the work πŸ˜„
                no, but seriously. it would be great if the user can input all the information he likes and the plugin adds all the other information automatically (or parametrically).

                so if you only have three main roads and lets say five important places of a city, the plugin will fill in all the other information (either by default or by user set parametres). thus the user can influence the outcome of the model to whatever level he likes.

                the CityGen project is one of those big things that make SketchUp and the SCF so tremendously exciting!
                I am really looking forward to first results πŸŽ‰

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

                  Hi Thom.-

                  here is me again, now back in Spain. I'd tested city generator and found some bugs in the use. I don't Know if it's due to the configuration (as I told you before) or is a real bug in the programming.

                  I'm using Skechup 7.1 with many plugins instaled and here the main bug I found:

                  I can't modify the parameters on "define streets", can't create news types or change the predef-values

                  best regards

                  jann

                  1 Reply Last reply Reply Quote 0
                  • I Offline
                    ibr_remote
                    last edited by

                    After I installed city_gen.rb and street add-ons, all my ruby scripts died:
                    see my discussion thread here:
                    http://forums.sketchucation.com/viewtopic.php?f=79&t=28731

                    I think maybe there is something up with SU7.1

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

                      That's very odd. Never seen that before.
                      Did you install anything else as well?
                      Where did you place the files for CityGen and StreetBuilder?

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

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        ibr_remote
                        last edited by

                        The way I had them organised was like this:

                        ..\Plugins\street_gen.rb
                        ..\Plugins\Street_Gen\webdialog\ etc etc
                        ..\Plugins\modules\readme.txt

                        That's what I extracted from my SU7.1, and these are now kept in a temporary folder.

                        I'd really like to use this script, so it would be great if I could figure out to do.

                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          ibr_remote
                          last edited by

                          I removed all my scripts other than city_gen.rb and put in all those of city_gen.rb and related.

                          I get this error when launching SU7.1

                          %(#0000FF)[Error Loading File street_gen.rb
                          undefined method `file_loaded?' for main:Object
                          ]

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

                            Ah. This is probably why.

                            Modules to CityGen, such as StreetGen, should be located under the module folder you find the the CityGen folder.

                            It is mentioned in the instructions, but I know it's not necessarily obvious. On the StreetGen page it's mentioned in the small prints under the download. On the CityGen page is described under "Core and Installation Check".
                            This whole project is very much work in progress (except that there has been little progress the last year) - so all our instructions are not that obvious to follow. We where talking about installers, but the project fell down from out priorities before we got to that point.

                            So, what I think you need to do is remove all the CityGen and StreetGen files you added to your plugins folder.
                            Then see if your other plugins work.
                            If they do work, then first install CityGen core
                            Then install StreetGen to the modules folder of CityGen.

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

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

                            Advertisement