te value.
So abs(a-b) finds how much (always positive) each cell's area differs from its target area.
I then took the negative of that (-abs(a-b)) because Galapagos always tries to maximize the Fitness, and used Mass Addition so it minimizes the total difference from ideal areas.
I was first assuming that you were trying to tackle Kelvin's problem with Galapagos - and wondering if it would end up with the Weaire-Phelan structure. I think this would be a very interesting one to try (especially as it is not proven that W-P is optimal, so there is a chance it might find something better!), but a little tricky to set up. You'd need to simultaneously ensure equal volumes and minimize total surface area, and for all of space, not just some finite volume. If you do pursue this, then Ruggero Gabbrielli would probably be a good person to talk to.
But from the image you posted it looks like the regular Weaire-Phelan packing, just with some cells removed. I don't really see how a genetic algorithm would be very useful in this particular case.…
Added by Daniel Piker at 6:13am on September 4, 2010
at) as regards a consistent origin and direction policy.
In the mean time :
1. Appears that the GH Loft messes things somehow with respect the curve's coordinate (planes) system "per Loft pair" . Explain this:
I mean that some pairs of profiles are "almost" OK whilst others are in a terrible mess (spot the gray thing) . Given the fact that the coordinate system deployment is highly problematic as well (notify if you want proof/test cases) I believe that the whole problem has 2 separate fault "categories".
2. Appears that the adjust seam ... er ... alters the direction (remove the flip stuff and test it).
3. Sweep1/2 are equally problematic - next forth coming case: 123,45 Sweep1/2 examples.…
low for a degree of variation that my previous option was not allowing. There are two problems with this however.
1. i need to restrict the minimum and maximum distance of the curves at 30<100 mm respectively.
2. i also need to repeat the cycle of waves, so i dont think that splitting the curves at the cycle change and doing this method.would be useful because this would cause overlaps right?
3. most annoying constraint that I have is that the length of the elements cannot exceed 1500. :(
so basically there is limited room to play in the extent of the wave but, there is scope in repetition.
thanks for all your help so far man! once this is done I would like to make my definition as neat and communicative as yours and share it with everyone!
…
ram.com/Helicoid.html.
To be more precise, I'm not quite clear how to apply this equation to the helicoid and integrate it into my code:
where corresponds to a helicoid and to a catenoid.
I've made some attempts not worth to be shown here. Maybe somebody can help me with a pseudocode or a simple description how to start solving this classic geometric transformation.
Thanks, Sebastian
…
Added by Sebastian at 11:19am on December 27, 2012
ral .png). When I want to export a Hi-Res Image; Grasshopper takes all the file (nor smaller parts of the GH definition) and the file is 110.000 x 50.000 pixels large (I think it is really big)...but I do not want to be that large, maybe 5 metres large could be nice to see the definition!!
I’ve tried to erase some branches but it makes an error in the following block that it is attached.
That is why I wonder if it is possible to export (and HOW) the entire GH definition in smaller .png images and then join them in photoshop.
Thanks you very much!!!
PS: for instance; I've uploaded the file to megaupload because it is 100 mb weight. If you are interested, you can download it and see how much is the file large!!
>>>>>> http://www.megaupload.com/?d=ZPLKJO5W
thanks a lot!!!
…
only thing I don't understand comletely yet is your answer regarding the absorption-coefficient. I do understand the part about why the absorption designer is the right choice and whether or not the surface-structure would matter, but I am still struggling with the impact of the distances beetween each individual hole to the next hole.
I think I had phrased my question a little bit ambigious in the last post. Actually, the whole plate is perforated, but I am talking about the "frequency" of holes along the plate. By that I mean a 1m² plate could have 1000 or 100 or only 5 holes. I know for example that 1.4 percent of the plate are holes and the rest is massive. With which setting could I compensate for this frequency of holes? Or is there a fundamental flaw in my thought process?
I would love to send you the model and hear your opinion about it, but would prefer to keep that private, since it is not my own creation and I am just testing around with it. Can you accept my friend request here, so I can send you a private message?
Thank you in advance!
…
ved.
I can do what you suggest here intersecting spheres within a box but i am still stumped in getting the spheres to non intersect (deform as the balloons do). I am not sure how the attractor thing works exactly. I've had a look at kangaroo but its complicated. also thought of rabbit. also thinking the way metaballs interact is interesting but it would be a reverse of that where they don't stick together they repell eachother. just not sure how to use them.
I was trying to work out if the spheresurfaces could be divided into points and then interact them. If the closest point on one sphere to another sphere would stick to the other... so it would create a plane along the tangent of the intersection, but i think that would create something similar to the above boolean intersection. could the sphere form deform like that?... not sure about that.
another way maybe along the lines of your suggestion ... i instead of using the spheres use boxes that get morphed using twistedbox and those boxes get morphed by the voronoi planes. so that the spheres will then be referenced back into the boxes using box morph. do you know if there is a way to use a brep(the voronoi forms that are produced from your solution) as the box for twistedbox (eg. a more than 6 sided(cube) form)? just not sure how to do this.
any further suggestions are much appreciated…
Added by daniel koene at 4:10pm on October 25, 2011
思った感じになりません。
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をしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
ou have 2 logical cores OFC ;)). Feel free to extend it to any amount of threads, the strategy should be very similar.
In this script, every of the 2 (potentially more) point clouds gets a separate list of instructions - those are classes as well, and I'm not sure how would they react to be called from 2 separate threads. After creating a list of instructions, we run the Parallel.For loop which takes care of all the multithreading mess for us. Select Case is probably not the nicest way of deciding on which list to take in, but it is good in showing visually what is going on in there.
Note that this code wasn't tested properly, I did run it only with those 2 simple point clouds. Double save everything whenever multithreading...
'create 2 lists of instructions, one for each threadDim inList1 As New list(Of Volvox_Instr.Instr_Base)Dim inList2 As New list(Of Volvox_Instr.Instr_Base)
'create and add the instructions to the listsinList1.add(New volvox.Instr_planeclip(plane.WorldXY))inList2.add(New volvox.Instr_planeclip(plane.WorldXY))inList1.add(New Volvox.Instr_RandomSub(0.5, 123))inList2.add(New Volvox.Instr_RandomSub(0.5, 234))
'create 2 rhino pointcloudsDim pc1 As New pointcloudDim pc2 As New PointCloud
'populate them with some pointsFor i As Integer = -100 To 100 Step 1 pc1.Add(New point3d(10, 0, i)) pc2.Add(New point3d(0, 0, i))Next
'a good coding practiceDim pccount As Integer = 2
'a classic parallel for loop, note the upper bound is exclusiveSystem.Threading.Tasks.Parallel.For(0, pccount, Sub(index As Integer)Select Case indexCase 0 For i As Integer = 0 To inList1.count - 1 Step 1 inList1(i).execute(pc1) NextCase 1 For i As Integer = 0 To inList2.count - 1 Step 1 inList2(i).execute(pc2) NextEnd SelectEnd Sub)
'get the clouds out with the GH_Cloud class,'so that Grasshopper understands it as geometry objecta = New GH_cloud(pc1)b = New GH_Cloud(pc2)
…