Liana Wong

Stage 1: Rise and Shine

Part 1

image
image

Modeling Approach and Adjustable Parameters:

NOTE: All groups colored orange in the Dynamo code are adjustable. To create this model, much of the code was based on the Module 4 kickoff video. The wall was built by defining sine and cosine functions that took start and end angles, as well as the radius as adjustable input parameters. The start and end angles would be used to define the start and end points what would define the arc using Arc.ByCenterPointStartPOintEndPoint. Note that the centerpoint was set as (0,0,0). Note that the height of the wall is set based on the image uploaded, such that the wall was formed through an extrusion in the Z direction.

The number of panels can also be adjusted to format the u and v points using Panel.PanelQuad. In Part 1, the panels are to remain square. I followed the same logic used in the kickoff video to achieve this, such that the image was read to obtain the width-to-height ratio, which was then used to obtain the total height. The number of v points was defined as the number of panels (adjustable parameter) prescribed, while the number of u points was determined as length * (number of panels/total height). Rect_Seamless Panel - 4 pt was used as the adaptive component.

Finally, a set of code was built according to the kickoff video to allow the user to vertically, horizontally, or vertically and horizontally flip the image using a series of List.Reverse and List.Transpose code blocks. This may be adjusted by setting the correct index for the list to read in order to perform the desired flip. Element.OverrideColorInView was used to display the colors of the elements according to the image. The height of all panels are uniform.

List parameters that can be adjusted:

  • Wall Length (start and end angle, radius)
  • Wall Height (based on image chosen)
  • Number of Square Panels
  • Image: Choice of Image
  • Image Flip (vertical, horizontal, or both)

NOTE: Although the image should be upright, the model results in a 90-degree rotation of the image. I’ve spoken to Ina about this, who asked the other TA’s for a solution. However, we were unable to fix the issue, thus I was told it was acceptable to submit my model as is for full points. Based on our discussion, it is most likely due to how the image processor reads the image origin from the top left, while we intuitively think that it is at the bottom left. I’ve tried manually inserting a rotated image to force a corrected orientation, however it did not work. The same issue applies to Part 2.

Part 2:

image
image

Modeling Approach and Adjustable Parameters:

NOTE: All groups colored orange in the Dynamo code are adjustable.

To create this model, much of the code was based on the Module 4 kickoff video. The sine wave was built such that the wall length, amplitude, and number of waves may be adjusted using a slider. By producing a list of points, NurbsCurve.ByPoints was used to form the sine wave. Note that the height of the wall is set based on the image uploaded, such that the wall was formed through an extrusion in the Z direction.

The number of panels can also be adjusted to format the u and v points using Panel.PanelQuad. In Part 2, the panels are to remain 4”x8” regardless of adjustments in the wall shape. I followed the same logic used in the kickoff video to achieve this, such that the image was read to obtain the width-to-height ratio, which was then used to obtain the total height. The number of v points was defined as length/(8/12) and rounded to the nearest integer, while the number of u points was determined as (total height)/(4/12) and rounded. Rect_Seamless Panel - 4 pt was used as the adaptive component.

A set of code was built according to the kickoff video to allow the user to vertically, horizontally, or vertically and horiztonally flip the image using a series of List.Reverse and List.Transpose code blocks. This may be adjusted by setting the correct index for the list to read in order to perform the desired flip. Element.OverrideColorInView was used to display the colors of the elements according to the image. This code block was also used as an input to adjust the panel height based on color values, either via brightness or hue values. An index was used to allow the user to assign 0 or 1 for adjusting the panel heights based on brightness or hue respectively. The minimum height was set as 4” and the maximum height was set as 36”. The result is an adjustable sine wave wall whose image may be horizontally or vertically flipped, which varying panel thicknesses based on user-defined parameter of either color brightness or hue.

List parameters that can be adjusted:

  • Wall Length
  • Wall Height (based on image chosen)
  • Sine Curve: Amplitude, Number of Waves
  • Image: Choice of image
  • Image Flip (vertical, horizontal, or both)
  • Vary Panel Thickness based on Color Brightness (index 0) or Color Hue (index 1)