need create a simple surface with 4 points and add other by edit>control point> insert point> Direction U or V and you finally will have a simple surface. I do not yet in grasshopper if exist a function for this simple task.…
r example:
{1} {6} Is this possible to do with Replace Branches?
{2} {5}
{3} => {3}
{4} {4}
{5} {5}
{6} {6}
If it were two lists, then it's very easy with List Replace, but kill me, I can't get what's the logic in Replace Branches...
Please help!
…
Added by Artyom Maxim at 10:05am on January 29, 2013
per components.
I have attached a 3dm file and a picture so you guys can see what I am talking about.
I have previously translated boxes into breps, which i did with this code:
Dim bbx As New box(pl, New interval(-.5, .5), New interval(-.5, .5), New interval(-.5, .5)) Dim ms As New Mesh() ms.Vertices.AddVertices(bbx.GetCorners) ms.Faces.AddFace(0, 1, 2, 3) ms.Faces.AddFace(0, 1, 5, 4) ms.Faces.AddFace(1, 2, 6, 5) ms.Faces.AddFace(2, 3, 7, 6) ms.Faces.AddFace(3, 0, 4, 7) ms.faces.addface(4, 5, 6, 7) ms.Normals.ComputeNormals()
ms.Compact()
I have tried to do something similar with this specific example, and I now that meshes only consist of quads or triangles, so i broke down the geometry into quads without any succes.
Looking foreward to any suggestions.
- Jens…
im myTree As New DataTree (Of plane) Dim i As Int32
For i = 0 To 4 Dim path As New GH_Path(i) myTree.Add(x, path) Next
A = myTree
Any help would be appreciated
Regards…
Like you've done. Use List Item and input an integer which represents the curve you want to select. Your slider will need to be able to handle integers 0, 1, 2, 3, 4, and 5 since you have 6 curves.
1) Tween base curves
2)Find mid point of each Voronoi curve
3) Create a plane on the points
4)Orient it to the tweened curve
5) Offset curve using those planes
Added by Jack Young at 3:56am on November 28, 2016
... etc...
I need 36 paths and so I tried the following mapping:
{A}(i) -> {i/(144/35)}
that works in that I get my 36 paths but again the number of elements in each path is not constant.
I need 4 elements in each.
Any clues?
thanks,
wim
…