of radius of 3, 6, 12 and 18 to randomly populate the grid.
Where each circle has a proximity distance of its own and if any circles overlap / pass in that distance they are Culled (removed).
The Proximity distances of the circles are:
3 = 6
6 = 12
12 = 18
18 = 36
I want to Randomly populate the grid with the circles so that the rules are kept.
I really cant think how to go about this further from what I have done so far.
Any help is appreciated and if you need more info please ask.
NOTE
[This relates to my university project where the distances are Meters on a grid, and the circles are the columns radius. I've added a quick sketch to try and explain the principle of what I am trying to do]…
should be placed in the order of 120, 120, 120, 112, ...., 20 in merged cells, but it's placing the data not matching the original input. I hope someone could help me. Thank you!
…
思った感じになりません。
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をしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
ouse in Vienna, Austria.
There is still a lot of work to do, but here is a first glimpse. Will post more information this weekend.
Next steps (1 week) :
1. driving the adaptive facade with a dry bulb.
2. measuring indoor and outdoor temperature
3. computing the need for artificial lighting
4. distinction between heating and cooling period
Salute to Arturo Tedeschi and his Domestika course - stolen some tips and tricks for surface tesselation :)
and of course Ladybug Tools for this simulation giant.
and Andrew Heumann and his still most brilliant tool HUMAN
#grasshopper3d #computationaldesign #ladybug #energydesign #lavovski #savetheplanet #computing #project #oneyear…
g from a list of 12 items I would find all the combinations taking just 4 at time.
I'd use a Stream gate that takes the indexes of the items and pass them to a list item in order to select just the items of the combination. Doing so I can choose a single combination of index at time to pass to the list item.
In this moment all the data come out from the first gate, all the others are empty.
If I pass these index to the list item it gives me an error (probably because of the data structure).
*long version*
I start from a list of 12 segments, all of them with the starting point in common and the ending point distributed regularly in the space. It's a quite simple starting point.
What I'm trying to achieve is to find all the possible spatial configurations made of 2, 3, 4 segments. I started with 2 segments so I've 12^2=144 possible configurations but just 4 different configurations that can intuitivelly be recognized (60°, 90°, 120°, 180°).
Doing the same with 3 segments generates 12^3=1728 configurations and I don't know how many different ones. With 4 segments I've got 12^4=20736 possible configurations.
As you can imagine many configurations are identical but just with a different orientation so at the end I'll have to parse geometrically the output to delete duplicates (I'll address this later on).
Please could you help me to figure out how to mix these segments in different configurations?
Thank you in advance.…
interested in seeing what my unit is about:
http://wewanttolearn.net/
I believe my unit (called DS10) is the only one focused on using Grasshopper as their drawing technique, but the whole year also has to do a computer-based module, from which we can choose to learn a certain program. I have chosen Processing, but there is another that focuses on Grasshopper. So two groups in the year are learning Grasshopper in total - roughly 40 people out of 120 I think.
…