First I added a parametric rectangular twisting mass and created floors that were 10ft apart:
Next I made the mass parametric by using number sliders for each of the input parameters with the minimum and maximum values from the problem statement, and chose fixed values for the base dimensions and top dimensions .
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb2ca174f-99e5-4c2f-a891-930100d8b0d9%2FCapture2.png?id=f12a40d0-ff2a-47c8-a332-8a35956fe590&table=block)
Next I chose my varying parameters (twist and height), inputted them into my custom node, extracted the floor area and surface area, and then exported the values to excel:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F608f51d9-fce0-4608-861b-3c108e019507%2FCapture3.png?id=7478ba01-4fdb-48eb-917d-43a96cb62118&table=block)
Here is the resulting excel data with green highlights for the iterations that pass the floor area requirements from the problem statement:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd2bab8fb-bcca-4b44-9f10-9030a33d8979%2FCapture5.png?id=9902de0c-fbf4-49ca-981a-039241393e16&table=block)
Here is the final iteration with a height of 700ft and a twist of 60 degrees:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F79d8f2b9-d189-42cf-8d11-6eea13ff4efe%2FCapture1.png?id=4afa4977-6198-4621-91e8-c2234c1a2834&table=block)
For part two I decided to change the faces top and bottom planes. I changed the bottom to a circle and the top to a half circle. I added radius parameters to adjust for both planes. The bottom radius was fixed to 100 ft. The two parameters I decided to change for this part was the top radius and the building height (because changing the twist had no affect on floor area). I tested various parameters and iterations. The results with are shown below with the passing iterations highlighted in green again:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F864fbe8c-fefb-42cd-9221-3d8263004a7c%2FScreen_Shot_2023-05-12_at_5.59.11_PM.png?id=244024d2-f2a8-4b4c-8179-e6ab34e1a542&table=block)
To do this I changed the dynamo code from part 1 to the following:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F28556bfe-0ed0-4228-889d-929d8a7b133d%2FScreen_Shot_2023-05-12_at_6.02.20_PM.png?id=efa5ea9c-f294-433c-8c46-adfa761dd58a&table=block)
Finally, my building model changed to the following:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F448ea375-e754-4c8c-8147-f263dd37f429%2FScreen_Shot_2023-05-12_at_6.04.35_PM.png?id=1df8d07a-bc24-43a5-abc9-2bf87a4a8d65&table=block)