点の「X,Y,Z値」を取得する

Get X,Y,Z values of points.

メモ|Note

  • Grasshopperでは一つのコンポーネント、DynamoではX,Y,Z別々のノードとなっている。
  • Dynamoのパッケージ、「LunchBox」にGrasshopperと同等の[DeconstructPoint]ノードあり。

 

スクリプト|Script

rhinoscriptsyntax DesignScript Syntax
X:PointCoordinates(points)[0]

Y:PointCoordinates(points)[1]

Z:PointCoordinates(points)[2]

X:points.X

Y:points.Y

Z:points.Z

※引数は一例です。

 

索引|Index

Grasshopper Dynamo
[Vectors > Point > Deconstruct] [Geometry > Points > Point > X] [Geometry > Points > Point > Y] [Geometry > Points > Point > Z]

 

 

コメントを残す

メールアドレスが公開されることはありません。