My design goal is to create a walkway covered with curved structure frames and panels. Figure.1 illustrates s one of the output results of my code. The output design is made from 2 sine curves and 1 straight line as figure 2 shows.
Figure 3 shows the codes of the sine curves. Each sine curve obtains the same parameters (number of waves and wave amplitude), but the value can be input separately. Curve 3 has different periods of sine curve so that Dynamo code creates a twisted design.
In terms of the line on the top, it can be input start point and endpoint coordinates. Also, it is available to modify the length of the line by adjusting expand/shrink parameter.
After drawing three lines, the code creates ribs and places adaptive components for ribs based on the input number of ribs. In addition, the radius of the ribs can be defined by the parameter code.
Finally, I put the code creating points for panels and placing adaptive panes. There is one parameter that can define the number of panels on ribs.