into 6 parts and calculate using multithread, but I do not know how to multi thread in GH.
and Array data exchange in VB.component and GH.
Private Sub RunScript(ByVal Tvec As Vector3d, ByRef DATA As Object) 'your code goes here… Dim angX, angY As Double Dim TData(100, 100) As Double Dim i,j As Integer If tvec.z <> 0 Then temp = math.Tan(angx) / 0.025 + 50 i = CInt(Math.Tan(angX) / 0.025) + 50 temp = math.Tan(angy) / 0.025 + 50 CInt(Math.Tan(angY) / 0.025) + 50
If (i >= 0 And i <= 100) And (j >= 0 And j <= 100) Then tdata(i, j) = tdata(i, j) + 1 End If data = tdata
End If…
s.
Where as 10 by 10 Domain Divide = 100 values
To rectify simply increase Domain Divide inputs by 1 to get 11 x 11 = 121
Thirdly
The Data Matching in the Dispatch Component is for 121 values on 1 branch to 121 values on 11 Branches.
I've flattened the pattern and now have 121 values on 1 branch for each input, which produces a result of open and closed panels in the same shape as your image.…
Hi,
I want to divide curve with distance between points so it will be like this:
1--2---3----4-----5------6-------7-----, ...
with values in range 1 to 50, must be simple but im stuck..
tnx
9 8 7 6
5 4 3 2 1 0
I am triangulating this surface. I want to select just the red vertices. As you can note, I just need the inner vertices of this surface. I could do it mannually, but if I want to change the mesh density later, I will have to pick all of them manually again later.
Can someone help me?
Tks
…
created surface with sweep and rotate them with number of division. Section curves of 2Railsweep is defined with 3 Point arc and shape is also controlable.
You can change shape by sliding 16 paramteters.
The definition is rather long, hope somebody can modify with more sphiscated manner.
日本語
パラメトリックにボトルデザインをする.ghxファイルを作成しました。ボトルのプロファイルカーブを、参照となる円に対して、高さ、シフト、オフセットでコントロールポイントの位置情報を与えて定義。次にスイープで分割数だけ回転コピーして作成。
スイープの断面、3点円弧で作成し、形状コントロールするようにしています。
ボトル形状は、16のパラメーターをスライドすることで定義出来ます。
…
he sunPath component works. For example if you want to simulate the hours from 8 to 16 it means you want 8 hours from 8 to 9, from 9 to 10,.... from 15 to 16 (8 hours duration period) so you get from the sunPath component (using default timeStep 1) the 9 sun position/vectors 8 9 10 11 12 13 14 15 16 (in the image the yellow suns). The things is that if you ask for a smaller timeStep for example 3 = 20 mins then the additional sun position (in the image the orange suns) are added also after the time limit of h16 so probably when you don't want/need. I understand that when you input a time period there is the ambiguity if the hours are the just 9 (the 9 inputs) or the 8 hours included between pairs of hours, but I would make in a way that it is possible to chose if the extra timeStep after the last hour are added or not. Thank you for your comments.
…