Cleaner Power Poles tidies copper wiring automatically as you place electric poles. It favors short connections and four-sided loops, leaving square grids free of unnecessary diagonals without moving any poles.
- Keeps connected poles connected and separate networks separate.
- Preserves red and green circuit wires, power-switch connections, and script-owned copper wires.
- Keeps necessary bridges when removing them would disconnect a network.
Use /cpp-rewire to clean up around the selected or nearest pole. Use /cpp-rewire all to clean the current surface incrementally, or /cpp-rewire status and /cpp-rewire cancel to check or stop the sweep.
Requires Factorio 2.1. The default limit of 100 poles per rebuild is recommended for ordinary play.
AI disclosure: AI wrote much of the code. Lawlzer directed the design, reviewed the implementation, and handled testing and documentation.