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

Good tool to do the planning useful, there is a problem, you can not change the road style
-
you could just type in 1234 main street like anyone else...
-
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.
-
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.
-
@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.
-
The image doesn't seem to load for me.
-
@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
-
@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?
-
@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?
-
That does sound right... hm...
and no errors upon startup? -
@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.
-
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) -
I used it in sketchup2015 ,however ,when I click“create blocks”,it can't work .you can see the message:
:236:infind_blocks' C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb:197:instreets_from_centre_lines'
C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb:164:inselection_streets_from_centre_lines' C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/citygen/modules/street_gen.rb:125:inblock in module:Street_Gen'
SketchUp:1:in `call' -
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 "á".
-
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?
-
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)>'
-
@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.
-
Alas same result!
-
@pilou said:
Alas same result!
I recently tried this plugin and I had the same problem. Maybe I did this for all .rb files.
-
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
Advertisement