摘要
面向对象思想起源于计算机科学领域,逐渐扩展到其他领域,在建筑设计与生成中的应用尚有较大探索空间。通过选取具有南洋风格的建筑作为原型,分别对组成建筑单体与街道建筑群的对象进行分类,并利用Grasshopper中的Python语言对每个"类"进行代码编写与生成,从而探讨得出面向对象思想中的封装方法具有"类"调节便利性以及"类"在不同项目中具有可复用性。
The object-oriented idea originated in the field of computer science,and there is still large space for exploration in the application of building design and generation.By selecting the traditional arcade buildings and blockhouse as prototypes,we classify the objects that make up the single building and the street,and use Python program in grasshopper to code and generate each"class",so that the"class"parameters can be modified through the input end,and can be reused in similar style projects.
作者
张韫铮
戚广平
ZHANG Yunzheng;QI Guangping
出处
《建筑技艺》
2021年第2期119-121,共3页
Architecture Technique
关键词
面向对象
建筑单体
街道建筑
封装
可复用性
object-oriented
building
street buildings
encapsulation
reusability