Page 1 of 1

Freehand lasso selection

Posted: Sat May 04, 2024 7:45 am
by typecasto
TL;DR
Allow the player to switch between freehand lasso and rectangular lasso for the selection tools.
What ?
I suggest adding a way (probably a keybind) to switch between the rectangular lasso (that currently exists) and a freehand lasso, for all the existing "selection tools", e.g. deconstruction/upgrade planners, blueprints, and modded selection tools.
factorio lasso.png
factorio lasso.png (1.64 MiB) Viewed 695 times

The shape is made closed by connecting the start and endpoints, for instance if the player drew the red line below, the blue line would be used to complete the shape.
2024-05-04_02-17.png
2024-05-04_02-17.png (194.7 KiB) Viewed 695 times
This would also make it so that drawing just a single line would deconstruct just entities in that line, which is often useful with the rectangular selection tool (for belts) and would now be usable for diagonals as well (rails).
The selection should exist in the world space, so the player can walk around while making it in case it doesn't fit on one screen (though this would make zooming in do unexpected things if you weren't in the map view, maybe disallow zooming in this case).
It might also be a good idea to shade this region so that it's more clear what it's going to affect.

Why ?
  • Selecting things near diagonal rails (or diagonal rails themselves)
    2024-05-04_02-26.png
    2024-05-04_02-26.png (497.72 KiB) Viewed 695 times
  • Copying part of a build that isn't rectangular
    2024-05-04_02-35.png
    2024-05-04_02-35.png (536.73 KiB) Viewed 695 times
    2024-05-04_02-38.png
    2024-05-04_02-38.png (341.83 KiB) Viewed 695 times
Screenshots from the mod Krastorio 2

Re: Freehand lasso selection

Posted: Sat May 04, 2024 5:16 pm
by Illiander42
Unrelated, but which loader mod is that? (looks really cool, wanting to grab)

Re: Freehand lasso selection

Posted: Sat May 04, 2024 6:39 pm
by BrainGamer_
Illiander42 wrote: Sat May 04, 2024 5:16 pm Unrelated, but which loader mod is that? (looks really cool, wanting to grab)
that looks like AAI Loaders

Re: Freehand lasso selection

Posted: Mon May 06, 2024 7:42 pm
by ChefOfRamen
Add this one to "why don't we have this yet". This looks like an extremely useful tool.

"Lasso" selection.

Posted: Mon Dec 09, 2024 3:08 pm
by Sopel
Add a way for a free shape selection (AKA "lasso") for everything that takes a bounding box area, though blueprints and deconstruction planners are the most crucial. Creating blueprints of partial setups is incredibly annoying right now.

Re: "Lasso" selection.

Posted: Mon Dec 09, 2024 3:54 pm
by Tinyboss
It's not so hard with blueprints to right-click away what you don't want. But I would really love this for when I go to copy/paste without making a blueprint.

Re: "Lasso" selection.

Posted: Sat Dec 14, 2024 2:01 pm
by Sopel
> It's not so hard with blueprints to right-click away what you don't want.

it's only viable for small selections

Re: "Lasso" selection.

Posted: Sat Dec 14, 2024 4:07 pm
by erkki772
I assume Lasso wouldn't make square blueprint and it would have default "ignore any blueprint border". How it would perform? from my perspective highest border to highest border. So it would make square without making square

Re: "Lasso" selection.

Posted: Sun Dec 15, 2024 2:49 am
by Sopel
bounding box

Re: "Lasso" selection.

Posted: Thu Dec 19, 2024 7:14 am
by typecasto

Re: Freehand lasso selection

Posted: Thu Dec 19, 2024 7:25 am
by Koub
[Koub] Merged into an older thread with the same suggestion.
typecasto wrote: Thu Dec 19, 2024 7:14 am https://forums.factorio.com/113310
Thanks for the pointer :)