Create an account
To install the mod, you need to copy the files to the folder "C:\Users\{USER_NAME}\AppData\Roaming\Factorio\mods" or use the special FMM program (factorio mod manager). If a mod is missing from the requirements, please let us know in the comments.

Copper Wire Cleaner [1.1]  

Upload: 05 Jul 2024, 11:27
Created by: Deadlock989 [X]
Uploaded by: Aqxaro
Copper Wire Cleaner [1.1]

Clean up ugly tangles of copper wires with an area selection tool. Use the quickbar shortcut or the hotkey (default Alt+E) to get a cleaner tool in your cursor. Has three modes:

Left mouse button: remove unnecessary diagonal wires.
Shift + left mouse button: remove all unnecessary wires (diagonal first, then vertical, then horizontal).
Right mouse button: add wires, where possible, in an orthogonal grid between poles of exactly the same type.

There is also an undo hotkey (default Ctrl+Alt+E) which will revert the last action made with the cleaner tool, but only the last.

Wire removal uses Tarjan's bridge-finding algorithm to ensure that electric networks are never split (i.e. a wire is "necessary" if its removal would split a network). However, adding wires can merge networks.

Wires to poles outside of the selected area are never added or removed. Circuit wires are ignored. Not intended for massive area use - the algorithm is quite efficient but the tool will refuse to work with selections of more than 300 poles.

Comments
The minimum comment length is 10 characters.