When playing Factorio it seems that landmines are the only object I can place where it doesn't snap to a grid. I want to make a dragon's teeth barricade with land mines interspaced but the inconsistent manual landmine placement makes it difficult to cleanly place the mines between the walls.
I tried using drones and blueprints to automate the process but very minor inconsistencies grow when scaled up using drones. I've seen pictures of other people who have their mines placed in a grid format, I just can't figure out how to do so myself.
Best Answer
As pointed out by @Chris Hayes in the comments, if something doesn't exist in Factorio, there's probably a mod for it. I haven't tested this one out myself, but quick search found there's at least this mod by Camedo that makes mines snap to grid.
The best I managed in vanilla game was through the blueprint system, particularly though the Snap to grid feature that blueprints have, which makes the entire blueprint snap to an arbitrary multiple of the game's coordinates. The downside that remains is the mine within that blueprint will still have to be manually placed, but at least it won't accumulate additional error.
An easy way to line up the relative placement to the world grid is surrounding a square of the desired dimensions by conveyor belts and placing the mine in center by eye.
You can then blueprint the mine in the center. Be sure to
You'll be then able to use this blueprint to place evenly spaced mines in front of your fortifications (which you can then further add to new blueprints).
You can read more about blueprints and their features on the official wiki.