ue;
....
This is easy because you know the variables are always there. With an array you'd have to keep testing for null to be sure not to cause a NullReferenceException.
2. Create an array of bools. Least amount of typing.
3. Create an enumeration with the Flags option set to store the state:
[Flags]
private enum OutputState
{
ShowNone = 0,
ShowTime = 1,
ShowTemp = 2,
ShowDewP = 4,
ShowWind = 8,
...
ShowAll = 127
}
private OutputState _state = OutputState.ShowAll;
4. There's other ways as well, but I'd pick one of these three.
--
David Rutten
david@mcneel.com…
Added by David Rutten at 10:00am on March 10, 2014
EC
1. Between hours 1:00 to 24:002. Current document units is in Meters3. Conversion to Meters will be applied = 1.0004. [1 of 7] Writing simulation parameters...5. [2 of 6] No context surfaces...6. [3 of 6] Writing geometry...7. [4 of 6] Writing materials and constructions...8. [5 of 7] Writing schedules...9. [6 of 7] Writing loads and ideal air system...10. [7 of 7] Writing outputs...11. ...... idf file is successfully written to : c:\ladybug\Freeformtower_IDF\EnergyPlus\Freeformtower_IDF.idf12. 13. Analysis is running!...14. ......
Done! Read below for errors and warnings:
15. 16. Program Version,EnergyPlus-Windows-64 8.1.0.009, YMD=2015.04.04 23:39,IDD_Version 8.1.0.00917. 18. ************* IDF Context for following error/warning message:19. 20. ************* Note -- lines truncated at 300 characters, if necessary...21. 22. ************* 577 Zone,23. 24. ************* Only last 1 lines before error line shown.....25. 26. ************* 578 Freeformbuilding27. 28. ** Warning ** IP: IDF line~578 Comma being inserted after:" Freeformbuilding" in Object=ZONE29. 30. ** Severe ** Out of range value Numeric Field#5 (Type), value=0.00000, range={>=1 and <=1}, in ZONE=FREEFORMBUILDING31. 32. ************* IDF Context for following error/warning message:33. 34. ************* Note -- lines truncated at 300 characters, if necessary...35. 36. ************* 586 BuildingSurface:Detailed,7341.
…
ed cubics. Only geometrical information i found was on the wikipedia page above.
Grid spacing with ribs of unit length is 1+(1.5*2^0.5) = 3.12 in xyz for the cantitruncated, with alternating grid points used for the different modules (that's why i only use odd numbers of grid points in the GH definition) and a second grid shifted in the three directions with half of the grid spacing.
Second system has the same grid spacing in x and y (not alternating though) and 3 as Z spacing.
The Cartesian coordinate system for the different solids:
Cantitruncated:
http://en.wikipedia.org/wiki/Truncated_cube (±ξ, ±1, ±1), (±1, ±ξ, ±1), (±1, ±1, ±ξ) where ξ = \sqrt2 - 1
http://en.wikipedia.org/wiki/Truncated_cuboctahedron (±1, ±(1+√2), ±(1+√8))
http://en.wikipedia.org/wiki/Truncated_tetrahedron permutations of (±1,±1,±3) with an even number of minus signs
Truncated:
http://en.wikipedia.org/wiki/Cuboctahedron (±1,±1,0) (±1,0,±1) (0,±1,±1)
http://en.wikipedia.org/wiki/Truncated_octahedron All permutations of (0, ±1, ±2)
http://en.wikipedia.org/wiki/Truncated_tetrahedron see above
cheers,
pitrak…
nts (where 2 are null). Why is it so that there is only this list of points output?
The problem is that I generate only one polyline of the X division wanted!
How can I fix that?
Thanks for your help...
Sam…
acting as the height "guideline"? (section in Z so to speak). If so has any meaning using sliced portions of spheres and then attempting to bridge them? (I mean: is any reason for an exact arc [per shell] as a footprint?).
2. By grid shell you mean that you want to create a truss "following" the resulting brep? [polysurface if we bridge the 2 cells]. What type? (MERO: meaning struts/balls, FLAT: meaning a geodesic collection of struts/connectors or ABSTRACT: some kind of "liquid" thingy with/without W "thickness"?).
3. Is this a building roof/canopy/hangar/whatever of some sort?
4. Is this academic?
5. By "not that advanced in C#" you mean that you have some serious plans to learn the language (path to hell that one, he he) or you are just curious about?
6. If in the forthcoming V2 some stuff is performed via C# (meaning terra firma for you - at least at present time) could be that a critical issue?
7. Do you have GH TSplines 4 (Beta) installed? Are you familiar with that thing? (and the numerous bugs as well).
8. If Kangaroo could called on duty (Plan Z) for the upwards "morphing" job (starting from a "flat" mesh approximating an uneven figure of 8 ... etc etc) could be that an issue?…
--> A
1 --> B
2 --> C
3 --> A
4 --> B
5 --> C
6 --> A
7 --> B
8 --> C
I think it would be great to include the Trim(Start/End) of List A options as well as the Repeat (Start/End) of List B.…
7 -18.2
8 5.02
9 12.4
10 18.1
11 7.01
12 5.11
13 2.35
this data is waveform data.
i want to pick out only climax(for example in upper data, number 1 and 10) from this data.
i have this problem...that is, i do not know to do what.
i think my English is strange...so you are difficult to understanding my question.…