Chengtao Zhang

Please enter the following info in the fields above:

  • Your Name as the Card title
  • The link to your Module 4 folder in our Autodesk Construction Cloud project

Please also type the first few letters of your first name into the Link to Student field, then hover over your name from the list of matching records and click the blue plus sign to link this entry to your Design Journal.

Rise and Shine

Part 1

image
image

For part 1, I used the Arc.ByCenterpointRadiusAngle command to create the base arc curve. I then used the curve.extrude command to extrude the wall in the Z direction by a specified height. Following the examples this week, I read in the image file and sample the image data, as well as panelize the wall surface using adaptive panel “Rect Seamless Panel-4pt”. It took me a while determine which the image should be flipped, but it became easier after I combined the three options into a list and indexed them.

The parameters that can be changed with a slider in this part are:

  • Radius, starting angle, and ending angle of the arc curve
  • Height of extrusion in the Z direction
  • Number of u and v panels for panelizing the surface (both set to 100 for the best resolution, but should be set to lower for the best runtime

Part 2

image
image

For part 2, I created a straight line with a specified length first, then used the formula Amplitude * Math.Sin((Distance * 360 * numberOfWaves)) to transform the line into a sine curve. I then extruded the sine curve in the Z direction using Curve.Extrude by direction and distance. I followed the same procedure as part 1 to read and sample the image data, as well as panelize the wall surface. I made the number of u panels (specified wall width / 8) and v panels (specified wall height / 4) so the panel dimensions are always roughly 4” x 8”. Lastly, I followed the example this week to use the sampled colors to set the heights of the wall panels.

The parameters that can be changed with a slider in this part are:

  • Length of the starting line
  • Amplitude and number of waves of the sine curve
  • Height of extrusion in the Z direction (height of the wall)
  • Maximum height of the wall panels