I want to place packages at a specified x y grid position on a pcb board. For that I use 2 chained GeometryNodes Modifiers.
- The first Modifier (Board) creates a cirquid board with a grid of pads and
- the second Modifier (Placement) is responsible to instance and place the packages at the specified grid position
To describe the grid I pass attributes (nx, ny) down to the Placement modifier. Now I want to use ny to extract the corresponding pad index depending on x and y. That works well if I use an constant value input for ny but if I connect the incoming nx attributes seems always to be evolved to 0.
How can I use ny in the computations in the pad points context in the example?
I know, I could precompute x and y and append them to each of the instances in the first GeoNodes Modifier. But I'd like to solve the problem in the way described above to reduce redundancy and to learn more about Geometry Nodes.
Is it possible to pass a single value or do I always need a dummy Geometry for that (the mesh.vertex field below).
Many thanks for hints or an solution