English.
Hi all!
I created .ghx for Parametric Design of Bottle. I defined profile curves giving control points with slider, definition of hight, shifting, and offset based on referenced…
created surface with sweep and rotate them with number of division. Section curves of 2Railsweep is defined with 3 Point arc and shape is also controlable.
You can change shape by sliding 16 paramteters.
The definition is rather long, hope somebody can modify with more sphiscated manner.
日本語
パラメトリックにボトルデザインをする.ghxファイルを作成しました。ボトルのプロファイルカーブを、参照となる円に対して、高さ、シフト、オフセットでコントロールポイントの位置情報を与えて定義。次にスイープで分割数だけ回転コピーして作成。
スイープの断面、3点円弧で作成し、形状コントロールするようにしています。
ボトル形状は、16のパラメーターをスライドすることで定義出来ます。
…
Int32 = 0 To y.count - 1
Dim c As Char = Convert.ToChar(y(i).substring(7, 1))
Dim d As Char = Convert.ToChar(y(i).substring(8, 1))
Dim p As Integer
If c = ";" Then
p = convert.ToInt32(y(i).substring(6, 1))
Else If d = ";" Then
p = convert.ToInt32(y(i).substring(6, 2))
Else
p = convert.ToInt32(y(i).substring(6, 3))
End If
Dim path As New EH_Path(p)
For j As int32 = sum To sum + z(i) - 1
tree.Add(x(j), path)
Next
sum = sum + z(i)
Next
A = tree…
思った感じになりません。
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をしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
y. I am not sure if it is a good idea to visualize all the solutions because that is a big performance draw back, resulting wasted time and filling up local disk.
3) more of a conceptual problem. what is the use?
If the purpose of this exercise is to look through the population of possibilities, there are much more efficient ways to do so actually, as it turns out. Its called visual query builder.…
dina, Alexander Sapuntsov, Yulia Zarechkina and with a help of our friends: Roman Korseev, Sergey Zhigalev, Nikita Istratov.
Our pavilion presents itself as a kind of beach screen for Volga riverbank. An aesthetic of the object, which consist of yellow “stars”, is simultaneously due to the features of the tensegrity construction and to the representation of Samara as a city of space industry.
The pavilion is formed by 128 crosses made of 9 mm plywood. Each cross has its individual form. They are connected only by stretched vertical steel cables. We wanted to make manually assembled object, which was elaborated using parametric design techniques. All plywood elements were prefabricated with CNC machine, including a mounting frame for cables assembling. This allowed us to assemble a compound parametric tensegrity construction with high accuracy and just as it was designed.…
rk for Rhino, this is a first go at a very simple tool to get an idea of how fast different computers are at performing the sort of calculations used in Kangaroo, with the aim of informing those buying or upgrading their machines.
If you could take a couple of minutes to download and run this definition (after closing other running applications), then post here the result and your PC specs, hopefully we can start building a basic picture of what effect different hardware really has on the speed Kangaroo runs.
Most of the information can be found in the System page of Control Panel.
RAM speed can be checked in your BIOS, or with a tool like CPU-Z (note that the reported frequency from this should be doubled to get the actual RAM speed rating - eg if the frequency is 800MHz you should write DDR3-1600. It's confusing I know - see some discussion of this here), or by searching online for the specs of your PC model number.
This definition is purely testing the speed of the internal physics calculation, not display, so graphics-cards are irrelevant.
For now this is just to get a single general measure of overall Kangaroo speed, but it might also be interesting later to run a variety of tests to see how the speed varies with the size and complexity of simulation.
Of course a way of benchmarking general Grasshopper performance would be very nice to have as well, but would involve a lot more variables, and I'd be interested if anyone has ideas about how that could work.
Note - I posted a couple of versions of this earlier with various errors that were causing incorrect results. If you downloaded the earlier KangaMark01.gh or KangaMark02.gh file, please disregard that and any results from it and use the one posted here below:…