I’m new to Grasshopper; I have some experience in BIM (Autodesk Revit, Tekla Structures), and I’m intrigued by Grasshopper and what it is capable of, so I’ve decided to try and learn and see how far I can get. So far, I’ve watched the introduction videos from Grasshopper3d.com (David Rutten), read some tutorials, and tried a couple of definitions.
As an exercise, I’m trying to replicate the structure of an earlier project in our firm (I work in an engineering and architecture company). We received a DWG-file with a top view and side view of the centerline (reference line) of a ride in an amusement park. Positions of all other structures (left track, right track, supporting beams, …) are all based on this reference line. (At the time of this project, another company modelled these structures, from which point we could start with engineering). My goal is to create Tekla Structures geometry based on my Grasshopper definition.
But first things first, I’ve gotten as far as this:
- measure coördinates of points on reference line in the DWG
- create these points in Grasshopper (I’ve created all points seperately)
- between start and end points of bends, I generate a number of points with Evaluate-components (X and Y with formula of circle, Z with dividing the heigth in a number of steps)
- start and end points of straight lines, and all generated points in bends are grouped, and then a polyline is created from them
- after using offset on this polyline, I notice strange effects, particularly where bend becomes straight, or vice versa. The reference polyline looks good, the offsets don’t
What am I doing wrong?
Hints on how this workflow can be improved? (I’m guessing what I’m doing is far from efficient)
Thanks in advance!
Test coaster reference line offset.gh (61.7 KB)