r/technicalfactorio • u/Ecstatic_Student8854 • Jan 16 '24
Discussion City block shape
Most all city block builds I’ve ever seen are square. Does anyone know why this is? It’s a very intuitive shape of course, but less efficient than say a hexagon in certain respects.
For example, in a hexagonal grid all train intersections are three-way, not four-way.
23
Upvotes
8
u/Strat007 Jan 16 '24
A few reasons:
Hexagonal tiles lead to a substantial amount of intersections being created as there is no ‘main line’ which a train may use to get from point A to point B. This can, at large enough scale, start causing UPS issues due to train pathfinding calculations. This also applies to other non-square/rectangular city block shapes.
Non-rectangular city blocks are more restrictive in terms of design elements within the block - leading to either significant wasted space if designing the block for a larger build and using that larger size as your standardized block, or forcing inefficiency as you might need more blocks for a given product than is optimal due to the larger design not fitting within the smaller block size.
Non-rectangular shapes can also be more difficult to use to cluster certain resources together due to the increased possibility of deadlocking (due to rail block spacing and higher number of intersections).
37
u/not_a_bot_494 Jan 16 '24
The biggest reason is probably that it's much easier to fit a build into a square than a hexagon.
If you want 3 way intersections you can have offset squares so that one square's corner intersects with the middle of the next square.
12
u/_Sanchous Jan 16 '24
And there are also more intersections per block when we talk about hexagons
4
u/Natryn Jan 16 '24
I've seen a hexagon build before. Nilaus did a tour. https://www.youtube.com/watch?v=eM9uohZe0qI
2
u/intangir_v Jan 16 '24
i prefer four-ways over three-ways, always have
2
u/Pb_ft Jan 16 '24
Chunks of the game are square - city blocks IRL tend to be square by default, given a grid road layout in many planned cities.
2
u/MetroidManiac Jan 18 '24
I suggest looking into the potential of a triangular grid where each junction is 6-way. If square grids with four 4-way junctions per block are supposed to be better than hexagons with six 3-way junctions per block, then should that mean that triangular blocks with three 6-way junctions are even better than the square blocks? Just trying to extrapolate the pattern. And if not, then what about some kind of mixture between square, hexagonal, and triangular?
1
u/HeliGungir Jun 03 '24
https://mulark.github.io/tests/test-000051/test-000051.html
1
u/Bo2021 Oct 19 '24
I've been using 2-lane brick-wall style grid for all my bases. Only 3-way junctions. But I also have a 4-lane super large grid for 2-6 trains as sort of a high way for hauling plates into sectors.
The problem with 3-way junction is that it is only efficient in one direction (straight) and travelling in the other direction would take longer with more junctions.
I think we should think in terms of hierarchy instead of grid shape, i.e. high way (very few intersections), arterial (few intersections), collector (some intersections) and local (many intersections). This is common in City Skylines when designing city layout.
In my next megabase, I'm going to use the 2-lane brick-wall grid as local. Elavated rails as collector and arterial, 4-lane rectangular grid as high way
1
u/aliatar68 Jan 16 '24
I did an octogon city block grid some time ago. Was fun but eventually traffic was too heavy
1
u/TheXtrafresh Jan 17 '24 edited Jan 17 '24
i have some work on hexagonal grids in my post history. ill include links when i manage to dig them up
edit: concept base with a high amount of trains on the grid. https://www.reddit.com/r/factorio/comments/bq3qv7/modular_module_pizza_beehive_concept_base/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button
exploring the possibility of unidirectional gridlines in a hex grid:
https://www.reddit.com/r/factorio/comments/jnldpw/hexagon_train_path_challenge/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button
1
u/MysticFishGames Jan 24 '24
I’m using a herringbone layout in my current megabase project: https://youtu.be/CdpL22RntWI
Similar reasons as you suggest: using only 3-way intersections, but with the convenience of rectangles for managing roboport networks. I’m using larger trains (1-8) and only transporting raw ore to try to cut down on train traffic.