Tips on refactoring a circuits design

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
swindle
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Dec 30, 2020 3:40 pm
Contact:

Tips on refactoring a circuits design

Post by swindle »

I have a row of combinators (15), with a spaghetti of wires going between them. I would like to keep the circuitry the same but move the components around. Is there a way to move a combinator while preserving its connections? I didn't find a way to do so within the game. If it is not supported (OOB or using a mod), what are the tricks to make this easier?

At this time I copy the combinator and manually copy its connections from the old one. This is tedious and error-prone.

Bonus question: is there a tool that allows compiling an expression into a blueprint (VerilogHDL / VHDL style?)

SoShootMe
Filter Inserter
Filter Inserter
Posts: 476
Joined: Mon Aug 03, 2020 4:16 pm
Contact:

Re: Tips on refactoring a circuits design

Post by SoShootMe »

swindle wrote:
Sun Dec 18, 2022 3:07 pm
Is there a way to move a combinator while preserving its connections?
You can't in the base game but there is the Picker Dollies mod which is perfect for this.
Bonus question: is there a tool that allows compiling an expression into a blueprint (VerilogHDL / VHDL style?)
I have some recollection of discussion of such a tool in the forum but I couldn't quickly find it. I'm not sure how practical it would be (though it would be somewhat interesting).

aka13
Filter Inserter
Filter Inserter
Posts: 684
Joined: Sun Sep 29, 2013 1:18 pm
Contact:

Re: Tips on refactoring a circuits design

Post by aka13 »

Pony/Furfag avatar? Opinion discarded.

DaleStan
Filter Inserter
Filter Inserter
Posts: 368
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: Tips on refactoring a circuits design

Post by DaleStan »

There's also https://github.com/Redcrafter/verilog2factorio

The one time I used it, way back when, it wasn't very good at using the full capabilities of combinators, but that seems like a hard problem to solve.

At a glance, FactorioScript just packs together the specific combinators you want, while factoriogen (and verilog2factorio) lets you use more powerful programming constructs.

Post Reply

Return to “Gameplay Help”