In the GUI I can check "Snap to grid" on a blueprint and the width/height will be calculated automatically while the positions of the entities within the blueprint are shifted to put a corner of the blueprint at the origin.
I'd like a way to trigger one or both of these behaviors (or at least produce the relevant values) in a script, rather than having to duplicate all of the relevant logic and calculations in Lua.
Place to ask discuss and request the modding support of Factorio. Don't request mods here.
1 post • Page 1 of 1