Posted by Milica Samardzija 22 Feb 09

0809M4 MS Access Urbanism

The project is about accessibility. The most accessible spots are the intersections of the extended existing lines of communication. A few of all these spots are separated to be the initial stage of the area development. The next step is to connect the initial spots with all the spots around them in the perimeter of 150m, and so the process of development is continued through phases.

Option Explicit
‘——————————————————————————-
‘ Subroutine: MS Accesisible Urbanism for Port of Belgrade
‘ Purpose: distnace analysis within cloud of circles
‘ Author: Milutin Cerovic,Milica Samardzija 2009
‘ www.4ofseven.com
‘——————————————————————————–
Call Main()
Sub Main()
Dim arrCloud1
Dim arrCloud2
Dim arrCircles1,arrCircles2
Dim dblDmax,dblDmin
Dim L
Dim i

arrCircles1=Rhino.GetObjects (“Select initial circles”)
ReDim arrCloud1(UBound(arrCircles1))
arrCircles2=Rhino.GetObjects(“Select reference circles”)
ReDim arrCloud2(UBound(arrCircles2))
dblDmax = Rhino.GetReal(“Enter Max distance”)
dblDmin = Rhino.GetReal(“Enter Min distance”)

For i=0 To UBound(arrCircles1)
If Rhino.IsCircle(arrCircles1(i)) Then
arrCloud1(i)=Rhino.CircleCenterPoint(arrCircles1(i))
End If
Next

For i=0 To UBound(arrCircles2)
If Rhino.IsCircle(arrCircles2(i)) Then
arrCloud2(i)=Rhino.CircleCenterPoint(arrCircles2(i))
End If
Next

For Each obj In arrCloud1
For i=0 To UBound(arrcloud2)
L=Rhino.distance (arrcloud2(i),obj)
If L>dblDmin and L
Rhino.addline arrCloud2(i),obj
End If
Next
Next
End Sub

Be Sociable, Share!

    Comments are closed.


    Read previous post:
    0809M5 Studio Agenda

    In the coming term we will continue working on Versatilities agenda, yet we will shift the scale to focus toward truly buildable result at the end of the term.Studio will explore architectural means to activate one of the unused industrial warehouses at Port of Belgrade. Research into fabrication methods in conjunction with design techniques will be supported with now available funds for the prototype models at one-to-one scale. We will start with the associative design workshop based on the Grasshopper for Rhino 27.02-10.03. Graduate Programme, Module: Design Studio M5 2009/10, 18 ECTS Djordje Stojanović, Milutin Cerović, Ivana Petruševski. download useful files [...]

    Close