Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4120

rs.GetBox() returns "unordered" vertices

$
0
0

Hi all!
The rs.GetBox() from RhinoScriptSyntax returns an array of eight 3D points that are the box vertices. I thought that the first 3D point in the array would be the first point selected by the user, but it is not. Depending on the orientation/position of the selected points, the first point will be one or another (in bottom/top bases). The same happens with the rest of the points. Would it be possible for GeBox() to return the points sorted by the order in which they were selected, just like GetRectangle() works? Thanks!

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles