se (SR 12). If I remember correctly, every service release after SR 6 should have this bug in Rhino fixed.
Apoorv,
It looks like this is something that other people have been interested in as well:
http://superuser.com/questions/140047/how-to-run-a-batch-file-without-launching-a-command-window
It looks like you could probably edit this function in the "run simulation" component to hide the command window:
I don't think this is something that we would implement as a default since I imagine that most people enjoy having a status report on simulations as they run but, if you (or anyone else) edits the code to implement the hiding of the command window as an option, we should definitely integrate it into the current components.
Yay for breaking box.com!
-Chris…
march june sep and dec.
my project is to determine the optimum opening size on each elevation separately (north, south, east and west) that can provide best daylight around the year.
what i did as following: modeled a parametric opening window with number sliders to control the window size on each elevation, and each window has 5 to 9 different dimensions ( Sizes in terms of H and W), then i want to run a simulation for each elevation to define the best window size that can provide maximum value of 500 lux average as an office space by examining the opening size against lux value each hour of the day from 8:00am to 6:00pm using galapagos. but the problem is when i used galapagos to run the simulation i couldn't find a way to get average window size of the 10 hours but instead i have to run the simulation each hour of the day which will result in 10 different windows instead of having a single window size that can provide me a decent daylight value during the whole day.
i don't know if there is anyway around ?…
entrance:
center : center point (not very useful)radius : radius of first sphere (not very useful)alpha : size of the hole is_sphere : if true sort of sphere, instead a cuberecursion : number of recursions (Beware of of recursion bigger than 5 (280 000 vertices)coeff_radius : scale of radius for each recursioncoeff_with : with scale between shaphesstretch : coefficient of stretch of holes connections
It outputs quadrangle mesh. I also use Catmull-Clark sudivision.
The script first generates a cube ou sphere with 6 holes and after 6 new meshs connected by mesh connectors and so on ... so more than 1 million vertices for 6 subdivisions.
…
work. As payload it uses protocol buffers which is optimised for transport and storage, and is Google's lingua franca for data. It would be great to use it for extensibility in grasshopper.
As gRPC supports both C# and Python I didn't think it would take many lines of code, but I have so far failed to put it together. Could anyone please describe to me best practice is in such case, and/or want to collaborate on the project? I can picture an open repo on gitHub or similar.
My main qustions are:
Should I use C# or Python?
Can I use Visual Studio 2017? All the VS 2015 installers have failed on my computer.
Do I have to use Visual Studio, or can I get away with the built-in editor? What are the main limitations using one over the other?
Can I build Rhino5 GH components in VS2017? I have built a Rhino 6 GH component from the McNeel template, but it did not work when opened in Rhino 5 GH (currently only R6 templates are available for VS2017).
Can Rhino 5's old ironPython deal with the newer gRPC package?
What's the best way to do rapid iterations and version controll building GH comps?
TL;DR: I want to build a very simple gRPC.io client GH component, and appreciate all help I can get.
Many thanks, Martin…
rred" with settings of 4" and a setting of 6".
i need this geometry to input into a GH script that we have been working upon for a very long time.
i believe david wrote this script though i realize this is not the best place for this but i am not finding help on this elsewhere and am in a bit of a bind.
is it possible that there is anyone out there that can run both of these files two times each and (perhaps) also explain what i am doing wrong?
i have run this before with no problems (and great results) and need to get the files in order to render something for a submission.
i am getting a "type mismatch error array required".
please feel free to contact me directly or to otherwise ask anything on this and apologies for the somewhat off-topic post. anyway, i've always found the folks that use david's tools to be especially generous and i am obviously keeping my fingers crossed.
feel free to ask for something in barter/trade or simply IOU.
THANKS…
BS EN 1993-1-1:2005), which have matched perfectly for the shear force utilization, but which are slightly (~10%) off for bending moment utilization. I have tried multiple Class 1 and 3 cross sections, using the plastic and elastic section modulus respectively as outlined in section 6.2.5, but my result for bending moment utilization is always slightly off. It always lies somewhere between the result predicted by the elastic section modulus (pi*(R^4-r^4)/(4R)) and the plastic section modulus ((D^3-d^3)/6), which has made me wonder if Karamba is using some combination of the two in calculating utilization. I have also checked if using the reduced yield strength considered in 6.2.8 (Bending and Shear) helps, but this does not match the Karamba output either.
The Grasshopper file I am basing my calculations on is attached. Thanks in advance for any insight you can give!
Best,
Tess
…
lan to add some more documentation about the units.
There are actually 2 different types of triangular 2d elements I've been working on, and I decided to hold them back from this release to avoid confusion until I have them both working correctly.
One is for simulating soap-film like behaviour, and tries to reduce its area to zero, to give true minimal surfaces. However, I realized that the cotan weighting option I've already added to the Laplacian smoothing component is exactly equivalent, so perhaps one doesn't really need both.
The other is a constant strain triangle, which (unlike the soap-film element) also allows simulation of shear resistance and non-zero rest area. Still working on this one - will post any new developments here.
However, since you talk about "near zero stretch", I suspect neither of these elements really matter in this case, as I get the impression (and correct me if I misunderstand) that you are mainly interested in the interaction between pressure and the concrete load, and the exact amount of stretching is not important as long as it is very small.
Because of the nature of the relaxation process, things will always stretch some amount, as they do in reality. To make the stretch of some elements small, the stiffness of those elements should be high relative to the other forces in the simulation, and this may necessitate using some high (fictitious) mass values to avoid numerical instability.
Finally, this release also contains the GasVolume component, which I think might be an easier to use alternative here. It is similar to the Pressure force, except also taking into account the volume of the gas (following Boyle's law).
…
c etc.
2. IF you can find a BPA (Ball Pivot algo) you can by-pass the quite tricky reverse engineering coplanar clustering task. Good news: if memory serves well there's a BPA "add-on" component available for GH. Bad news: don't ask me where (I can't remember a thing or two).
PS: using Morph Methods you can severely "distort" the points List and get more intriguing topologies.
Internal BPA in action:
In order to get a "similar" with your picks result you'll need " A LOT of random points (say "around" 5/6K), probably some random Z noise ... and a rather very fast BPA.
If Z noise is used ... well ... then things are challenging: create a Truss like graph where tetrahedron type of rigidity is achieved: every quad set of neighbor points is connected with 6 lines.
best.…
name: index (line :0)"I'm trying to evaluate list items against each other in the script. Here's the code. Private
Sub RunScript(ByVal listA As List(Of Double), ByVal listB As List(Of
Double), ByVal minDist As System.Object, ByVal bracketDistMin As
System.Object, ByVal bracketDistMax As System.Object, ByRef distFix As
Object) Dim masterList As New List(Of Double) Dim i As Integer For i = 0 To (listA.Count - 1) ' If Value is less than desired input, value is rounded up to minDist If (listA.Item(i) - listB.Item(i)) <= minDist Then masterList.Add(minDist) ' If list value is between a threshold above bracketDistMin and below bracketDistMax ' the value is rounded up or rounded down based on the mean between the two variables Else If (listA.Item(i) - listB.Item(i)) < bracketDistMax > bracketDistMin Then If (listA.item(i) - listB.Item(i)) < ((listA.Item(i) + listB.Item(i)) / 2) Then masterlist.Add(bracketDistMin) Else masterlist.Add(bracketDistMax) End If ' In all other cases, keep difference the same Else masterlist.Add(listA.Item(i) - listB.Item(i)) End If Next distFix = masterList End Sub If
there was a way to preform all these operations without VB, I would
love to know. I studied Java for about a year around 6 years ago, and I
don't have any experience in VB other than what I have been working on
today, so I would like some help!…
Added by arquiteuthis at 3:59am on September 6, 2010
input orientation of the objects. I can see that you've already done this with Vec2pt. Doing it with a sun vector is a little easier, because you are working with one vector, not a bunch of different vectors. you probably know a lot of this already, but I wanted to write a comment that is helpful to anyone coming across the discussion, because it is a common design task.
To orient a bunch objects towards a sun vector:
1. you need a vector to represent the sun's rays. You can either use an existing definition from the web (definitely look at Ted Ngai's amazing work on this), or just make a single adjustable vector as a stand in. I've often simply made a vector using azimuth and altitude angles as inputs, since those are common ways of describing the location of the sun, and makes it easy to look up a sun angle and put it in to your definition.
2. assuming you have some vector to represent the sun's rays, make a plane that is perpendicular to this vector. But Why, Precisely?, you're already familiar with some of the quirks of making a plane perpendicular to a vector, just keep those quirks in mind.
3. next, create reference planes for your panels. If your panels are flat (i.e. planar) this is really simple, just make a list of their planes, using whatever you like (check planarity, evaluate surface, whatever). If your panels are not planar, then you need to decide on a plane you can make from each one that you would like to use as a reference plane. plane from 3 points might be a good method here.
4.take your single plane that is perpendicular to your single sun vector, and place it at the origins of all of your reference planes. Now you have a sun-oriented plane for each panel.
5. Using the orient component, input your reference planes as the reference planes, and input your sun-oriented planes as the target planes, and input your panels as the geometry to transform. You should now have a bunch of panels oriented to the sun vector.
6. In this method, I've assumed that you want your panels perpendicular to a solar vector, to face the vector, but if you want a different relationship to the sun vector, you just need to change the relationship of that single first sun-oriented plane to whatever relationship you would like to make.
One thing to think of when designing for sun angles is just that at any given point in time, for any given point on the earth's surface, the rays of the sun are basically parallel. the angle of these rays changes over time, but at any other time, the rays are still parallel to each other, and can therefore be described by a single vector for each moment in time.…