, organized in 26 branches of "i" elements
If i make a Brep/curve intersection, i have a data with 35568 branches with 0 or 1 elements.
The idea is make groups from intersections by plane and masts to make the 8 points polyline (masts rings). Any suggestion?
Thank you all!!
…
Added by Juan Carpio at 6:30am on January 21, 2013
ing for.
Do note that you switched SDKs and programming languages at the same time. I'm not at all certain some of the loops have been translated from VB to C# correctly.
Another thing to watch out for is the different division behaviour in VB and C#:
Dim A As Int32 = 50
Dim B As Int32 = 8
Print("A/B = {0}", A / B)
will yield "A/B = 6.25", whereas:
int A = 50;
int B = 8;
Print("A/B = {0}", A / B);
will yield "A/B = 6"
In C#, when you divide two integers, the result will be an integer. In VB, the result is a double.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:25am on September 4, 2010
13;2} ... 20.{13;12}
21. {21;0}22. {21;1}23. {21;2} ... 41. {21;20}
42. {34;0}43. {34;1}44. {34;2} ... 75. {34;33}
76. {55;0}77. {55;1} ... ....
I want to grab the first 8 [0-7], the next 13[8-20], the next 21[21-42] etc
so i have the (known fibonacci seq) list of numbers on the left here:
C S
8 0
13 8
21 21
34 42
55 76
89 131
144 220
233 364
and i need the list on the right, so that i can select items using a Series (N=1 and S and C from the list above) and a List Item component.
the simple question is:
is there a component that can take a list and accumulate it in this way that I need?
if not, is there anyone that can point me to a simple relevant VB example so i could easily adapt it?
many thanks,
gotjosh…
Writing simulation parameters...3. [2 of 8] No context surfaces...4. [3 of 8] Writing geometry...5. unsupported operand type(s) for +: 'str' and 'list'6. Failed to write Pelle_aperture000 to idf file7. unsupported operand type(s) for +: 'str' and 'list'8. Failed to write Pelle_aperture001 to idf file9. unsupported operand type(s) for +: 'str' and 'list'10. Failed to write Pelle_aperture002 to idf file11. [4 of 8] Writing Electric Load Center - Generator specifications ...12. [5 of 8] Writing materials and constructions...13. [6 of 8] Writing schedules...14. [7 of 8] Writing loads and ideal air system...15. [8 of 8] Writing outputs...16. ...... idf file is successfully written to : C:\Users\Personal\Desktop\TESI\x001\THOR\EnergyPlus\THOR.idf17. 18. Set runEnergyPlus to True!
or this
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. Runtime error (MissingMemberException): 'hb_EPFenSurface' object has no attribute 'blindsMaterial'6. Traceback:line 1567, in main, "<string>"line 2134, in script
i think that i've same problem with my windows...any suggestion???
Thanks for all…