I was messing around with the idea of making a dynamic wire mesh panel for sending to the fabricator. Basically, it would allow me to type in the dimensions of the panel and the appropriate spacing, and the lines would populate at the proper intervals.
I have the edge wire figured out, and I know how to make copies of the wire so they populate every 4".
What I’d like to be able to figure out is how to center the inner wires so that if they aren’t divisible by 4", they would split the difference evenly.
I’m sure it has something to do with the component’s starting position, but I can’t figure out the math to make the starting position equidistant from the edge.
I haven’t started building the component yet, but I’ve attached a jpg of what the panels look like.