Page 1 of 1

Incorrect blueprinting

Posted: Wed Nov 06, 2024 8:28 am
by fff935
11-06-2024, 09-24-17.png
11-06-2024, 09-24-17.png (959.08 KiB) Viewed 587 times
I`ve blueprinted my City Block for snapping it to the grid but it slides a little bit. As you cn see on the picture left psrt was built manualy and it has 1 tile gap between rails and electric pole. Right part was inserted via blueprint and it has no gap. Please explain it to me is it a bug or is it sonething that I don't understand about blueprints.

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 10:05 am
by robot256
Might be something weird to do with the blueprint grid smelling behavior. Can you post the save and blueprint string you used to create the screenshot?

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 10:24 am
by fff935
Yes, sure. But where I can find my save files?

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 12:07 pm
by robot256
If you're in Windows using Steam or the installer, you should be able to open my computer and put in the address bar:

Code: Select all

%appdata%\factorio\saves
The saves are Zip files.

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 4:17 pm
by fff935
Thank you! Here is all you asked for. I hope it gonna help

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 7:20 pm
by robot256
That save file doesn't have the spot where you placed the manual grid square? The blueprint goes down and always aligns with itself. There might be something off in how the grid relative/absolute alignments are set up. Have you tried tweaking them by one or two tiles? I don't have a lot of experience with setting those up, maybe someone else can see where it might be an issue.
Screenshot 2024-11-06 141845.png
Screenshot 2024-11-06 141845.png (13.25 KiB) Viewed 489 times
Edit: See if this makes it better for you:
Screenshot 2024-11-06 142337.png
Screenshot 2024-11-06 142337.png (13.92 KiB) Viewed 487 times

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 8:33 pm
by fff935
Yes, I'm sorry, this save was made after i delted everything and started from scratch.
Yes, I spent several hours trying to set everything up but it didn't help.
I'm almost sure that it is a bug because every other electric pole is aligned perfectly with those, witch was built manually (when I use blueprint), except rails and electic poles near rails. I don't know what to do with this bug (maybe) but I guess, I'll try to figure everything out.

Thank you a lot for trying to help.

ps. I also attached right save file

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 9:16 pm
by robot256
I took a new blueprint of your city block and manually tweaked the offsets to get this, and now it seems to work fine. The main thing is to make sure the green lines of the grid go through the centers of the edge power poles, since that's really where your grid boundaries are. Make sure the Grid Position is 2 x 2 to play nice with the rails, then shift the Grid Offset (second set of X/Y boxes) until it works. It's actually the sum of the Grid Position and Grid Offset that needs to be an even number for rails to be happy.
Screenshot 2024-11-06 160944.png
Screenshot 2024-11-06 160944.png (13.29 KiB) Viewed 455 times


In this case, your intention is for the grid size to be smaller than the selected blueprint entities so that some of them overlap when you place them next to each other. In that scenario, I don't think the automatic grid size/offset numbers will ever be correct.

I think this thread can be safely moved to Gameplay Help or Not A Bug.

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 10:05 pm
by fff935
It really works! Thank you a lot! It actually took several hours of trying to figure out where is the problem. You are genius! Thank you

One last question. How to deal with this? (I rotated your blueprint on 90 deg and now it can't be centered as horisontal version)
11-06-2024, 23-01-47.png
11-06-2024, 23-01-47.png (1.35 MiB) Viewed 440 times
I understand, that rails have a little bit differnt grid, but I can't set it up.

ps. How can I move the thread?

Re: Incorrect blueprinting

Posted: Wed Nov 06, 2024 11:21 pm
by robot256
The problem is your block design itself. You designed it to be 49 rails long, with the center pole centered on the middle rail. But since the rails are 4 tiles apart, the center pole is not aligned to the center of the rail grid when you rotate it 90 degrees.
11-06-2024, 18-20-21.png
11-06-2024, 18-20-21.png (535.8 KiB) Viewed 418 times
The solution is to switch to a 48-rail-long grid so that the center pole aligns with the rail joints in both directions. Incidentally, that will also mean your blocks are exactly 3 chunks wide, so you can align it to the map chunk boundaries for even more symmetry.
11-06-2024, 18-21-10.png
11-06-2024, 18-21-10.png (619.22 KiB) Viewed 418 times

Re: Incorrect blueprinting

Posted: Thu Nov 07, 2024 8:22 am
by fff935
Thank you so much for your help! I really appreciate the time and effort you put into guiding me through.
Your idea is fantastic, and I’m excited to give it a try later. Thanks again for sharing your expertise – it really makes a difference!

Re: Incorrect blueprinting

Posted: Tue Nov 12, 2024 11:50 am
by boskid
Part about entities moving sounds suspiciously similar to 117957 but i cannot see any mentions of "reassign" being used in this bug report.