y, I'm trying to create a definition that will allow me to move a series of planes different amounts in the x or y direction, based on there heights [z].So for example if the plane is 3' high or less it will move only 1' in the x and/or y directionif the plane is between 3'-5' then it will move 2' in the x and/or y directionif the plane is between 5'-10' it will move 3' in the x and/or y directionthoughts?…
in the desired order.
0 = 0
1 = 1
2 = 6
3 = 7
4 = 8
5 = 9
6 = 12
7 = 13
8 = 2
9 = 3
10 = 4
11 = 5
12 = 10
13 = 11
Where the first number is the index and the second number is the actual sorting key. Then you sort these keys while sorting your curves in parallel using the A input of the Sort component.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
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.…
How are you defining lowest X/Y and highest X/Y? For example, if I have three 2D Points:
{-5, 10}
{-3, 0}
{4, -10}
Which of them qualifies for the highest and which the lowest?
Added by David Stasiuk at 11:36am on February 13, 2016
on horizontally (let's say 2 or 3 inches) but has variable division vertically in a gradient from top to bottom. For example the bottom could have more divisions in thinking of it as 90% dense and then the top could have less divisions and be seen as only 10% dense. It would also be nice if possible to keep the divisions at semi normal lengths (1',2' 4',6' 8', 10'). Icing on the cake would also be figuring out how to add a 2" vertical and horizontal spacing to the array.
Hopefully this makes sense. I'm attaching a sketch my boss gave me explaining this idea and a quick illustration diagram of what the desired intent is.
Thanks in advance!…
Added by Alex Gormley at 7:48am on October 27, 2015
ant to find all paths where exactly two items are the same like in branch {1}. How can I solve this in VB? Is there an easy "search in list" class or do I have to iterate over all items by myself ??
Regards Alex…
are some definitions in the 'Spreadsheet' folder to get you started. The best thing to keep in mind is that each data tree branch will act as a row in the spreadsheet. So if you have a list of 10 items, you will get one row with 10 columns. If you have 3 branches with 10 elements in each, you will get three rows with 10 columns, etc...
Best,
Luis…