Incorrect blueprinting

Post your bugs and problems so we can fix them.
fff935
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 06, 2024 8:06 am
Contact:

Incorrect blueprinting

Post by fff935 »

11-06-2024, 09-24-17.png
11-06-2024, 09-24-17.png (959.08 KiB) Viewed 592 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.
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Incorrect blueprinting

Post 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?
fff935
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 06, 2024 8:06 am
Contact:

Re: Incorrect blueprinting

Post by fff935 »

Yes, sure. But where I can find my save files?
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Incorrect blueprinting

Post 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.
fff935
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 06, 2024 8:06 am
Contact:

Re: Incorrect blueprinting

Post by fff935 »

Thank you! Here is all you asked for. I hope it gonna help
Attachments
blueprintError.txt
(37.41 KiB) Downloaded 14 times
Last edited by fff935 on Wed Nov 06, 2024 8:34 pm, edited 1 time in total.
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Incorrect blueprinting

Post 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 494 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 492 times
fff935
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 06, 2024 8:06 am
Contact:

Re: Incorrect blueprinting

Post 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
Attachments
4.26.zip
(20.25 MiB) Downloaded 14 times
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Incorrect blueprinting

Post 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 460 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.
fff935
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 06, 2024 8:06 am
Contact:

Re: Incorrect blueprinting

Post 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 445 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?
robot256
Smart Inserter
Smart Inserter
Posts: 1063
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Incorrect blueprinting

Post 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 423 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 423 times
fff935
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Nov 06, 2024 8:06 am
Contact:

Re: Incorrect blueprinting

Post 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!
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3478
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Incorrect blueprinting

Post 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.
Post Reply

Return to “Bug Reports”