Stage 1, Part 1:
For creating the curved surface, I used the Arc.ByCenterPointRadiusAngle node. This allowed me to change all those parameters easily. Then, to panelize the surface while keeping relatively square proportions, I acquired the length of the curve with the Curve.SegmentLengthAtParameter node and the height with the distance I translated the curve in the Z-direction and divided both by 0.85. So, the surface would be sub-divided proportionately as the length and height parameters change. Like previous assignments, I started with a smaller length and height, as well as only multiplying the length and height by 0.25 to see if the effect was correct, then I scaled up.
When mapping the image onto the surface, I had to play around with the List.Reverse and List.Transpose functions to get the image right way up and mapping UV values correctly.
Stage 1, Part 2:
Here, I created a sine wave for the S-shaped wall. I first divided the curve into many subpoints with a sequence code block. Then, I entered a formula for a sine function which would then change the Y-values of the points. The number of segments was used in the sine function as a parameter, along with the amplitude and number of waves. These points were then used to create the NURBS curve.
Similar to Part 1, I used the Curve.SegmentLengthAtParameter to acquire the Length of the curve and the extrusion distance for the Height of the surface. These values were used to get a distance of ~4” (in the Z-direction) and ~8” (in the X/Y direction) as the height and length values were changing.
Again, there was a little bit of playing around to get the image mapping the right way up. Once I was sure the image was mapping correctly, then I went to try and change the Height parameter of the panels based on the brightness. Something I noticed was that as the heights of the panels got extruded more, the portions of the curved surface facing each other begins to clash so there are panels going into each other. In a real life scenario, this kind of clash would not be feasible to build, so some other boundaries would have to be put in place, or the panels would have to extrude in opposite directions if that limit was reached.