PDA

View Full Version : sizing grid precision



mattekure
October 27th, 2020, 16:37
Currently when sizing the grid, you have a precision of only 1 decimal place. While this is awesome, and very helpful for aligning maps, I have found an number of maps where this makes it impossible to align as they may be 30.25 or 30.66 size grid for example.

Would it be possible to allow for 2 decimal place precision when sizing the grid?

*EDIT: Just wanted to mention, I am aware of the mapalign utility which helps with resizing maps to fit the grid, but that doesnt work for hex maps. And that utility does allow 2 decimal precision.

celestian
October 27th, 2020, 16:40
Currently when sizing the grid, you have a precision of only 1 decimal place. While this is awesome, and very helpful for aligning maps, I have found an number of maps where this makes it impossible to align as they may be 30.25 or 30.66 size grid for example.

Would it be possible to allow for 2 decimal place precision when sizing the grid?

Yes please! ;)

Particularly when working with maps from PDFs and/or scans it would really be helpful.

pindercarl
October 27th, 2020, 17:46
The grid size displayed is rounded to the nearest 1/10th, however, you enter values with greater precision. E.g, type-in 30.66 and the grid size will be set to 30.66 and displayed as 30.7.

mattekure
October 27th, 2020, 19:38
Hmm, I played around with that and didnt think it was working. But now I do see tiny shifts when I use that level of precision and I do see the full precision number in the db.xml entry for the map. What is the max precision possible? 2, 3 decimals? Arbitrary?

I'm not sure why, but the hex grid just seems more difficult to align with some printed material. and I am not sure what independently tweaking the x,y of the hex is really doing. But I got it close enough for now.

thanks

pindercarl
October 27th, 2020, 19:50
Hmm, I played around with that and didnt think it was working. But now I do see tiny shifts when I use that level of precision and I do see the full precision number in the db.xml entry for the map. What is the max precision possible? 2, 3 decimals? Arbitrary?

I'm not sure why, but the hex grid just seems more difficult to align with some printed material. and I am not sure what independently tweaking the x,y of the hex is really doing. But I got it close enough for now.

thanks

The precision is arbitrary. The correlation between the width and height numbers and the hex depend on the orientation of the hexes. For row hexes, the width is equal to horizontal distance between the "flat" sides of the hex. For column hexes, the height is equal to the vertical distance between the "flat" top and bottom edges. When the width and height numbers are equal, the hex is equilateral.

mattekure
October 27th, 2020, 22:45
The precision is arbitrary. The correlation between the width and height numbers and the hex depend on the orientation of the hexes. For row hexes, the width is equal to horizontal distance between the "flat" sides of the hex. For column hexes, the height is equal to the vertical distance between the "flat" top and bottom edges. When the width and height numbers are equal, the hex is equilateral.

That is super helpful info, thanks much!