Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Python, Pet of Architects by Navid Hatefnia

Pycon ZA
October 06, 2016

Python, Pet of Architects by Navid Hatefnia

Brand-new challenges have arisen in the field of three-dimensional space and form, such as; architecture, geometry, material, and even energy, which requires in thorough investigation and understanding of the outcomes to discover optimum design solutions. However, without this understanding, analysis and the overlay of interactive data seems impossible and fanciful. Although it was not possible to analyse and use data in traditional architecture, today it is getting real to do with the large volumes of information such as, annual climatic data, sun positions, environmental data, energy data etc.

Python is the most adaptable and robust program which we use to analyse, overlay and optimise data in the field of architecture. We want to understand how it works in a three-dimensional program such as Rhino and how it can help us to develop our ideas and utilise the recent architectural design methodology, which is known as parametric architecture, or algorithmic architecture.

We will demonstrate 3 different experiences in the fields of; geometry, energy, and optimization, and what the approach of each is. Python aids the design of architectural elements through the relation of form to and data simulations. This would be of interest to those who want to see the future of algorithmic design for; architects, designers, and programmers. There is no experience needed, we just want to express the enjoyment these tools can add to three-dimensional design.

Pycon ZA

October 06, 2016
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. Python Pet of Architects

  2. Python, Pet of Architects 2 PYTHON GRASSHOPPER INTRODUCTION

  3. Python, Pet of Architects 3 RHINO

  4. Python, Pet of Architects 4 GRASSHOPPER

  5. Python, Pet of Architects 5 GRASSHOPPER

  6. Python, Pet of Architects 6 PYTHON GRASSHOPPER Python Grasshopper

  7. Python, Pet of Architects 7 PYTHON GRASSHOPPER

  8. Python, Pet of Architects 8 PROGRAMMING AND ALGORITHMIC MODELING GHPython

  9. Python, Pet of Architects 9 GEOMETRY

  10. Python, Pet of Architects 10 CRITERIA X=Y

  11. Python, Pet of Architects 11 CRITERIA ?

  12. Python, Pet of Architects 12 CRITERIA = DISTANCE

  13. Python, Pet of Architects 13 CRITERIA = DISTANCE

  14. Python, Pet of Architects 14 CRITERIA = DISTANCE

  15. Python, Pet of Architects 15

  16. Python, Pet of Architects 16 import Rhino.Geometry as rg panels

    = [] for i in range(unum): for j in range(vnum): pt1 = surf.PointAt(i/unum, j/vnum) pt2 = surf.PointAt((i+0.9)/unum, (j+0.1)/vnum) pt3 = surf.PointAt((i+1.2)/unum, (j+1.0)/vnum) pt4 = surf.PointAt((i+0.3)/unum, (j+1)/vnum) pt5 = surf.PointAt((i+0.6)/unum, (j+0.3)/vnum) n1 = surf.NormalAt(i/unum, j/vnum) n2 = surf.NormalAt((i+0.9)/unum, (j+0.1)/vnum) n3 = surf.NormalAt((i+1.2)/unum, (j+1.0)/vnum) n4 = surf.NormalAt((i+0.3)/unum, (j+1)/vnum) n5 = surf.NormalAt((i+0.6)/unum, (j+0.3)/vnum) pt1 += n1*0.2 pt2 += n2*0.2 pt3 += n3*-0.1 pt4 += n4*1.3 pt5 += n5*1.5 panel = rg.NurbsSurface.CreateFromCorners(pt2, pt3, pt5) panels.append(panel) panel = rg.NurbsSurface.CreateFromCorners(pt3, pt4, pt5) panels.append(panel) panel = rg.NurbsSurface.CreateFromCorners(pt4, pt1, pt5) panels.append(panel)
  17. Python, Pet of Architects 17

  18. Python, Pet of Architects 18

  19. Python, Pet of Architects 19

  20. Python, Pet of Architects 20

  21. Python, Pet of Architects 21 GLARE ANALYSIS

  22. Python, Pet of Architects 22

  23. Python, Pet of Architects 23

  24. Python, Pet of Architects 24 SKYLIGHT

  25. Python, Pet of Architects 25 SCALE EFFECT

  26. Python, Pet of Architects 26 MOVEMENT EFFECT

  27. Python, Pet of Architects 27 REMAINING GLARES

  28. Python, Pet of Architects 28 REMAINING GLARES

  29. Python, Pet of Architects 29 OPTIMIZATION

  30. Python, Pet of Architects 30

  31. Python, Pet of Architects 31 DAYLIGHT OPTIMIZATION https://www.youtube.com/watch?v=I5YhoqqFHzE&index=2&list=PLWMDpRt1sMdZaVarnzd01Pu9USB5FS0pS

  32. Python, Pet of Architects 32 DAYLIGHT OPTIMIZATION https://www.youtube.com/watch?v=k9vCuncJ_14&index=1&list=PLWMDpRt1sMdZaVarnzd01Pu9USB5FS0pS

  33. Python, Pet of Architects 33 OUTDOOR THERMAL COMFORT

  34. Python, Pet of Architects 34 Outdoor Analysis UTCI Ta Va

    Tmrt RH Isky Iurb Isol ap Esol Fsol→p εurb Eurb Furb→p Esky εsky Fsky→p SVF Tdw CC Tdb σ epw CFD NV NV NV Ts Tin K hc Finite Mesh CFD Solar Radiation RAPID ANALYSIS OF COMPLEX FACTORS The outdoor analysis is a result of massive comprehensive calculation and overlaying different environmental simulations. An advanced simulation method using a series of programs and algorithms has been developed to calculate human thermal stress based on Universal Thermal Climate Index (UTCI) standards. Accuracy and speed can be matched to the required level at the relevant design stage – rapid input in the beginning with increased accuracy as design ideas converge. Surface Temperature OUTDOOR COMFORT ANALYSIS
  35. Python, Pet of Architects 35 Furb→p = View factor between

    urban surfaces and a person (ratio, 0-1) = 1 . . → + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  36. Python, Pet of Architects 36 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  37. Python, Pet of Architects 37 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  38. Python, Pet of Architects 38 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  39. Python, Pet of Architects 39 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  40. Python, Pet of Architects 40 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  41. Python, Pet of Architects 41 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  42. Python, Pet of Architects 42 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  43. Python, Pet of Architects 43 = 1 . . →

    + . . → + . . → 1 4 MEAN RADIANT TEMPERATURE
  44. Python, Pet of Architects 44 = 1 . . →

    + . . → + . . → 1 4 ! A=d.d= 42 2 , r=1 -> A = 2 A’=d.d’ , d’=d.Sin() A’=d. d.Sin() = . Sin() = 2 . Sin() Aψs = ′ 2 = 2 . Sin() = 2. Sin() ψs = =0 2. Sin( i ) Instead of n/2  ψs = =0 4. Sin( i ) ψs = Sky View Factor n= NV vectors. Number of vectors which show sky = Vector altitude A= The area that the corresponding ray doesn’t hit any obstacle MEAN RADIANT TEMPERATURE
  45. Python, Pet of Architects 45 = 1 . . →

    + . . → + . . → 1 4 ψs = =0 4. Sin( i ) ψs = Sky View Factor n= NV vectors. Number of vectors which show sky = Vector altitude A= The area that the corresponding ray doesn’t hit any obstacle MEAN RADIANT TEMPERATURE
  46. Python, Pet of Architects 46 Ray Intersect with Geometry Hit

    Not Hit Which Surface Bounce +1 Reflected Ray Sky Radiation Surface Radiation + Bounce=0 Count for Sky Radiation Atmospheric radiation MEAN RADIANT TEMPERATURE
  47. Python, Pet of Architects 47 MEAN RADIANT TEMPERATURE

  48. Python, Pet of Architects 48 PARALLEL MULTI DIMENSIONAL DIAGRAM Shows

    Pt-19 in hot and too hot heat stress. Directly because of high Tmrt. But is it just because of Direct Radiation?!!
  49. Python, Pet of Architects 49 Shows even in low direct

    radiation in a high cloud cover and Humidity and low wind speed in a specific time in the morning 8-9-10am cause over heat stress PARALLEL MULTI DIMENSIONAL DIAGRAM
  50. Python, Pet of Architects 50 PARALLEL MULTI DIMENSIONAL DIAGRAM

  51. Python, Pet of Architects 51 PARALLEL MULTI DIMENSIONAL DIAGRAM

  52. Python, Pet of Architects 52 PARALLEL MULTI DIMENSIONAL DIAGRAM

  53. Python, Pet of Architects 53 PARALLEL MULTI DIMENSIONAL DIAGRAM

  54. Python, Pet of Architects 54 PARALLEL MULTI DIMENSIONAL DIAGRAM

  55. Python, Pet of Architects 55

  56. 021 426 4051 (ph) hello@pjc.co.za www.pjc.co.za