Question to all Ruby programmers
-
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
-
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
-
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.
-
I'm thinking maybe Chris script Line by elevation might help?
http://forums.sketchucation.com/viewtopic.php?f=180&t=16923 -
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:
-
Manually creation of a road line above the terrain on a flat plane.
-
Calculation of height points along this line on the terrain (Ruby?).
-
Projecting the calculated points (may be as a line) on a perpendiculare face (unfolded height profile of the terrain) (Ruby?).
-
Manually creation of the road height profile depending on the height profile of the terrain on this face or on new one (3.).
-
Calculation of the new road height points and creation of a line.(Ruby?)
-
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:
-
Manually creation of a road line above the terrain on a flat plane.
-
Taking a copy of this line and placed it below the terrain.
-
Creating of the terrain height profile using "Loft",
-
Intersecting the face with the terrain to get the height profile.
-
Manually take out a copy of the face.
-
Manually creation a perpendiculare face with help by "Unfold".
-
Manually creation of the road height profile by drawing a line on the same face.
-
Manually removing all Terrain height profile lines from this face.
-
Projecting road height profile line to a 3D Profile by "shape bender"
Karlheinz
-
Advertisement