s and I want to use galapagos to optimize walking distance between the fixed spaces and rooms around them.
I have a few questions:
1. How can I assign a minimum distance of 35' between the fixed spaces and rooms around them?
2. How can I assign a minimum distance of 15' between rooms?
3. Now I just used one of the fixed space to optimize walking distance, how can I implement both of them in the model?
I really appreciate your help and support.
Best,
Adeleh
…
Added by adeleh nejati at 1:05pm on November 23, 2013
he installation folder, Drag & drop SYNTACTIC(green one) over your grasshopper canvas.3. Close your rhino and reopen it. 4. Type GrasshopperDeveloperSettings5. Tick the Memory load *.GHA assemblies using COFF byte arrays option6. Run grasshopper and enjoy plugin…
genetic algorithm requires a lot of iterative calculations, but the computing power needed for analyzing structural models is very huge, and it also takes much time. And modifying the structual model according to genetic algorithm was not so easy for real-scale complex structures.So, we've developed StrAuto, a parametric structural modeler and optimizer based on Rhino/Grasshopper. StrAuto can execute iterative structural analysis and optimization automatically, and the most powerful feature of it is that it can execute the analysis task (the most time consuming part of optimization) in multi-processed way on distributed systems in network.Now, in the movie you can see the galapagos G.A. optimizer in the left monitor (the main system) is running and many instances(15) of structural solver Sap2000 are running along with it. The middle monitor shows 5 worker systems that are running 3 instances of Sap2000 for each under the control of the main system.The number of sap instances can be extended as much as your SAP license permits.(one license can launch 3 instances of SAP)With StrAuto, structural G.A. optimization can be performed 10 ~ 30 times faster so that even very complex real scale structures can be optimized.If you are interested in StrAuto, you can see more athttp://tree8.chang-soft.co.kr/Sangsu Lee, changsoft I&I…
思った感じになりません。
balls の代わりにplanarカーブを直接入れてみましたがエラーが出ます。
ファンクションにしてみたところ、forループので作った数値が反映されていません。
ファンクションのインスタンス?を出力していないと思い上記のようにしましたがエラーが出てしまいます。
以上の事から自分の認識が正しいのかよくわからなくなりました・・・
python自体の深いところをわかっているわけではないので余計こんがらがりました。
そこで、for b in ballsはどのような条件または使い方であれば使えるのでしょうか?
そして、上記のように別のオブジェクトに対しての使い方はどのようにすればできるのでしょうか?
2:同じファンクション内のdist = rs.Distance(self.pos,b.pos)についてですが
この文章も for b in balls によってbはBallのインスタンスであると定義?されたためb.posがbの位置であると分かるのでしょうか?
pythonは定義しなくても動いてしまうのでどのような時に使えるのか文章見ただけではよくわかりません・・・
大変細かいことかもしれませんが、よりpythonをしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
he sunPath component works. For example if you want to simulate the hours from 8 to 16 it means you want 8 hours from 8 to 9, from 9 to 10,.... from 15 to 16 (8 hours duration period) so you get from the sunPath component (using default timeStep 1) the 9 sun position/vectors 8 9 10 11 12 13 14 15 16 (in the image the yellow suns). The things is that if you ask for a smaller timeStep for example 3 = 20 mins then the additional sun position (in the image the orange suns) are added also after the time limit of h16 so probably when you don't want/need. I understand that when you input a time period there is the ambiguity if the hours are the just 9 (the 9 inputs) or the 8 hours included between pairs of hours, but I would make in a way that it is possible to chose if the extra timeStep after the last hour are added or not. Thank you for your comments.
…
looking to achieve is to replace every 25 value in a list with 0, 40 with 1, 15 with 2 and 60 with 3. This is what I have so far:
listArray = x
searchList = y
writeList = z
for n, i in enumerate(listArray):
if i == searchList[0]:
listArray[n] = writeList[0]
elif i == searchList[1]:
listArray[n] = writeList[1]
elif i == searchList[2]:
listArray[n] = writeList[2]
elif i == searchList[3]:
listArray[n] = writeList[3]
a = listArray
Any help appreciated,
Cheers,
…
p;xg_source=msg_com_gr_forum
(Below the last post from that discussion).
***************************************
Hi Matthew, Thanks for such a swift response and sorry for the false alarm. After reinstalling Karamba the examples open without a problem.
I hoped that the examples will clarify something, unfortunately you do not use Beam Resultant Forces' output as a source of optimization criteria/objective there.
I am still having problem with the fact that Beam Resultant Forces component gives a list of zeros as a 1st output till it finishes calculation.
This is my case: 1. Karamba calculates normal forces in elements that are in the mast's traversal plane (mast sections, spreaders and wires (shrouds)). 2. Normal forces in forestays and backstays are calculated analytically elsewhere. 3. Having the normal forces in the wires, the algorithm selects the wires' diameters (having given the wires catalogue), calculates their weights and centers of gravity. 4. Objectives are: minimizing the mass and minimizing the VCG (vertical centre of gravity). They are convergent, but constraint (minimal sail area) is dealing with it. 5. The thing is that normal forces from Karamba and calculated analytically arrives at different times (Karamba need a bit more time). I tried to delay the other data (till Karamba finishes calculation) with Data Dam, Anemone's Time Buffer, Phyton/C#/VB components, but all of them caused that Octopus/Wallacei weren't working correctly.
Any idea comes to your mind how this problem might be solved?
Thanks, Mikołaj…
proven more complicated than i expected. First, I tried taking my contour curves, offsetting and scaling, then lofting... but the Loft component seems to want to use ALL the curves I give it. Is there a way to loft between two curves in a list, then between the next two curves, etc, without generating a loft using all input curves?
Secondly, I tried extrude-to point. this gets closer, but I want to limit the distance it extrudes... is there a way to say 'extrude *towards* this point, but stop at 3 meters....' for instance...
thanks…
a file with the issues i want to ask.
I'm defining a zone from a rhino model. I've built. rebuild and rebuild this model since at the end of the line all the time i was getting an open brep as the HB_zone definition. I'm still getting this (See 1 in the file). But the E+ simulation runs. Just for checking i imported the idf file. In this case the zone is Closed (Weird. See 2 in file).
After this simulation the IndoorViewFactor component is failing with either of those two warnings:
1. When the input to the distFromFloor input is a panel i get this (see 3 in file):
1. The distFromFloor_ is greater than the height of one or more of the zones.
I remember that there was a problem when the zone was not on the ground, but it was fixed. So i don't understand the warning.
2. When the same input is a slider i get this (see 4 in file):
1. One of your continuous closed air volumes has an overlapping edge that is causing it to not read as a solid. Bake the closedAirVolumes output and do a DupBorder command on the polysurface to see the buggy edge. Rhino's solid operations are buggy. Hopefully McNeel fix this one soon.
I cleaned the model from those overlapping edges, but still, is not working.
Any words of wisdom?
Thanks,
-A.…
script, it works fine, however if I copy the example in c# into a c# script, it doesn't recognize the methods. The help files outlines additional steps when coding in c#:
""1. Create a new Visual C# 2005 Console Application project.
2. Add a reference (COM) in the project to the Sap2000.exe.
3. Paste the following code inside function Main():
//dimension variables
Sap2000v15.SapObject mySapObject;
Sap2000.cSapModel mySapModel;
int ret;
int i;""
Is there a way to still script inside a grasshopper component in c# or should I switch to using VBA?…