sketchucation logo sketchucation
    • Login
    1. Home
    2. danhuh
    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!
    🚨 Skimp | 25% Off until March 30 Buy Now
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 1

    danhuh

    @danhuh

    10
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    danhuh Unfollow Follow
    registered-users

    Latest posts made by danhuh

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

      Hi I hope this thread isn't totally dead, even though the plugin is no longer supported. I'm trying to get the Street Generator to work and can't get any luck installing. I've been able to get the City Gen extension to appear in the menubar but there's no Street Generator tools available.

      In my Plugins folder, I've placed the "city_gen.rb" along with the folder named "citygen". In this "citygen" folder, I've added the file "street_gen.rb" and the folder "street_gen" to the Modules folder. As far as I can tell, this is the extent of the install.

      Some things I'm unclear on... where does the file "city_gen_loader.rb" go? And do the folder names have to match the .rb names exactly (my .rb file is "city_gen.rb" whereas my corresponding folder is just called "citygen", without an underscore).

      I do get an error message from Rubyscript but it's really long so I can repost it if anyone cares to look. This is the last thing I need to sort out on this project, so I'm dying to figure this out! Thanks in advance.

      posted in City Generator
      D
      danhuh
    • RE: Scripting or Extension question

      Thanks Box, that worked perfectly!

      posted in SketchUp Discussions
      D
      danhuh
    • Scripting or Extension question

      Hi, I'm modeling a small city and need to find an automated solution to a problem I've encountered. I have a topo model from Sketchup's geolocation and all of the buildings modeled from a GIS database that was imported into Sketchup via a plug-in.

      The building models are generated automatically, which is a huge timesaver, but all of the buildings sit on a single flat plane. So I installed the Drop GC extension, which automatically places objects on a sloping surface. Each building is it's own group (good), but the group's axis origin is set to the world 0,0,0 point (bad). Consequently, when I use the DropGC plugin, it buries the building too far into the ground.

      So I explode the group and redefine it as a component, with an axis origin point that is located at the base of the building (instead of world 0,0,0). DropGC works fine and places the building at the right Z height. Easy to do with a few buildings but my model has at least a thousand buildings. So my question is... is there an extension or script that will automatically explode a group and create a component, a thousand times? Or maybe something like Actions for Photoshop?

      I've attached an image of the model but it doesn't really help describe the problem. Any advice would be appreciated, thanks in advance!

      https://i.imgur.com/wi7Xr9T.png

      posted in SketchUp Discussions sketchup
      D
      danhuh