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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      The angles that are labeled don't correspond to the sidewalk that will or won't be curved. I was thinking the angle threshold would correspond to the angles I am pointing at in the picture. I'm sure I'm just misunderstanding how the script is supposed to work.

      angle_rounding.png

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

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

        I see.

        The reason the angles differ, is because I based it off the centre line. You see the Red and Green arc? That's the angles I measure.

        I was thinking of the angles as in how much it rotated away from the centre line - like if you'd be driving down the street; how many degrees you'd have to turn.

        That's why the red and green radius is located by the centre line instead of the street edge. The colour coding was meant to illustrate which edge corner the angle related to.

        Interesting how you had a different approach to it. That's what I was curious of. It'd be good if more people could let me know how they'd expect it to work. What feels more intuitive.

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

        1 Reply Last reply Reply Quote 0
        • soloS Offline
          solo
          last edited by

          Not sure where to post this or even if it's relevent, if anyone wants to be part of this city gen app follow link: http://www.fileplanet.com/promotions/cities-xl/?_cmpid=fp161

          http://www.solos-art.com

          If you see a toilet in your dreams do not use it.

          1 Reply Last reply Reply Quote 0
          • JClementsJ Offline
            JClements
            last edited by

            @chris fullmer said:

            @thomthom said:

            Yea, I was thinking of maybe adding a brush painting tool. Where you can sweep. Or maybe have a large hit-radius.

            I think that would be a welcome addition to the plugin. I was having frustration issues when I tried to paint lines earlier for my demo too.... They are tricky little things to pin down with the bulky paintbucket.

            Chris

            This is my first look at this forum.

            Painting edges; that was what initiated the request I posted a day or so ago here:
            http://forums.sketchucation.com/viewtopic.php?f=180&t=21125

            John | Illustrator | Beaverton, Oregon

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

              Been a long break from this project. Other things has taken priority. Just wanted to upload the latest version I had on disk.

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

              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
                • thomthomT Offline
                  thomthom
                  last edited by

                  @tug said:

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

                  The define streets dialogue isn't finished yet. I meant to disable it before I uploaded, but forgot.

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

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

                    okis.. then

                    I'll wait for news...

                    best regards

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      j40
                      last edited by

                      Hi Thom,
                      First, thank you for your work on this plugin.

                      Unfortunately I can't make it load in SU


                      Error

                      Top3D Studio

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

                        Follow the link under Requirements

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

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          j40
                          last edited by

                          @thomthom said:

                          Follow the link under Requirements

                          Now it works πŸ˜„

                          Top3D Studio

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

                            Can't believe that I dindn't find this earlier. This is exactly what I need, thank you!

                            1 Reply Last reply Reply Quote 0
                            • Chris FullmerC Offline
                              Chris Fullmer
                              last edited by

                              Don't thank anyone til you try it πŸ˜„ It was a project that was started, and got alomst no-where. Thom got some of his parts working with the street generator, but that is about the only thing that works I think.

                              Post questions or comments here though. This is a project we are all keen on getting started again.

                              Chris

                              Lately you've been tan, suspicious for the winter.
                              All my Plugins I've written

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

                                I tried it and it works perfectly fine for my purposes. I don't know about the other parts that were planned for this project but the Street Generator does exactly what I want it to do, so thank you again. πŸ˜„

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

                                  Street Generator is FANTASTIC!!!! πŸ‘ Thanks!!

                                  http://www.caleidos4d.it

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    haynesc
                                    last edited by

                                    I dont know why but I have installed the files but i get

                                    "The CityGen's core files is not laoded. ensure you installed this plugin correctly"

                                    I opened up the zips to both the core and streetgen and copied into Plugins

                                    why is it not working ?

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

                                      @haynesc said:

                                      I dont know why but I have installed the files but i get

                                      "The CityGen's core files is not laoded. ensure you installed this plugin correctly"

                                      I opened up the zips to both the core and streetgen and copied into Plugins

                                      why is it not working ?

                                      Because StreetGen goes into a subfolder of CityGen. The description has detailed info.

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

                                      1 Reply Last reply Reply Quote 0
                                      • iichiversiiI Offline
                                        iichiversii
                                        last edited by

                                        Is there any clips on the net that show this working???

                                        Bring on the Rain...

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          haynesc
                                          last edited by

                                          @thomthom said:

                                          @haynesc said:

                                          I dont know why but I have installed the files but i get

                                          "The CityGen's core files is not laoded. ensure you installed this plugin correctly"

                                          I opened up the zips to both the core and streetgen and copied into Plugins

                                          why is it not working ?

                                          Because StreetGen goes into a subfolder of CityGen. The description has detailed info.

                                          Ok iv moved the files into the correct location, boot sketchup and I get no error message, now how do i use the plugin ?

                                          1 Reply Last reply Reply Quote 0
                                          • brookefoxB Offline
                                            brookefox
                                            last edited by

                                            Apparently I'm being quite thick about this install. I've read the Requirements and notes several times and tried it several ways, each resulting in errors and failed loads.

                                            The 'module' subfolder is an actual folder into which street gen and other such modules are placed or just a stand-in name for street gen and such?

                                            city_gen_loader.rb goes under tools or plugins?

                                            My current:

                                            C:\Program Files (x86)\Google\Google SketchUp 8\Tools\city_gen_loader.rb
                                            and also since nothing works (is this duplication a problem, for the moment?)
                                            C:\Program Files (x86)\Google\Google SketchUp 8\Plugins\city_gen_loader.rb
                                            C:\Program Files (x86)\Google\Google SketchUp 8\Plugins\city_gen.rb
                                            C:\Program Files (x86)\Google\Google SketchUp 8\Plugins\citygen\street_gen.rb

                                            I have another instance of SU running, but that shouldn't interfere should it if I shut this one down to make install changes?

                                            Readme.txt from citygen modules subfolder:
                                            This is the module and support folder for CityGen.
                                            All .rb files in this folder is loaded by city_gen.rb.
                                            Make a new folder for eah module, and place a loading .rb here.
                                            Example:
                                            Plugins\city_gen.rb <- Core CityGen file
                                            Plugins\Gity_Gen\street_gen.rb <- Core Street Generator module file - loaded by city_gen.rb
                                            Plugins\City_Gen\Street_Gen\ <- Street Generator's support folder

                                            Tips appreciated.

                                            http://img109.imageshack.us/img109/3946/citygenstreetgenloaderr.jpg

                                            ~ Brooke

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

                                            Advertisement