The natural grid when creating Kato N scale layouts is 62mm. The natural straight pieces are multiples of 62mm. 62, 124, 186 and 248mm. All the other straights help you keep your layout on-grid.
Let's assume that you are building a small, 4-track double-ended yard with a 15 degree bend in the middle using the #4 turnouts.
First, when you purchase a 20-220 or 20-221 #4 turnout, they come with two 60mm straight pieces with the roadbed trimmed. In AnyRail, these are S60L and S60R. The S60L connects to the left leg of the turnout and S60R connects to the right leg of the turnout. You have to use one or the other...or trim the roadbed back on another piece.
Second, the straight leg of the #4 turnouts is 126mm. So adding a 60mm straight track keeps the top track of the yard, on-grid. 126+60=186. The subsequent tracks in the yard are increasingly off-grid by 2mm. So you have to use 20-030, 64mm straight pieces to get back on-grid. Use one on track#2, use two on tracks #3 and #4.
Third, when all four tracks are on-grid, you can add the 15 degree curves. To finish the yard, I copy and paste the yard throat from the left to the right.
I flipped the second yard throat before I connected it to the right side of the yard.