Isometric and hexagon grids for print: three line families, one lattice and a 3 that bites
Square graph paper is two for loops. Isometric and hexagon paper look almost as simple, and my first version of each was wrong in a way that only showed up once I printed it. Here is what I ended up doing for a printable paper generator, with the bugs included. All coordinates are PDF points (1/72 inch), so a "side of 0.25 inch" is 18 pt. Isometric paper: three families of parallel lines…
Isometric and hexagon papers can be created with three families of parallel lines using a single lattice structure. Initially, the author's attempts to generate isometric and hexagon papers had issues when printed, revealing the need for a more precise method. The correct approach involves defining three sets of parallel lines - one vertical line and two diagonal lines at ±30° from the horizontal.
The lines' normals are aligned to the points (0°, 60°, and 120°), which helps in maintaining a consistent spacing between the lines.
To ensure all the intersections of the lines align with the lattice points, the author centers the grid on the page and describes each line as n · p = k · gap, where n is the unit normal, p is the point on the line closest to the origin, k is a scalar multiplier, and gap is the distance between the parallel lines. The author then clips the infinite lines at the page margins to create finite segments suitable for printing on various devices, including e-ink tablets.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.