n Continue For
End If
Next
actually for performance issue, I should put "the continue for " on the first:
Dim i As Integer
For i = 0 To 9
If x <> 3 Then Continue For
If x = 3 Then
print("The number is 3.")
End If
Next…
eone would know how to group each data position from each branch ... meaning, for instance, that I have a list of data with 3 branches, each branch containing 28 data instances (see attached image). Now, how would I get the (0;0)+(1;0)+(2;0) to be grouped in a new branch, as well as (0;1)+(1;1)+(2;1) and so on?
Also, I need for the setup to able to take in variables, so that the 3 branches might change to 6, and the 28 data instances might to change to anything between 10 and 100.
Thanks in advance,
/Claus
…
etc.
Group 2 - 1, 6, 11, 16, 21 etc.
Group 3 - 2, 7, 12, 17, 22 etc.
Group 4 - 3, 8, 13, 18, 23 etc.
Group 5 - 4, 9, 14, 19, 24 etc. "
except in data, the branches start at 0, so 'group 1' is branch 0
as for the order of your points, that depends on the input prior sorting...
yrs …
ains an unrecognized object: Face Polylines {4098ecba-269a-1ced-9ce4-86836dae2101}
This object cannot be deserialized
The archive contains an unrecognized object: Mesh edges {4098ecba-299a-1ced-9ce4-86835dae21c9}
This object cannot be deserialized
Object list read
And the simulation will not run afterwards.
Is this because the face polylines and mesh edges that need to be in the Rhino example file are missing? (the Rhino file contains 5 points, and no other geometry).
I get a similar error if I open TENSEGMEM :
Plugin version: 0.8.0004
The archive contains an unrecognized object: Mesh edges {4098ecba-299a-1ced-9ce4-86835dae21c9}
This object cannot be deserialized
Object list read
If I open one of the examples which is just a GHX file (such as CATENARY), it loads without errors, and a series of Grasshopper generated objects appear on screen - but the simulation will not run. The grasshopper definition says it is "unable to load a series of points". Please see attached JPEGs.
sorry for the headache !!
thanks,
Jeg…
, ByVal generation As int32, ByRef allboxes As list(Of box))
If generation - 1 < 0 Then
Exit Sub
End If
Dim subboxes As New List(Of Box)
Dim corners As Point3d()=box.getcorners
Dim xvec As Vector3d = (corners(1) - corners(0)) / 3
Dim yvec As Vector3d = (corners(3) - corners(0)) / 3
Dim zvec As Vector3d = (corners(4) - corners(0)) / 3
box.transform(transform.Scale(corners(0), 1 / 3))
For m As int32=0 To 2
For n As Int32=0 To 2
For k As int32=0 To 2
If Not (m * m + n * n = 2) And Not (n * n + k * k = 2) And Not (k * k + m * m = 2) Then
Dim sub_box As Box = box
Dim transvec As Vector3d = xvec * m + yvec * n + zvec * k
sub_box.Transform(transform.Translation(transvec))
allboxes.Add(sub_box)
subD_box(sub_box, generation - 1, allboxes)
' all_boxes.remove(sub_box)
End If
Next
Next
Next
End Sub
'''''''''''''''''''''''''''''''''''''''''…
4}
{0;2;0}
{0;2;1}
{0;2;2}
{0;2;3}
{0;2;4}
You cannot flip this because this is more complex than a rectangular matrix. You're going to have to do the mapping yourself. Try a Path Mapper with the following masks:
{A;B;C}(i) -> {A;B;i}(C)
Which should give you a structure that results in 3 lofts.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
…
Added by David Rutten at 3:18pm on November 27, 2011