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のパラメーターをスライドすることで定義出来ます。
…
t I am having trouble understanding is how do you relate the logic contained with this code back to a Grasshopper Param or Component and make it act like a number slider.
I assumed that you would inherit the class Grasshopper.Kernel.Special.GH_Slider like what Andrew Heuman does here: https://bitbucket.org/andheum/falsestarttoggle/src/446c2d1fbe83fa44f2d11ed5b1b77852587dd4cb?at=master
(David is this the best approach?)
Have you done this? Basically what I am asking is what is the code in the class PANDA_CONTROL_SLIDER_FORM? I can see that you are making an instance of it but that’s all I can see.
Is this the class that you are using to make a GH component that acts like a slider?
感谢您的帮助 ; )
…
Added by Anton Szilasi at 3:44pm on February 9, 2017