w list should contain a smallest value of the values with the same index. I should keep order of the indexes.
For example, item [21] of the 1st branch = 1, item [21] of the 2nd branch = 2, so item [21] in the resulting list = 1.
Any advise?…
Tree:
{0;0;0} N = 2
{0;0;1} N = 1
{0;0;2} N = 3
{0;1;0} N = 5
{0;1;1} N = 8
{0;1;2} N = 10
If we apply the aforementioned mapping to this tree, we'll end up with the following result:
{0;0} N = 6
{0;1} N = 23
Basically {0;0;0}, {0;0;1} and {0;0;2} are combined into a single path {0;0} as we disregard the third index because "C" is no longer present in the target mapping.
Because we only use the Mapper to modify paths, we do not lose any data items, though we might lose some of the paths.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 1:03pm on August 25, 2010
lot (10 minutes), but you get all the data you need. I had a 72-point grid, so I had 72*8760 numbers. It's up to you manage the database you create: if you have a n-point grid the record you create is:
hour 1 - point 1
hour 1 - point 2
hour 1 - point 3
..
..
hour 1 - point n
hour 2 - point 1
hour 2 - point 2
hour 2 - point 3
...
...
...
...
...
hour 8760 - point n
than you can manage all your record as you want. I used it to find the trend during the year to calculate with genetic algorithm the electrical light requirement and see if it matched to Daysim. But actually, you can do whatever you want.
Good luck,
Claudio…
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.…
s than 40% on average.2. 8gb usage is steady at 28% 3. I've been now looking at 2 blank white screen, in both Rhino and Grasshopper for well over 20 min. finally I went for a walk at 10:25am, (its a beautiful day why waste it looking at nonexistent calculations, It would help if there was a timing function in the code that would let me know how long the calculations were going to take, came back 11:25am still no results. Had to Quit Rhino in the Start manager.
I have used all sorts of window programs for well over 25 years. Rhino and Grasshopper are the only 2 programs that I have ever seen that show totally white screens in their operating windows :(
…
x and min values for x,y,z and calculate energy for each optionand collect these results in excel sheet ...
option No. x y z Annual coiling demand(by DIva)
1 10 10 10
2 10 15 20
3 11 10 19
4 12 14 17
5 15 16 15
6 16 11 14
7 18 12 12
.
.
etc
Regards ...
hossam
Hossam.wefki@gmail.com…
o connect the 'Line' for ClampLength and how it relating to Lower- and UpperLimitation.
they have differently lower and upper limitation configuration between red/blue (L:10; U: 10000000) and yellow/green(L:3; H:19)...are those parameter meaning something..?
It would be nice if you could explain about that ;-)
Otherwise, awesome example!
…
Added by Jon to Kangaroo at 3:27am on May 23, 2016
ion no es exacto, se va a aproximar.
ej1: 30 elementos / 9 sublistas = 3,33 elementos por lista, se va aproximar a 3 y te van a dar 10 sublistas.
ej2: en el caso de 30 elementos / 8 sublistas = 3,75 elementos por lista, se va a aproximar a 4 y te van a dar 8 sublistas, pero la ultima va a tener 2 elementos.
Parece que hay formas en grasshopper de elejir hacia adonde aproximar, pero la unica que me acuerdo (y no tanto) es convertir el valor con decimales en string y luego extraer hasta la coma o algo asi.. (ahi quedaría aproximado hacia abajo y si se quiere hacia arriba se le suma 1).
saludos y suerte en el proyecto.…