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…
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...…
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.…
Curve
6 Poly Curve
7 Poly Curve ... etc
I need to loft half of them as a pattern like 2 by 2... ex:
0 with 1 ---> loft
1 with 2 ---> no loft
2 with 3 ---> loft
3 with 4 ---> loft
4 w.... etc.
In my case (as you can see in the screenshot) i've two list in whic i've to apply this process.
I can't use list items because the numbers of items may change, and if i get a grafted list of items i can't loft the curves, but if i get the flattened pattern of data the loft component loft everything without considering the sequence.
I guess i've been clear to explain my data structure problem!
Pls! I'm waiting for some help!!! Thx a lot in advance,
Marco …
Added by Marco Caprani at 9:20am on February 12, 2012
d of individual components I use a group of 4' x 4'. The issue is that then the CULL only effects the entire group, not each individual block of 4' x 1' x 7". Sorry I am such a beginner, but really really appreciate the help! …
lections import defaultdict
example_list = [[1,2,4], [1,2,3], [3,4,3], [1,2,3], [5,7,1], [3,4,3], [5,7,1], [1,2,4], [9,4,9], [9,3,9], [9,4,9]]
d = defaultdict(list)
for item in example_list: d[tuple(item)].append(item)
groupedlist = sorted(d[x] for x in d)
print groupedlist
# Returns [[[1, 2, 3], [1, 2, 3]], [[1, 2, 4], [1, 2, 4]], [[3, 4, 3], [3, 4, 3]], [[5, 7, 1], [5, 7, 1]], [[9, 3, 9]], [[9, 4, 9], [9, 4, 9]]]
____________________________________________________
However working with python inside GH the code fails as (I'm assuming the id is included in the list ie.
[<Rhino.Geometry.Point3d object at 0x0000000000000BD0 [1611664.12669822,2952929.94466619,5788.70761766478]>]
If I print my object[0] i get just the vector, i.e [1611664.12669822,2952929.94466619,5788.70761766478]
However if i append my object, (for i in xrange (len(X)... list.append(my object[x])
The id included!?
[<Rhino.Geometry.Point3d object at 0x0000000000000BD0 [1611664.12669822,2952929.94466619,5788.70761766478]>]
Perhaps I'm over complicating this and should just use GH to group objects with the same position...
Also sometimes when getting vectors I receive long numbers such as.. 9.0122222900391e(10), and another times I don't.... Same file, script, geometry etc..
I'm quite a noobie in python for GH so any help or pointers are welcome...
Thank you in advance!
…
nd this is the error text:
0. Current document units is in Meters1. Conversion to Meters will be applied = 1.0002. [1 of 8] Writing simulation parameters...3. [2 of 8] No context surfaces...4. [3 of 8] Writing geometry...5. [4 of 8] Writing Electric Load Center - Generator specifications ...6. [5 of 8] Writing materials and constructions...7. [6 of 8] Writing schedules...8. [7 of 8] Writing loads and ideal air system...9. [8 of 8] Writing outputs...10. ...... idf file is successfully written to : C:\Users\Pier\Desktop\Dottorato\Energy_plus_file\cell room\EnergyPlus\cell room.idf11. 12. Analysis is running!...13. C:\Users\Pier\Desktop\Dottorato\Energy_plus_file\cell room\EnergyPlus\eplusout.csv14. ......
Done! Read below for errors and warnings:
15.
Thanks in advance to all for your help me
Francesco…
Hi! I was checking the files but for some reason (that I've no idea) can't see the whole definition, there's only a curve and pipe components. Do u know why?
[Rhino 4 GH 7]