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
with beam element structures, even with really complex structures) but with II order I'm not there yet.
In the meanwhile, as I've been playing with strain, (as a prestress) I think found some problem with RSTAB STP(DStV) conversion module (might be that I'm doing something wrong). As I define strain load -3 (mm/m) and convert it to RSTAB 8 it gets converted as a temperature, but with positive sign (+)! Shouldn't it be negative ? (-). It might be something wrong with the definition in RSTAB as well. Can you give me some feedback on this "problem"?
With the deformations (global max) I'm about 100mm off (KARAMBA = 390mm, RFEM/RSTAB = 490mm). Can you maybe give me some hints on my definition? There are "cable-like-members" defined in karamba in the roof structure, which are ment to be prestressed. (Please, find attached file)
Thank you very much again.
With kind regards,
Daniel
…
es. what i want to do is create a loft between the lines at the common indice between each element. so if the original tree looks like this
{0}
0 line
1 line
2 line
{1}
0 line
1 line
2 line
.... and so on
all the "0 line(s)" would loft together, as would the "1 line(s)" to each other... and so on.
i need a way to do this dynamically in the case that the list length goes from 3 indicies to, say, 8 indicies...
any ideas?
M
…
to combine. There are several hundred pieces, but each is on its own branch so it isn't such a crazy boolean task. I am finding that they all work perfectly except for 8 pieces which return 'boolean union set is empty' error. When I bake these into rhino the pieces have perfectly aligned co-planar faces who's vertices are perfectly matched, but they will still not boolean even in rhino (unless I bump tolerance to 100mm!). An odd thing is that if I move one of the pieces away, and then move it back to its original position, then it booleans fine.
Does any one have any ideas about why these few pieces are not working? Its kind of odd seeing as the other 390 work fine! I've uploaded a baked piece which won't union in my rhino. Unfortunately the whole model is vast so can't upload the whole lot.
Many thanks in advance!
Jack…
no file and without any data.
I can manage hundreds of lines (input data), but over 3 or 4 thousands it get stuck.
I realised that the RAM use reach the maximum (8 Gb in my case) and CPU doesn't work (1% for Rhino process).
Is it possible to control the RAM use in order to arrive at 75% of RAM, in order to keep CPU working?
Needless to say, that I have to optimise my definition!
Thank you
…
.csv (or similar format) file? Similarly, is it possible to get all node displacements sorted out in such a file?
2.When it comes to gravity. does a vector (0,0,-1) represent g value of 9,81m/s^2 ? Is there a way to change the g magnitude as it fluctuates between 9,78 to 9,83?
3. Wind load case orientation, "Global"?
4.Snow load case orientation, "Global projection"?
5. Since I want to test an Ultimate Limit State load case (1,35*Gravity+1,5*Snow+1,5*Wind), how do I multiple the vectors with the safety factors?
Thank you in advance,
I would appreciate any kind of help, just to be sure that I dont get any garbage results
Jm…
Added by jnm to Karamba3D at 7:22pm on February 15, 2015
s to be optimized for cooling loads and daylight factor.
The genes are the following:
1. Two sliders controlling the division of the facade (one for the horizontal one for the vertical).
2. Two sliders controlling the height of the louvers (from the lower left-hand corner to the top right corner)
3. 8 sliders controlling the selection of glazing panels.
The optimisation criteria I am using are:
1. The average daylight factor should be maximized. I am using the formula: if(x<y,1,0), with y=2
2. The total cooling loads should be minimized. I am using the formula: if (x>(or equal to) y, 1,0) with y = 900.
I don't know if my explanation is clear, any help is appreciated.
Thank you in advance.
All the best,
Luisa…
t, but I want to offset them in a series of six values (lets say 8,4,0,4,8,12 to keep it simple). Essentially I want to create a "domain" that goes from 8 to 12 but by going negative down to 0 first before bouncing back up. I don't think I can use the construct domain component to achieve this and I don't know how to do it.
Thanks in advance!
Ben
EDIT: I know I can easily accomplish this by plugging a multiline panel with the given values into the D input of Offset Surface, but I would like to be able to do it computationally so that if I change an input to 3, for example, it would adjust the series of numbers to be 6,3,0,3,6,9 or if I used 2, the adjustment would be 4,2,0,2,4,6. It doesn't have to be exactly this pattern but I am looking for a "bulge" in my offset surfaces with a 0 value in the middle.
…
via UDP/Firefly.
It can handle up to 64 reflections and sends to Spat-5 the levels for direct, early and late sound, reverberation time values in 3 frequency ranges (adjustable), and azimuth, elevation, delay and intensity in 8 frequency bands for every reflection. In Max, sound is processed in 3rd order ambisonic and binaural. Connect your lab or your headphone to it, (picture of the RISD Audio Lab where I use it with my students).
Arthur gracefully made a new version of his image source component for this to output reflection intensity values. You will need to ask him to release that version. You will also need the newest version of Spat-5 and Max-8.
There are a few built-in clipping protections in GH, but please use at your own risk. It can get weird sometime if your geometry does not see any reflection.
Happy auralizing.
Alban Bassuet
…
ay be other issues with your geometry, but this is usually the issue people run into.)
Rays will lose energy much more slowly when a room is very reflective, but such conditions only really exist with polished painted concrete. I don't know how many such rooms you've ever been in. I can count them on one hand - and I've been to acoustic reverberation chambers on 3 continents.
Pachyderm works with a ray decimation algorithm. This means that a ray will be traced out to the cutoff time, unless it has lost enough energy that its further contribution to the impulse response is negligible. At this time, the ray is discontinued. So, the more absorption in the room, the less time it will take to run the simulation. So, more realistic absorption coefficients will allow a model to run in a more reasonable amount of time.
Gypsum board/Plasterboard will typically be between 8 and 11 percent at mid and high frequencies, and higher at low frequencies, for example. Concrete, unless polished and painted, is still a little porous, so you can probably make it 3 to 5 percent.
Regarding sources and receivers, adding more receivers adds almost nothing to calculation time (until the every end, when it extrapolates a pressure response, anyway). This is because the receivers are entered into a spatial partition system, which allows it to be done in an optimized way. Adding multiple sources will effectively multiply the calculation time by the number of sources, because the simulation needs to be repeated for each source individually.
Hopefully this helps you figure out how to run simulations with reasonable run times.
Arthur…