sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Help modeling urban block using ruby

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 328 Views 2 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.
    • A Offline
      aniketos
      last edited by

      Because i do not have experience in a ruby scripting language i want to ask can this could be done using ruby through Sketchup:
      On my studies of architecture, I have an assignment to make tool within a sketchup to model a urban block, and with that tool I must control certain parameters like type of block (predefined structure), number of buildings in that bolck and height of a building. This are parameters which user must define when he open this tool, before he get a final result - a sample of urban block. Is there a way to do this with sketchup and ruby or i must search for help in other programs...
      Thanks!

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

        This is very possible in Ruby. Its also possible to a certain degree using Dynamic Components. I made a dynamic building that comes fully equiped with a fron yard, sidewalk, curb, backyard, different trims, colors, details, and more. Then when you scale it to make it wider, it actually makes copies of the buildin next to eachother. So you could scale it to 300' wide and you would end up with a 300 foot wide block of these buildings. I did not include a way to change the width of the buildings, but it is totally do-able. I made it so each one can change its height, basement, stairs, more and more. It was a project I did just to learn a lot of Dynamic componeont functions. Check it out here:

        301 Moved Permanently

        favicon

        (www.sketchucation.com)

        Sorry, I wasn't making videos of everything back when I made the DC so there is no video tutorial. I could make one to show how to interact with that model if you would like though.

        And if DC's don't have enough flexibility, Ruby can certainly do what you want. It is very capable. But the menu inputs might require you also learn a little bit javascript for webdialogs (still over my head).

        Chris

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

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

        Advertisement