Grid Transformation mysteries

Moderator: jsachs

Post Reply
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Grid Transformation mysteries

Post by tomczak »

I'm trying to draw a grid on an 8x8 cm @ 300 dpi square (945x945 pixels). The attached image shows a grid that I'm almost happy with, except for two things: I would like to remove edges and also remove the vertical and horizontal middle lines (i.e. leaving only minor divisions).

Checking Omit Edges, does remove edges but also some, minor division lines.

Setting Major Line Width to zero removes the middle major division lines, but also the vertical minor division lines (but not horizontal ones).

Is there a way around it, or maybe I'm not setting it right?
Attachments
Screenshot 2023-11-05 133321.png
Screenshot 2023-11-05 133321.png (64.38 KiB) Viewed 875 times
Maciej Tomczak
Phototramp.com
jsachs
Posts: 4218
Joined: January 22nd, 2009, 11:03 pm

Re: Grid Transformation mysteries

Post by jsachs »

It looks like there is a problem with Omit Edges for minor grid lines. I am out of the office until mid-November so it will be a while before I can fix it.

In the meantime you can just crop out the outer grid lines and then add a border to get the original image size back. Not quite the same as Omit Edges but very close.
Jonathan Sachs
Digital Light & Color
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Grid Transformation mysteries

Post by tomczak »

There seems to be something not quite right with the vertical minor lines.
Attachments
Screenshot 2023-11-19 212548.png
Screenshot 2023-11-19 212548.png (84.3 KiB) Viewed 789 times
Maciej Tomczak
Phototramp.com
jsachs
Posts: 4218
Joined: January 22nd, 2009, 11:03 pm

Re: Grid Transformation mysteries

Post by jsachs »

It looks like this is happening because you set the major line width to 0 which is not a particularly useful case. For the next release, I made the minimum major and minor line widths 1 instead of 0.
Jonathan Sachs
Digital Light & Color
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Grid Transformation mysteries

Post by tomczak »

The idea was to have two vertical and two horizontal lines passing through the centers of each of the quadrants, without the lines passing through the center of the entire square, hence zero thickness of the major lines. I treated zero thickness as switching off this particular set of major or minor lines, which may be quite useful actually as it should allow for somewhat irregular grids to be created.

I even tried coloring the major lines white, instead of setting their thickness to zero, and it's close to what I want, except the white lines cause gaps in the black minor lines (that can be patched up later, so it mostly works for what I tried to do).
Maciej Tomczak
Phototramp.com
jsachs
Posts: 4218
Joined: January 22nd, 2009, 11:03 pm

Re: Grid Transformation mysteries

Post by jsachs »

To do what you want, try creating just one quadrant and use the Tile transformation to duplicate it horizontally and vertically.
Jonathan Sachs
Digital Light & Color
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Grid Transformation mysteries

Post by tomczak »

That works - thanks!
Maciej Tomczak
Phototramp.com
tomczak
Posts: 1367
Joined: April 25th, 2009, 12:56 am
What is the make/model of your primary camera?: Fuji X-E2
Contact:

Re: Grid Transformation mysteries

Post by tomczak »

I also discovered two other ways of doing this:

- Use Add Border instead of Tile to replicate the quadrant's 2x2 grid to the entire square,
- Add Borders of 1/4 of the side of the square, Grid at 3x3, Crop the borders.
Maciej Tomczak
Phototramp.com
Post Reply