思った感じになりません。
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をしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
assume we want to format two numbers, one integer and a floating point value. The integer represents an index and it should appear inside square brackets, then we want the floating point number rounded to a maximum of 4 decimal places (but always using at least one decimal place, even if it's zero), and then, in parentheses a scientific notation representation using 8 decimal digits of the number.
So, assuming the index is 16 and the value is 47.280006208, what we are after is:
[16] 47.28 (4.72800062E+001)
To make this work, we need a formatting pattern that looks like:
[{0}] {1:0.0###} ({1:E8})
The square brackets, spaces and parenthesis are just part of the output, they have no meaning whilst formatting. Everything inside the curly brackets though will be replaced with a specific formatting of one of the values.
When using the Format component as shown above, the formatting pattern is just text data. The component knows that it is supposed to use the Format() function using the pattern text and whatever additional data is provided.
When you invoke the Format() method in an expression, you do need to make sure that the pattern is actually text:
So here the pattern needs to be encased in double quotes, otherwise it will be treated as code, rather than text.
You cannot use the formatting method in the internal expression of a number parameter, because this method returns text, whereas the number parameter is only capable of storing numbers. Any expression that you put into a number parameter had better return numbers as a result.…
you see (an accurate representation of real things commercially available) is an instance definition - that way you can have a Rhino file with 10K of these that requires less than 1M (the other option is ... er ... 500 MB).
…
est of the best)
Crucial DDR4 2133 ECC (what else?)
4* WD RE 500 in Raid combo (not shown)
Some stupid 2.5'' HD thingy (avoid 2.5'' disks)
No SSD thingy
Corsair CPU cooler (Tequila replaced the OEM liquid: it works)
…
e Z coordinate is interpret and rises as "amount of tweets in that specific location". My question is: how would it be possible to upload a picture as a mesh in order to deform it from the given coordinates I have collected. Attached to this post I uploaded a video with the logic that I started. Also anyway to record twitter data from specific days? I would like to compare data from past days
Plugins Used: @it and Mosquito
Similar Inspiration and research: http://www.formfollowsbehavior.com/2011/01/30/invisible-cities/
Twitter Topo from Jose Fernando Villamizar on Vimeo.…
d you notice that there can only be one instance of the Tetgen parser running in the same Grasshopper file? If I place 2 of them, both are grey BUT both have the same output no matter what lines are plugged in on the inputs. I guess this is either a naming issue of the internal STL file handling or there can be only one instance of tetgen running at a time.
Nico
…
closed polysurfaces that have no object names
I now need a way to transfer the lot ID's of the 2D curves to the 3D polysurfaces. I've already gotten very close to a solution by using Curve CP to find the closest cuve to the center point of each polysurface. Unfortunately, I've now discovered that my lot curves aren't perfectly clean and this solution fails whenever one of the lot curves slightly overlaps into an adjacent lot because it then becomes the closest curve.
The simplest solution I can think of would be to offset all of the curves by a small margin inward so that there is no longer any overlap, but I would need to do this in a way that preserves the object name of the original curve, so that the offset can then pass the name on to the polysurface. I imagine this is possible, but I am relatively new to grasshopper and so I am hitting a wall here.
If anyone knows an existing offset component out there that can do this on a large set of curves, or if there is an even easier solution to my original problem, I would be very grateful-- thanks!…
accept untrimmed surfaces, only Open Brep, but sometimes, seemingly out of the blue, the Open Brep changes into Untrimmed Surfaces and vice versa. I've already checked the unit tolerance in Rhino, that made no difference. Any ideas about where I could be going wrong?
--
Second issue is that some of the geometries should 'curl' outside their grid boundaries. I need to be able to play with the grid size while the geometry maintains its position.
Also, the first set of these geometries (bottom of image) should translate as a flat surface. But the points 1 and 3 tend to stick to the 2nd Grid - creating openings on the side. How could I fix that?
--
Third issue is that the geometries seem to be a little 'squished' at their plane normal (right until where the 2nd Grid offsets). I tried adding a number slider between the [z-vector] in the ptCoordinates and the [translation vector] in the Move component.. but that isn't working. Ideally I wouldn't need to control the offset distance, the shapes would retain proportion automatically. Any ideas?
Thanks so much in advance! :)
…
surfaces in different way, much more schematic, in this way you could increase the speed of the calculation.
If you want take a look here:
http://nrel.github.io/EnergyPlus/Tips_and_Tricks_Using_EnergyPlus/Tips_and_Tricks_Using_EnergyPlus/
Best
Antonello
…