I have a simple geometry node setup, where I'm distributing a cube on a plane. I don't want any of the cubes to be overlapping, so I turned up the distance min on the distribute points on faces node. Is there any way to tell the Geometry Nodes to distribute an exact amount of cubes on the plane? For instance, can I distribute exactly 1,000 cubes on the plane?
You can use this node setup:
it deletes all indexes which are greater than a number.
The attribute statistic node gives information about the geometry which is plugged in the attribute. Here the index is plugged in. Index is running from 0 - 1299. So if i now delete all indices which are greater than 299 i got exactly 300 points. I didn't instance anything and i didn't join geometry because i just wanted to show which nodes are necessary so - in my opinion - it is easier to understand.
Here an example with the instancing:
and here the node setup with the "input geometry":
Note: Index is counting from 0. So if you say greater than 1000, you will get 1001 cubes. So enter greater than 999 and you will get 1000 cubes.