• Login
sketchucation logo sketchucation
  • Login
ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

Question to all Ruby programmers

Scheduled Pinned Locked Moved Developers' Forum
5 Posts 4 Posters 230 Views 4 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.
  • C Offline
    charly2008
    last edited by 11 Jun 2009, 15:11

    Hi to all Ruby specialist,

    I have a question in connection with the Road design. Could it theoretically possible to do something like that with a Ruby script. See image below.

    Karlheinz


    Ruby Idea.jpg

    He who makes no mistakes, makes nothing

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 11 Jun 2009, 17:07

      Sorry Charly, I'm not quite understanding what the script is supposed to do there. Does it calculate the heights? Or draw the lines? Or straighten it out? I'm not quite sure what I'm looking at.

      Chris

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

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 11 Jun 2009, 17:18

        It wasn't just me then. I saw this earlier, but couldn't work out what the question was. I figured it was just my brain that wasn't working right.

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

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pixero
          last edited by 11 Jun 2009, 17:48

          I'm thinking maybe Chris script Line by elevation might help?
          http://forums.sketchucation.com/viewtopic.php?f=180&t=16923

          1 Reply Last reply Reply Quote 0
          • C Offline
            charly2008
            last edited by 11 Jun 2009, 19:12

            Hi Chris, Hi Thomas,

            in my brain it seemed clear to me. But to express it in english is a little bit difficult. Please be a little forbearingly with me.

            I try to explain the theoratical workflow:

            1. Manually creation of a road line above the terrain on a flat plane.

            2. Calculation of height points along this line on the terrain (Ruby?).

            3. Projecting the calculated points (may be as a line) on a perpendiculare face (unfolded height profile of the terrain) (Ruby?).

            4. Manually creation of the road height profile depending on the height profile of the terrain on this face or on new one (3.).

            5. Calculation of the new road height points and creation of a line.(Ruby?)

            6. Creation of the 3d road height line like it is done with shape bender (ruby).

            The steps above are In principle the more automated steps of that what i did manually in the Quick Road tutorial as there are:

            1. Manually creation of a road line above the terrain on a flat plane.

            2. Taking a copy of this line and placed it below the terrain.

            3. Creating of the terrain height profile using "Loft",

            4. Intersecting the face with the terrain to get the height profile.

            5. Manually take out a copy of the face.

            6. Manually creation a perpendiculare face with help by "Unfold".

            7. Manually creation of the road height profile by drawing a line on the same face.

            8. Manually removing all Terrain height profile lines from this face.

            9. Projecting road height profile line to a 3D Profile by "shape bender"

            Karlheinz

            He who makes no mistakes, makes nothing

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

            Advertisement