Gallery details
“””More Stuff on Stuff… Quick Fun _ Geom from CMTA – [001.HRR] [GHop Version]
[DelamJam] Python Version
CODE
"""
Script written by <Luis Quinones>
Script copyrighted by <[n]igma + complicitMatter + computationalMatter>
www.complicitMatter.com
www.computationalmatter.com
Script version Thursday, 16 Feb 2012 20:18:46
"""
import rhinoscriptsyntax as rs
import math
from System.Drawing import Color
baseCrv = rs.GetObject("BaseAction")
strTransferPt = rs.GetObject("PointA",rs.filter.point)
coordTransferPt = rs.PointCoordinates(strTransferPt)
strTransferPt2 = rs.GetObject("PointB",rs.filter.point)
coordTransferPt2 = rs.PointCoordinates(strTransferPt2)
strTransferPt3 = rs.GetObject("PointC",rs.filter.point)
coordTransferPt3 = rs.PointCoordinates(strTransferPt3)
intDiv = 16
arrCrvPtsA = rs.DivideCurve(baseCrv, intDiv, False)
arrSplitA = arrCrvPtsA[0:8]
arrSplitB = arrCrvPtsA[8:16]
for m in range(len(arrSplitA)):
#print m
pointA = rs.AddPoint(arrSplitA[m])
rs.ObjectColor(pointA, Color.White)
pointB = rs.AddPoint(arrSplitB[m])
rs.ObjectColor(pointB, Color.Red)
for i in range(len(arrSplitA)):
for j in range(0,8):
strMainCrv = rs.AddLine(arrSplitA[i],arrSplitB[j])
intDiv2 = rs.DivideCurve(strMainCrv, 7, True)
intDiv2.remove(intDiv2[3])
intDiv2.insert(3,coordTransferPt)
intDiv2.remove(intDiv2[4])
intDiv2.insert(4,coordTransferPt2)
arrFinalCrvs = rs.AddCurve(intDiv2,3)
rs.ObjectColor(arrFinalCrvs, Color.Red)
intDiv3 = rs.DivideCurve(arrFinalCrvs, 7, True)
intDiv3.remove(intDiv3[3])
intDiv3.insert(3,coordTransferPt3)
arrFinalCrvs2 = rs.AddCurve(intDiv3,3)
rs.ObjectColor(arrFinalCrvs2, Color.Green)
rs.DeleteObject(strMainCrv)
Update
Recently in Portfolio
- [K]ernels

- Nike A.I.R Prototypes

- [A]nisochromatic Meshing

- Nike After Dark Tour

- PARAPRAXIS

- [001.HRR] CONCEPT BIKE

- 2040:LUNAR.OUTPOST[a]

- HE.6 2020 Prototype

- CULEBRA.NET

- PYTORCH-CLASSIFIER

- Nike Zoom Superfly Elite

- BENGBU CITY OPERA

- Nike Footscape Flyknit DM

- Jordan Hyperdunk React

- KA-HELMET

- [C]ucarachas

- [S]eeker

- [O]h Baby

- [E]l Papa

- [S]hatter.Brain

- [S]tigmergy

- [F]orces

- CULEBRA.JAVA

- [C]ulebra.MultiBehaviors

- [S]ticky Stuff

- [S]entinels

- [G]allopingTopiary

- RELUXOED

- [SRC] . Semi Rigid Car

- [P]erlin

- [E]ternal Wanderers

- [W]heelie

- [S]labacube

- [M]esh Crawlers

- [L]a Silla

- [3]D BabyMaking Trackstars

- [3]D Trackers

- [2]D BabyMaking Trackers

- [T]rackers

- CULEBRA GRASSHOPPER

- culebra.[M]eshCrawlers.3D

- culebra.[H]ybrid.3D

- culebra.[F]lorgy

- culebra.[F]ockers.3D

- culebra.[F]ockers.2D

- culebra.[N]oisey.3D

- [E]l Nino

- culebra.[S]elfOrg

- [D]rippin

- culebra.[N]oisey.2D

- [C]reepyCrawlers

- [J]eepresesCreepers

- [T]2000

- PUFFER PLEATNESS

- EMERGEN[CY]

- [L]iquified

- [S]uckedComp

- [X]plosion

- MR. EW

- [H]airGoo

- [B]alled

- [n]injaStars

- [b]loomer

- [t]rip city

- TAPE GUNNED

- [B]oom

- [M]iller Time

- [D]elamjam

- [B]rain Zapper

- [B]ig Bird

- [E]gg Tube Pavillion

- [A]llice’s Easter Tree

- [S]weet Honey

- [U]M.Urgent

- [t]oo.urgent

- [B]onnie..+..Clyde

- [B]io Mess

- [EL]Mojado.Virus

- [W]HAT the …!

- [H]ot Lava

- [P]leat Diddy

- [t]erminator easter egg

- Mr. BB

- [B]less You

- [F]antastic + Interactive

- [S]oo_Minimally_Pathed

- [P]uffer Fish.Fab

- [M]an Eater

- [AHH] Alien House Hunters

- [W]eave Machine

- Sportbike Racing

- Grappling

- Kart Racing




Leave a reply