October 21, 2008

Pattern Distribution


























Research project on thermo bi-metal with DoSu Studio.

The problem is paracloud uniformly stretches a pattern to distribute it over grid, so a user -as far as I know- do not have control over HOW one unit should be aggregated. In this case, a pattern has start and goal condition and has to modify itself gradually.

Image1 shows how paracloud create undesirable configuration.
Image2 shows how a unit should be aggregated over the surface.

October 18, 2008

PowerCopy Automation













やっとやっと poweCopy script 制覇っ!

いえ、BH に最近来た installation を CATIA でやろうと思っていたのです。が、
powerCopy に時間がかかりすぎるということで paracloud user に持っていかれそうだったのです。scripter のはしっくれとして黙っているわけにはいかず、あわてて習得したところ。必要に迫られると伸びるものですね。


Fabric pattern completed via powerCopy Automation. Method is the following three steps →


'---------------------------------------
STEP1. BeginInstanceFactory: to initialize the InstanceFactory with the reference and the document where it is stored. This step must be called once at the beginning whatever the number of instantiations are done.

STEP2. It is composed of five methods that must be called in the order. This set of five methods can be called in a loop in order to make several instantiations.

a. The method BeginInstantiate: to initialize all data of the reference.
b. The method PutInputData
: to set a value to any input.
c. The method GetParameter
: to retrieve published parameter.
d. The method Instantiate
: to recreate the reference.
e. The method EndInstantiate
: to indicate the instantiation is done.

STEP3. EndInstantiateFactory
: to end instantiation and cleaning the InstanceFactory. When doing several instantiations in a loop, this step must be called just once at the end of all instantiations.
'---------------------------------------


The original design (physical model) of the pattern.
The geometrical performance of the pattern (in CATIA).

October 7, 2008

Boundary

Atsushi さん、やっと出来上がりました~。

Wrote series of functions to set boundaries for point cloud selection. For the sake of changing colors, return is currently string points, but it's easy to change the result to array points, or even both.


INPUT: str point cloud, str target point, dbl to set a boundary
RETURN: string (or array) points within a boundary







































Link to
cube boundary function.
Link to cylinder boundary function.
Link to sphere boundary function.
Link to partial sphere boundary function.
Link to cone boundary function.

Thanks Satoru.

September 28, 2008

Review on Function+Vector 03









Reviewing my old script after learning Function and Vector.

INPUT: str point cloud, str target point,
dbl number of branches, dbl size of xy boundary, dbl stem length


Link to the makeTree function.

Review on Function+Vector 02













Reviewing my old script after learning Function and Vector.

INPUT: str point cloud, str target point,
dbl number of closest point, dbl size of xy boundary

Now user can select how many branches to draw without modifying the code. And script lines got significantly shorter!!!


Link to the makeBranch function.