顯示具有 Rhinoceros 標籤的文章。 顯示所有文章
顯示具有 Rhinoceros 標籤的文章。 顯示所有文章

2014年3月22日 星期六

隨手翻/AADRL 2013/2014 – Extending Rhino+Grasshopper with C# – Session 1: Introduction to scripting

原文出處:www.vitruality.com
Copyright © 2013 VITRUALITY & Andrea Graziano

AADRL 2013/2014 – Rhino+Grasshopper with C# 延伸閱讀 – Session 1: 指令碼寫作初探
AADRL 2013/2014 – Extending Rhino+Grasshopper with C# – Session 1: Introduction to scripting


Grasshopper 本身是個非常強大的工具,能夠產出許多令人驚豔的作品。然而,礙於它的運作方式,有幾種傳統架構的演算法無法套用於這種以元件互連為基底(component-based)的系統。雖然它包含大量的元件,但仍有一些領域,其所缺少的功能必需透過自行撰寫新的元件,來擴展它的功能。此外(如果你有寫作腳本的經驗)經常有會這類的念頭,發現某些需要的元件,可能只是簡單幾行代碼的改寫,就能更貼近你需要的功能。
Grasshopper in its natural state is a very powerful tool capable of many impressive feats. However, due to the way in which it operates there are some kinds of algorithms than are not possible to fully reproduce using its component-based system that would be trivial to implement in a traditional programming language. Although it contains a vast array of components there are still some areas in which it is lacking in functionality and it can therefore be necessary to extend it by writing new components yourself. Also, there are often things which, while possible, require long strings of components to achieve what might be more simply implemented as just a few lines of code.


C#
(讀音:C Sharp)

在此,我們將以 C# 的使用作為我們的指令碼語言。之所以選擇這個語言,是因為它的語法相似於其他的 C 語言 (C,C++,Objective-C),以及那些基於它開發的語言(JAVA、JavaScript、Processing、D、PHP 等),也因為它可用於一些Rhino 的程式編寫 ,例如編寫自訂的 Grasshopper 元件,甚至包含整個 Rhino 外掛程式(Plugins),這是目前 Python 所不能的。然而,上述提到的這些例子,這些與 Grasshopper/Rhino 搭配的也僅只是某些程式的特色,不論你是否你正在使用 C#、Visual Basic 或 Python 結果應該沒有不同(意指程式都應該寫得出來)— 只有程式的語法不同,所以請選你所愛,愛你所選的程式來撰寫。
 C# 
In the examples given here we will be using C# as our scripting language. This has been chosen because its syntax should be familiar to people who have used any other of the ‘C’ family of programming languages (C, C++, Objective-C) or those based on it (Java, JavaScript, Processing, D, PHP etc.) and also because it can be used for some of the more powerful forms of programming within Rhino, such as writing custom Grasshopper components and even whole other Rhino plugins, which Python currently cannot. However, none of the parts of these examples which interact with Grasshopper/Rhino are language specific and should be the same whether you are using C#, Visual Basic or Python – only the language syntax will be different, so you should be able to apply the following to whichever language you prefer to use.

2014年1月6日 星期一

RhinoScript / Contour指令切層工具

Contour 指令切層工具
RhinoScript for Contour function and auto Layout.


為了教學上的需要
跨年之際,用 RhinoScript 寫了一個搭配 Contour 指令的工具
相信網路上已經有許多好用、類似的外掛與功能
且容許筆者在此 野人獻曝
以下的操作畫面出自 Rhinoceros 5.0 平台
〔STEP 01〕
導入本次使用的 RhinoScript
【Tools】 > 【RhinoScript】 > 【Load】

2012年12月3日 星期一

Connecting Intelligence | Oliver David Krieg

原文出處:
http://www.oliverdavid.de/?p=353





Connecting Intelligence / Oliver David Krieg

這個稱為 "Connecting Intelligence" 的作品,是建構在一個假設上:「透過理解幾何形體如何被拼湊組裝的資訊,材料行為的探討將可以整合在外型推演的流程之中」。這個專案的宗旨在於,調查當數位製造技術搭配材料行為時,所存在的可能性與衝突。以輕量的松木夾板作為發展的材料,由機器手臂在平面材料上製造出"交扣的接點"(將木板切割造型,然後在邊緣铣出類似拉鍊的構造),探討形態上彈性彎曲的可能性。


使用機器手臂 KUKA 來製造接點(finger joint),為材料設計並生產出特定角度和尺寸的研究,是2010年在 ICD / ITKE 開始進行,並於後來主導了 Research Pavilion 2011 的發展主軸。對於 ICD 正在進行各種"機器加工搭配電腦運算所衍生出的型態"研究,這個研究是包含在其中的一個部分;對於機器加工型態學的討論請參考AD雜誌82(2) "Material Computation"。
對於博士論文的部分,Oliver David 先生主要在探討原本是平面的物件們,在透過將曲線的輪廓相互連接之後,如何達成材料彈性許可下的彎曲;將嚴謹而精確的幾何造型組裝,與平面材料彎曲後產生的型態的各種可能性。這個研究的目標是開發出一種關於多層材料的模組,配合上面提到的製造和材料限制,以及滿足結構和建築上的需求。對於它為建築設計帶來的影響將會是有趣的議題,Oliver David 先生將會透過實際完成的案例來展示。








這邊做了幾個原型來測試材料行為,以及真實物件與數位模型的一致性(比較電腦模擬和真正落實後的差異)。現在處理的部分是如何將幾何形體拆解分化,以及尋找更適合做為結構系統,以滿足特定性能和空間的材料板。很快就會發佈上的一些想法。
















Popular Posts