hes and each branch has 21 items.
so that there'll be 30 branches.
referring back to this discussion.
http://www.grasshopper3d.com/forum/topics/dividing-a-list-into-groups
the problem is
when i put this into a path mapper
first branch has 11 items
and the last branch has 10 items.
and make 31 branches rather than 30 branches
seems to me it's behaving oddly..
how can i make this list into
30 branches
21 items each?
…
"Node-Number"); pManager.Register_PointParam("Coordinate", "XYZ", "Node-Coordinate");}
protected override void SolveInstance(IGH_DataAccess DA) {List<Int64> num = new List<long>();
for (int i = 1; i < 11; i++) { num.Add(i);}
List<On3dPoint> Pnt = new List<On3dPoint>();
for (int i = 0; i < 10; i++) { On3dPoint point = new On3dPoint(i, i, i); Pnt.Add(point); }DA.SetDataList(0, num);
DA.SetDataList(1, Pnt);
}
I get the node numbers, but I can't get the coordinates...
(Rhino4/Net3,5/Rhino_DotNET and GH-V0.8.0066)
Thank you in advance.…
as follows.
We have a grid which consists of a collection of columns, where each column consists of a list of points. You said flattening is out of the question, so we need to cull items from each list individually.
Let's say our culling pattern is KDDDKDD (repeat as needed). K = Keep, D = Ditch. If a column contains 18 points, the pattern needs to be repeated until it is 18 items long. In this case:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
K D D D K D D K D D D K D D K D D D
We can now cull each column, but they will all be culled in the same way. By shifting the pattern one more index for each column, we can cycle the culling.
The fix incidentally is to Shift the pattern PRIOR to repeating it. Then it works as expected:
--
David Rutten
david@mcneel.com
Tirol, Austria…
Added by David Rutten at 2:49pm on October 2, 2013
right? When the dataTree is this simple its not really a problem, but when it grows and I want to be able to refer to a specific GH branch e.g. {11;320} and I need to read this specific branch in Python? How do I do this?
I know that there is the function tree.Path(x) this will give me the GH Path, but how do I figure out what x needs to be? I guess there must be a simple answer :).
Thanks Rasmus…
Added by Rasmus Holst at 1:24am on October 14, 2013
ización de estructuras, panelización de superficies, gestión y conexión con tablas de datos, automatización de dibujo, programación visual … Adjuntamos el temario del cuso. El contenido del curso ha sido revisado y ampliado, gracias a la experiencia de nuestros anteriores. Está orientado a profesionales y estudiantes de arquitectura y diseño en general.
Será impartido por dos Authorized Rhino Trainers en Madrid, en la calle Bailén. Tiene un formato intensivo de 18 horas; el horario es: viernes, de 17 a 21; sábado, de 10 a 14 y de 16 a 20; y domingo, de 11 a 14 y de 16 a 19. El número de asistentes está limitado a un máximo de 8 personas.…
Added by Miguel Vidal at 11:11am on December 17, 2009
am-10:45am Lecture/Classwork
Break 10:45am-11:00am
11:00am-12:30pm Lecture/Classwork
12:30pm-1:00pm Questions (optional participation)
Details: An outline of the class material is available HERE.
The class will be conducted in English using the GoToTraining software.
You will need Rhino 4.0 for Windows or the Rhino 5.0 for Windows beta installed. You will also need the latest build of Grasshopper. You may use the Rhino 4.0 for Windows evaluation version, however you will be limited to 25 saves. Using the Rhino for OSX WIP is not acceptable for this class.
NOTE: Pacific Time Zone!
Cost: 150.00 US$…
fting all the layers up by the same value ( 0 becomes 1, 10 becomes 11, etc) will fix this.
- You are connecting the last curve parameter of the first step to the first curve parameter of the second step. Instead, bake the first curve parameter, then assign the baked curves to the second curve parameter. That way you can later directly manipulate the scaled curves.
- Finally, you never scaled the topo to the model size, 12" x 12", so you are asking the Curve Division component to divide each curve that is thousands of feet long by segments that are a fraction of a foot. It's doing it, but that task would take so long that it appears to be 'crashing' from your perspective.
I tested these fixes and it runs fine, although I have noticed that you scaled model is running beyond the domain for Z-values. I believe it's a weakness of the example definition. The definition I posted makes use of a Remap Numbers component instead of using division/ratios. This should fix that problem. Thanks for posting!…
ed according to list C.
I tried replace members, but it consists of geometry, so it doesn't worked.
In list C I filtered all the indices that need to be replaced.
All items in {0;0} from C need to be replaced by List B {0;0}
All items in {0;1} from C need to be replaced by List B {0;1}
And so on...
In the end everything needs to be fed into a orient component.
G is the geometry behind list B
A is the new list (but I don't know how to create)
B is the list A of all 60 panels
To wrap up the question:
I need to have entry 1 from list B in a new list on position: 0 1 2 3 5 6 7 10 11 12 15 16 21
I need to have entry 2 from list B in the same new list on position: 4 8 9 13 14 etc. etc. etc.
I wonder how I can do this :) Thanks in advance!
…