we are an infinite loop
Pacat ca ma grabesc. [Too bad I'm in a hurry.]
A blog about computational design, generative art, geometry, math, architecture and the means employed to materialize these forms of expression. It's an ongoing chronicle of my personal research in this field and an information pool for curious minds.
Without fancy words, it's a haha place for me. Not topic oriented, more or less it is flow oriented.
Showing posts with label archictecture. Show all posts
Showing posts with label archictecture. Show all posts
Nov 4, 2007
Sep 27, 2007
Scriptin towards outerspace
Double curvature surfaces, faceted:
Some easy scriptin did that:
Option Explicit
SurfaceFaceting()
Sub SurfaceFaceting()
Dim strSurf : strSurf = Rhino.GetObject("Select surface to facet", 8, True, True)
If IsNull(strSurf) Then Exit Sub
Dim intDetailLevel : intDetailLevel = Rhino.GetInteger("Detail level", 40, 2)
If IsNull(intDetailLevel) Then Exit Sub
Dim dbl
Dim uDomain : uDomain = Rhino.SurfaceDomain(strSurf, 0)
Dim uStep : uStep = (uDomain(1) - uDomain(0))/intDetailLevel
Dim vDomain : vDomain = Rhino.SurfaceDomain(strSurf, 1)
Dim vStep : vStep = (vDomain(1) - vDomain(0))/intDetailLevel
Dim u, v, strFrame, pt
Call Rhino.EnableRedraw(False)
For u = uDomain(0) To uDomain(1) Step uStep
For v = vDomain(0) To vDomain(1) Step vStep
pt = Rhino.EvaluateSurface(strSurf, Array(u,v))
strFrame = Rhino.SurfaceFrame(strSurf, Array(u,v))
Call Rhino.AddPlaneSurface(strFrame, 1, 1)
Next
Next
Call Rhino.EnableRedraw(True)
End Sub
rewritten by
Unknown
around
2:10 PM
0
comentarii
filed under archictecture, code, rhinoscript
Subscribe to:
Posts (Atom)
Blog Archive
The magic list
Cine e porcaria asta?
Labels
- p55 (18)
- computational (12)
- processing.org (8)
- code (5)
- arhitectura (4)
- blabber (4)
- programming (4)
- sound visualisation (4)
- useless (4)
- architecture (3)
- books (3)
- proprietate privata (3)
- archictecture (2)
- arcs (2)
- comic (2)
- graphic design (2)
- life (2)
- now (2)
- sleep (2)
- boids (1)
- cad (1)
- circle packing (1)
- competition (1)
- corporate (1)
- cybernet (1)
- desing (1)
- documentar (1)
- fractal (1)
- funny (1)
- geek (1)
- kmap.org (1)
- libraries (1)
- memories (1)
- politica (1)
- poster (1)
- reders (1)
- rhinoscript (1)
- school (1)
- sphere (1)
- sphere packing (1)
- spirit (1)
- theatre (1)
- xkcd (1)