{8} become {1) etc
(see image attached)
I've played around with series components and feeding the data into a tree branch in stages (0-4 5-9 etc), however the amount of branches i need to merge (5 in this case) is a variable that plan on changing in the future so I want a more sophisticated solution than manually copying groups of series components and feeding them into separate tree branches.Thanks in advance for any help…
I assume that branch 0;0 has N = 10 points, 0;1 N = 7 points.
In the photo the way you describe the points it is like branch 0;0 has N = 45 points, where subbranch 0;0;1 has null points, subbrach 0;0;1 has N=1 point... subbranch 0;0;9 has N= 9 points.
Most likely you need to just graft you initial data tree that has the following structure
0;0 with N = 10
0;1 with N = 7
0;2 with N = 9
0;3 with N = 5
0;4 with N = 8
without a file, or a solid description of your starting data structure all these remain assumptions.
…
4 to 9
Is there a way to do this with the list or sequence components other than retrieving individual list items and then lofting between each list item (circle). There must be a more elegant way to do this.
Thanks very much.
please see the attached definition as a sample...…
an = True
For j As Integer = i + 1 To x.Count - 1
If round((x(i).x * 10 ^ 8 + x(i).y * 10 ^ 4 + x(i).z), 2) = round((x(j).x * 10 ^ 8 + x(j).y * 10 ^ 4 + x(j).z), 2) Then bol = False
Next
If bol Then ptlist.add(x(i))
Next
a = ptlist
I think someone posted a more appropiate way of doing it, similar to how the "seldup" command works. You can also run the seldup command in a script using app.RunScript("-seldup"), but its a bit messy since you have to bake the geometry first and select the resulting geometry all within the script.…
se the cull pattern, so I wanted to make the pattern using a function component. x=y. x= the original list and y= the interval i wanted to remove. So the pattern should be:
0: false
1:false
2:false
3:false
4:true
5:true
6:true
7:true
8:false
9:false
10:false
etc...…
Added by Rasmus Holst at 3:32am on November 17, 2009
uld be much better than Rhino at huge mesh collections. I'd personally try free Autodesk Meshmixer and ZBrush first but most designers are more familiar with rendering programs like Maya or 3DS Max. I'm not familiar enough with architecture to suggest a list as only Revit and Sketchup come to mind.
Looking more closely, CAD Exporter is only for 2D curves and points, how silly, and it requires baked geometry in a Rhino layer:
I could write a Python script to export an STL but that would be a large ascii format file instead of binary. Better to use OBJ to retain quad faces, too.
Ah, well, OBJ files are also ascii format when exported from Rhino, so it would be quite easy to make a script to export those directly to disk from Grasshopper. Here is one box, 10X10X20 in size, with quad faces:
# Rhino
o object_1v 10 10 20v 10 10 0v 10 0 20v 10 0 0v 0 10 20v 0 10 0v 0 0 20v 0 0 0f 5 7 3 1f 5 6 8 7f 3 7 8 4f 2 4 8 6f 5 1 2 6f 3 4 2 1
If I have time I'll make a little script to write such OBJ files unless you can find a native Grasshopper plugin for direct OBJ export in full 3D for meshes.…
perations) my branches don't seem to be in the same order, that means that i would need to loft {0} with {1}, {1} with {2},...{8} with {0}!is there a way how i can reorder the branches in a way that i can finally loft as i described in the beginning:
{0} with {0}
{1] with {1}
...
{9] with {9}
thanks in advance!…
rve
10 curve
11 curve
12 curve
13 curve
...and I'd like to rearrange the order in which the curve are listed, to something like this:
{0,0,0}
0 curve
1 curve
8 curve
9 curve
10 curve
11 curve
2 curve
3 curve
4 curve
5 curve
12 curve
13 curve
6 curve
7 curve
I hope this makes sense.
Thank in advance for any advice,
John…