Geometry Nodes: Separate XYZ from Points

In Blender 3.0.1, is it possible to extract the individual coordinates from points or a mesh using geometry nodes? Separate XYZ seems to only accept vectors, but there doesn’t appear to be a way to convert a mesh or point cloud to vectors, so there’s no way I can see to use Separate XYZ on them.

In this particular case, I had a set of generated points, and wanted to plug their Z coordinates into some math nodes produce integer counts and scales to apply elsewhere. Can it be done?

If you want the positions of a points, just use the “Position” input node. You can connect that into a separate XYZ node and use the combination anywhere.

The points I’m trying to work with are the output of other nodes, and as far as I’m aware the Position input node only gives you the points of an object attached via modifiers. Therefore it won’t work in this case.

The position input node outputs the position of whatever geometry it’s used with. That’s probably the most confusing part about fields initially, but once you get it, it makes a lot of sense. The manual has a short section describing this: https://docs.blender.org/manual/en/latest/modeling/geometry_nodes/fields.html#field-context

You’re absolutely right! I had no idea it worked that way. Thanks so much for your help.