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.
Then, share your Design Journal entry here (replacing these instructions) ...
Click the text area below the headers and just start typing your response. There's no need to add new properties.
Please include:
- A screenshot of your model geometry
- A few sentences describing your modeling approach
Since the campus scenery and architecture are beautiful, I want my shelter's appearance to capture the lovely colors of the campus. Therefore, I chose this picture.
Entire Dynamo Script
Step 1 – Apply Adaptive Panels to the Surface of Your Shelter from Module 3
Based on the shelter I designed in module3, I divided the surface model into a UV grid for a more intricate structure. I employed adaptive panels, specifically the 'Rect_Seamless Panel-4 pt', created through the Panel.PanelQuad node, to achieve this.
Step 2 – Map the Colors from an Image File to the Adaptive Panels
I started by extracting data from the image file and orienting it correctly. I added a feature that lets users choose between keeping the original image effect or transposing it, with 0 for the original and 1 for transposed.
At first, I tested with fewer panels and, once the orientation was confirmed, used 50x50 panels to enhance image quality and reduce pixelation. Next, I provided the image file path to apply colors to the panels, importing the image. Further details on colors are in the subsequent step.
0 for the original
1 for transposed.
Step 3 – Provide the Ability to Mirror or Flip the Image as Desired
In this phase, I developed a selection tool for enhanced design flexibility, offering options to flip colors horizontally, vertically, or both. I established three nodes for vertical, horizontal, and combined flipping. Inputting 0 as original one, 1 leads to vertical flipping, 2 yields horizontal flipping, and 3 triggers both flips. The adjusted colors are linked back to step two. By modifying the numerical value between 0 and 3, users can choose from four options to flip colors horizontally and vertically. This intuitive method enables swift design alterations, offering exceptional flexibility and customization possibilities.
original(0):
both flips(3)
Step 4.Display the Color
Ultimately, I employed the "Element.OverrideColorInView" node to alter the panel colors to match those from the image.
The modeling process feels magical, as it allows for the desired patterns to be displayed effortlessly and as desired!