++++ culagovski.net » parametric

Archive for the 'parametric' Category

Rhino + Grasshopper + Python

Monday, October 6th, 2008

Have been trying some things using the latest Grasshopper Beta with scripting support, using Python. It’s an interesting middle ground between the simplicity and straightforwardness of Grasshopper’s interface and the flexibility and power of Python.
The example is a simple parametric surface paneller, that recursively divides a surface according to its Gaussian curvature. The more curved […]

Maya2008 + Pymel

Monday, July 7th, 2008

Pymel fixes Maya’s python API.
A first simple experiment, populating a NURBS surface using its UV coordinates.

from __future__ import division

usub = 7
vsub = 20
usize = 8
vsize = 1
depth = 0.5

surfs = selectedNodes()

def pt(surf,u,v):
return pointOnSurface( surf, u=usize*u/usub, v=vsize*v/vsub)

for surf in surfs:
for u in range(usub):
for v in range(vsub):
pt1 = pt(surf,u,v)
pt2 = pt(surf,u+1,v)
pt3 = pt(surf,u+1,v+1)
pt4 = pt(surf,u,v+1)
c=curve(p=[pt1,pt2,pt3,pt4,pt1])
extrude (c, et […]

Thesis!

Friday, October 19th, 2007

Finished writing my thesis (!). PDF here. In spanish.
It’s basically about:

Definition of “weak heritage” as the elements of a city that make up its character but aren’t part of its “strong” heritage such as churches, avenues, etc. The weak heritage of a city includes individual houses, public spaces, small shops and other anonymous elements that […]

Parametric Simulation of Building Codes

Tuesday, August 7th, 2007

Some work done with Claudio Labarca on the simulation of building codes in 3d. It takes as its input an area’s building codes, lots and road centerlines, and generates 3d models of possible buildings that maximize their allowed heights and surface areas.
This method has been used in the discussion and approval of building codes in […]