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

Oriented point cloud

$
0
0

I’m struggling to code something and I was hoping this community could give me a hand.

Let’s say I have a box which is not aligned to the world axis, and I want to create a 3D point cloud grid inside of it that is aligned with the box’s axis (and not the world axis). It seems like a simple thing but all methods from the API seem to align stuff to the world axis.

If someone could just point me to the right direction I would appreciate.

PS: I know how to do this in the gui and in the grasshopper, but I need to code it in python as this would be part of a bigger script that I’m working on.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles