[Plugin] Simple Building Generator

[Plugin] Simple Building Generator

Postby rizkynggakool » Wed Aug 05, 2015 2:16 pm

Simple Building Generator
Generate As You Want

Overview :
This plugin generate textured building from marked floorplan(face).
The texture applied to building is chosen by user, therefore user have freedom to choose what building style suits best for their location.


Purpose :
Help urban planner or anybody that need textured building with different simple shape to reduce worktime.

Mass Building Placement
thomthom wrote:Would be useful for quick massing for larger areas, urban planning where you're not too concerned about the exact look of the building - just as long as it looks representative of the area.

Game Development
Krisidious wrote:Could be very useful for game building...
Especially flight sims where you could trace out a rough draft over sat images.



Usage :
  1. Mark face with some material
  2. Select the face
  3. Run Simple Building Generator (refer to manual)
    * make sure to save your setting otherwise you have to reinput each time you want to generate buildings
  4. Enjoy your generated buildings
  5. In order to use the quick generate building you must at least create one building and save all the setting


Manual :
  • General Setting :
    • Floorplan material name
      The floorplan material name is the material name used for marking the target faces.
    • Erase floorplan face when done?
      If you set this to yes, after the building is generated the marked faces you've select before will be erased.
    • Ground floor height (in m)
      This is the ground floor of your building, the units is in metre. If you set it to 0 then the ground floor menu will be disabled.
    • Floor height (in m)
      This is the core of your building, the units is in metre. This setting define the height of each floor in your building (not the height of your building). Setting it to 0 will disable it.
      * currently each floor generated only have the same height, but in the future (if this project continue) there will be a feature to have different height. As I saw on CGTextures some textures have varies floor height
    • Randomize rooftop floor material
      When this is set to "Yes" the generated buildings will have a randomized rooftop floor based on "Rooftop floor material" input.
      * please read about random mode for further details
    • Rooftop floor material
      This is your rooftop material (or list of your rooftop material). Possible inputs are single name of your material (if you don't randomize your rooftop floor material) or several name of your materials (separated by comma).
      * please read about random mode for further details
    • Rooftop edge height (in m)
      This is the height of your rooftop edges, the units is in metre. Setting it to 0 will disable it.
      * currently there is no random height features, but in the future (if this project continue) the rooftop edges will be randomized according to the building styles
    • Fit texture? (Introduced in v1.02)
      If you set this option to "Yes" then the texture (if material have texture) applied to the building will be fitted to the faces.
      * in the future (if this project continue) there will be fit texture based on material info to solve the stretched/shrinked texture problem
    • Random texture mode? (Introduced in v1.03)
      The "Individual" mode will randomized the list of available material in each setting (General Setting/Ground Floor Setting/Floor Setting/Rooftop Edges Setting) without needs of input equality between each randomized material (ex. : If your rooftop has 4 materials in random list, other randomized materials shouldn't have 4 materials in random list).

      The "Set" mode will randomized the list of available material globally, therefore you should have an equal input to each randomized materials (ex. : If your rooftop has 4 materials in random list, other randomized materials should have 4 materials in list).

      You can increase the rate of building appearance by inserting over and over again (ex. : "rooftop_1,rooftop_1,rooftop_2" with this the "rooftop_1" will have twice the chance of appearance).

      The "Set" mode can be use to create a style of random building (which will be replaced in the future), example is like below :
      If you want to have :
      ====================
      "Building Type 1" with ground floor material "GR1", floor material "FL1", rooftop floor material "RF1", rooftop edges "RE1"
      and
      "Building Type 2" with ground floor material "GR1", floor material "FL2", rooftop floor material "RF1", rooftop edges "RE1"
      ====================
      then you can insert the setting like this :
      Rooftop floor material : RF1,RF1
      Ground floor material : GR1,GR1
      Floor material : FL1,FL2
      Rooftop edges material : RE1,RE1
      * current random system mode is absolutely not user friendly, but it is very versatile and powerful if you willing to learn about it
    • Save current setting? (Introduced in v1.05)
      This save the current general setting, if you quit SketchUp the setting will be lost.
      * I don't plan to have any save to file features as I don't want to touch any part of your disk, instead in the future I will give you one-liner option that you can use to save and load by yourself.
    • Use previous setting? (Introduced in v1.05)
      This load the previous general setting saved, if you quit SketchUp the setting will be lost, therefore there is no previous saved setting.
  • Ground Floor Setting :
    • Randomize ground floor material?
      When this is set to "Yes" the generated buildings will have a randomized ground floor based on "Ground floor material name" input.
      * please read about random mode for further details
    • Ground floor material name
      This is your ground floor material (or list of your ground floor material). Possible inputs are single name of your material (if you don't randomize your ground floor material) or several name of your materials (separated by comma).
      * please read about random mode for further details
    • Save current setting? (Introduced in v1.05)
      This save the current ground floor setting, if you quit SketchUp the setting will be lost.
      * I don't plan to have any save to file features as I don't want to touch any part of your disk, instead in the future I will give you one-liner option that you can use to save and load by yourself.
    • Use previous setting? (Introduced in v1.05)
      This load the previous ground floor setting saved, if you quit SketchUp the setting will be lost, therefore there is no previous saved setting.
  • Floor Setting :
    • Randomize floor material?
      When this is set to "Yes" the generated buildings will have a randomized floor material based on "Floor material name" input.
      * please read about random mode for further details
    • Floor material name
      This is your floor material (or list of your floor material). Possible inputs are single name of your material (if you don't randomize your floor material) or several name of your materials (separated by comma).
      * please read about random mode for further details
    • Floor level
      This will be the amount of levels your building will have, if "Randomize floor level" is set to "Yes" this setting will be overrided.
    • Randomize floor level
      Set this to "Yes" so that the generated buildings will have different amount of levels.
    • Floor level (min)
      This will be the minimum amount of levels your building will have, if "Randomize floor level" is set to "No" this setting is disabled.
    • Floor level (max)
      This will be the maximum amount of levels your building will have, if "Randomize floor level" is set to "No" this setting is disabled.
    • Save current setting? (Introduced in v1.05)
      This save the current floor setting, if you quit SketchUp the setting will be lost.
      * I don't plan to have any save to file features as I don't want to touch any part of your disk, instead in the future I will give you one-liner option that you can use to save and load by yourself.
    • Use previous setting? (Introduced in v1.05)
      This load the previous floor setting saved, if you quit SketchUp the setting will be lost, therefore there is no previous saved setting.
  • Rooftop Edges Setting :
    • Randomize rooftop edges default material?
      When this is set to "Yes" the generated building edge sides which doesn't use different material will be applied by this default material based on "Rooftop edges default material name" input.
      * please read about random mode for further details
    • Rooftop edges default material name
      This is your rooftop edges default material (or list of your rooftop edges default material). Possible inputs are single name of your material (if you don't randomize your rooftop edges material) or several name of your materials (separated by comma).
      * please read about random mode for further details
    • Different outer faces material?
      When this is set to "Yes" the outer faces of generated building edges will have a different material based on "Outer faces material name" input. If not outer faces of the rooftop edges will use default rooftop edges material.
    • Randomize outer faces material?
      When this is set to "Yes" the outer faces of generated building edges material will be overridden by material based on "Outer faces material name" input. If "Different outer faces material?" set to "No" this option will not have any effect.
      * please read about random mode for further details
    • Outer faces material name
      This is your outer rooftop edges material (or list of your outer rooftop edges material). Possible inputs are single name of your material (if you don't randomize your outer rooftop edges material) or several name of your materials (separated by comma). If "Different outer faces material?" set to "No" this option will not have any effect.
      * please read about random mode for further details
    • Different top face material?
      When this is set to "Yes" the top face of generated building edges will have a different material based on "Top face material name" input. If not top face of the rooftop edges will use default rooftop edges material.
    • Randomize top face material?
      When this is set to "Yes" the top face of generated building edges material will be overridden by material based on "Top face material name" input. If "Different top face material?" set to "No" this option will not have any effect.
      * please read about random mode for further details
    • Top face material name
      This is your top rooftop edge material (or list of your top rooftop edge material). Possible inputs are single name of your material (if you don't randomize your top rooftop edges material) or several name of your materials (separated by comma). If "Different top face material?" set to "No" this option will not have any effect.
      * please read about random mode for further details
    • Different inner faces material?
      When this is set to "Yes" the inner faces of generated building edges will have a different material based on "Inner faces material name" input. If not inner faces of the rooftop edges will use default rooftop edges material.
    • Randomize inner faces material?
      When this is set to "Yes" the inner faces of generated building edges material will be overridden by material based on "Inner faces material name" input. If "Different inner faces material?" set to "No" this option will not have any effect.
      * please read about random mode for further details
    • Inner faces material name
      This is your inner rooftop edges material (or list of your inner rooftop edges material). Possible inputs are single name of your material (if you don't randomize your inner rooftop edges material) or several name of your materials (separated by comma). If "Different inner faces material?" set to "No" this option will not have any effect.
      * please read about random mode for further details
    • Save current setting? (Introduced in v1.05)
      This save the current rooftop edges setting, if you quit SketchUp the setting will be lost.
      * I don't plan to have any save to file features as I don't want to touch any part of your disk, instead in the future I will give you one-liner option that you can use to save and load by yourself.
    • Use previous setting? (Introduced in v1.05)
      This load the previous rooftop edges setting saved, if you quit SketchUp the setting will be lost, therefore there is no previous saved setting.

Release :
1. 05/08/2015 : Simple Building Generator v1.00
2. 06/08/2015 : Simple Building Generator v1.01
3. 08/08/2015 : Simple Building Generator v1.02
4. 09/08/2015 : Simple Building Generator v1.03
5. 11/08/2015 : Simple Building Generator v1.04
6. 12/08/2015 : Simple Building Generator v1.05
7. 12/08/2015 : Simple Building Generator v1.06
8. 14/08/2015 : Simple Building Generator v1.07
simple_building_generator.rb

After submitting the questionnaire the download link will appear
Thanks 0.jpg

Thanks 1.jpg


Release Notes :
=== v1.00 ===
Initial release
=== v1.01 ===
Fix :
  • Bug rooftop edges is reversed
=== v1.02 ===
New Feature :
  • Option to fit the texture to face
    SBG v1.02.jpg
=== v1.03 ===
New Feature :
  • Option to randomize the building texture based on an input set.
    SBG v1.03.jpg
=== v1.04 ===
New Feature :
  • Option to apply different texture for each side of the rooftop edges.
=== v1.05 ===
New Features :
  • Option to save configuration for each setting.
  • Option to use previous saved configuration for each setting.
Fixes :
  • The process check message get so long when inserting many building style that made the confirmation button difficult to click(even can't see them).
  • Now the target also check the backface material(some people doesn't care front or back they just apply the material and found that my plugin doesn't work).
=== v1.06 ===
New Features :
  • Quick Building Generation.
=== v1.07 ===
New Feature :
  • Added option to override the erase floorplan setting in the quick building generation
  • No more annoying message
6
Last edited by rizkynggakool on Thu Aug 13, 2015 10:24 pm, edited 12 times in total.

rizkynggakool 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby juju » Thu Aug 06, 2015 11:16 am

Excellent for a second post! Contact the moderators and get it published to the pluginstore, it also affords you a new "badge" below your handle...

If I recall correctly, something similar was done by one of the other plugin authors, Julia Cristina Eneroth, however I can't seem to find it.
0
Save the Earth, it's the only planet with chocolate.
User avatar
juju 
Premium Member
Premium Member
 

Re: [Plugin] Simple Building Generator

Postby rizkynggakool » Thu Aug 06, 2015 5:33 pm

juju wrote:Excellent for a second post!

Thank you very much juju, I really appreciate your comment :-D :-D
juju wrote:Contact the moderators and get it published to the pluginstore, it also affords you a new "badge" below your handle...

How to contact the moderators?
And what is the benefit by having badge?
juju wrote:If I recall correctly, something similar was done by one of the other plugin authors, Julia Cristina Eneroth, however I can't seem to find it.

I don't know that, all I know when I google "SketchUp Building Generator" these two topics showed up :
viewtopic.php?f=314&t=19410
viewtopic.php?f=314&t=19524
That's why when I first post in this site I add remus name to my post
viewtopic.php?f=180&t=62713

Anyway, have you tested my plugin? Did it work as you or I expected?
Please share if there's any problem :mrgreen:
0

rizkynggakool 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby Krisidious » Thu Aug 06, 2015 11:17 pm

very nice... now all I need is a city to map.
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] Simple Building Generator

Postby juju » Fri Aug 07, 2015 9:00 am

juju wrote:Excellent for a second post! Contact the moderators and get it published to the pluginstore, it also affords you a new "badge" below your handle...

If I recall correctly, something similar was done by one of the other plugin authors, Julia Cristina Eneroth, however I can't seem to find it.

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

http://extensions.sketchup.com/en/conte ... ystem-beta

Probably not quite the same as what you're doing, but not too dissimilar either.
0
Save the Earth, it's the only planet with chocolate.
User avatar
juju 
Premium Member
Premium Member
 

Re: [Plugin] Simple Building Generator

Postby thomthom » Sat Aug 08, 2015 11:39 am

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.
2
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby rizkynggakool » Sat Aug 08, 2015 6:42 pm

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

Thank you very much kris :D

Yes, it's sad that the major problem is this plugin is useless without any city map :cry:

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 :D
juju wrote:I found the extension, strange that it wasn't on her site, from I could tell...

http://extensions.sketchup.com/en/conte ... ystem-beta

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

That plugin is awesome :-o

Both are "Building Generator" and aim to reduce worktime.
Her plugin create a house, mine create a skyscrapper :D
And judging by how her plugin work I bet it's far more harder to create than this one :?
thomthom wrote: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 :D

Sad to know that CityGen was never complete, but I'm glad CityGen dev team have a better job :grin
0

rizkynggakool 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby Elibjr » Mon Aug 10, 2015 7:18 pm

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!
0
User avatar
Elibjr 
Premium Member
Premium Member
 

Re: [Plugin] Simple Building Generator

Postby Ralle » Wed Aug 12, 2015 9:39 pm

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 ...
0

Ralle 
 

Re: [Plugin] Simple Building Generator

Postby rizkynggakool » Fri Aug 14, 2015 9:51 am

Elibjr wrote: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 :mrgreen:
I'm sorry for the late reply, I've been busy with my college for a few days :D

Anyway, have you tried the new v1.07 ?
I'm pretty sure it'll reduce your worktime even more :mrgreen:
0

rizkynggakool 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby rizkynggakool » Fri Aug 14, 2015 1:51 pm

Ralle wrote: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.
0

rizkynggakool 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby nektares » Wed Aug 19, 2015 4:42 pm

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>
0

nektares 
 

Re: [Plugin] Simple Building Generator

Postby rizkynggakool » Wed Aug 19, 2015 6:07 pm

nektares wrote: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?
0

rizkynggakool 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby nektares » Wed Aug 19, 2015 10:33 pm

I´m using 64 bit SketchUp 2015 on windows 7
0

nektares 
 

error plugin's

Postby menelao74 » Fri Aug 28, 2015 6:58 am

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.
0

menelao74 
 

Re: [Plugin] Simple Building Generator

Postby alnahrini » Tue Sep 08, 2015 8:21 pm

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

alnahrini 
 

Re: [Plugin] Simple Building Generator

Postby MidgeUre » Mon Sep 14, 2015 8:13 pm

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.
0
User avatar
MidgeUre 
 

Re: [Plugin] Simple Building Generator

Postby typhoon1969 » Thu Sep 24, 2015 7:47 pm

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

typhoon1969 
 

Re: [Plugin] Simple Building Generator

Postby Citelum » Thu Feb 04, 2016 3:34 am

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
0

Citelum 
 

Re: [Plugin] Simple Building Generator

Postby Angel » Thu Feb 16, 2017 5:51 pm

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
0

Angel 
Premium Member
Premium Member
 

Re: [Plugin] Simple Building Generator

Postby sdmitch » Fri Feb 17, 2017 7:31 pm

Angel wrote: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.
0
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Simple Building Generator

Postby bboZ » Tue Sep 03, 2019 2:12 pm

Sketchup 2019 cannot use this plugin?? pleas help me cause this plugin is so good :((
0

bboZ 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: Dave R, Fokys, nguyentuyen1986 and 8 guests

Visit our sponsors: