Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

1 hour ago, MEB said:

You can only change the alignment of closed shapes

 

Why is it like this?
I understand that until the shape is closed, it can not be determined what is inside and outside.
But it could be taken from the direction of the line (left and right).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

1 hour ago, MEB said:

Hi bowen192,

You can only change the alignment of closed shapes. If that's an open path you can't do it. Can you please check if that's the case?

 

That is the case, yes.

 

Thanks MEB.

 

But...

 

12 minutes ago, Pšenda said:

 

Why is it like this?
I understand that until the shape is closed, it can not be determined what is inside and outside.
But it could be taken from the direction of the line (left and right).

 

Just checked and it's the same in Illustrator.

 

Would be a nice option to have, or at least grey out the Align options.

Link to comment
Share on other sites

3 hours ago, Pšenda said:

I understand that until the shape is closed, it can not be determined what is inside and outside.
But it could be taken from the direction of the line (left and right).

Why left to right? Or for that matter, what if the path is irregular with a lot of curves & has no obvious or unambiguous left to right direction? Consider for example even simple paths like one shaped like the number 3 with both end points vertically aligned or a C shape with inward curving end points.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

2 minutes ago, R C-R said:

has no obvious or unambiguous left to right direction

 

It always has the beginning (the first node) and the end (the last node), and so it is obvious, where the left side and right side (if I look down the road/paths from the beginning to the end).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

28 minutes ago, R C-R said:

Why left to right? Or for that matter, what if the path is irregular with a lot of curves & has no obvious or unambiguous left to right direction? Consider for example even simple paths like one shaped like the number 3 with both end points vertically aligned or a C shape with inward curving end points.

 

Just leave it as inside and outside; if you pick the wrong side it's not a massive operation to click the other icon, is it?

 

I mean, it doesn't really matter; as long as there is a visual representation.

Link to comment
Share on other sites

16 minutes ago, Pšenda said:

It always has the beginning (the first node) and the end (the last node), and so it is obvious, where the left side and right side (if I look down the road/paths from the beginning to the end).

But we are talking about defining in some meaningful way the inside vs. the outside of an open path of an arbitrary shape, right? So consider these paths & please explain how transversing them from their first to their last nodes would do that.

5ab3dc440d2bf_openpaths.png.6a4885950df08b97748152f32d3204ce.png

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Just as I wrote earlier.

1 hour ago, Pšenda said:

It always has the beginning (the first node) and the end (the last node)

 

The path, even though it is more complicated and self-inflated, has its definite end (red).
The direction from the beginning to the end is clear, and arrow is always located on the right side of the segment.

 

2018-03-22_180043.png.5ab0e7eee70d5be4e56e6745a26d1a73.png

 

I'm not with a PC, so I had to use pictures from web Designer Help.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

24 minutes ago, bowen192 said:

 

 

EDIT: And why does my AD leave the purple selection box on objects?! 

 

It means that they are snapping candidates

intel core i5,  16GB 128Gb ssd win10 Pro Huion new 1060plus.

philips 272p 2560x1440px on intel HD2500 onboard graphics

Razer Tartarus Chroma

Link to comment
Share on other sites

But how would the stroke be exported in an .svg file? AFAIK, SVG assumes there is a center point for a fill that is determined by the vector perimeter, and that can only be determined if the shape is closed. The 1st and last nodes of the shape can be reversed, but that doesn't do anything to define inside and outside. I suppose there might be a way to create a routine that finds the the 1st and last input for line A-B = B-A, and does an XY offset for a stroke. But again, how to render that into the SVG standard, which defines inside and outside by projecting a ray from a(n) implied center to infinity. 

iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb,  AMD Radeon R9 M290 2048 Mb

iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil

Huion WH1409 tablet

Link to comment
Share on other sites

24 minutes ago, Pšenda said:

The direction from the beginning to the end is clear, and arrow is always located on the right side of the segment.

 

Your picture shows the first arrow on the right side of the segment but the second arrow on the left: it's completely arbitrary. And what about an 'S' (or an inverted 'S') where one half of the curve is concave on the right but the other half is convex?

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

52 minutes ago, bowen192 said:

As long as there's a visual representation, it's fine, surely?

So how exactly should the "visual representation" of those curves change? IOW, if you were to change each of their alignments, in what direction would you want each of their strokes to move uniformly: left, right, up, down, or maybe along some diagonal?

 

The stroke alignment options have no meaning for any open curve because they do not completely enclose an area & therefore have no definite inside or outside. It doesn't matter which end you start from or if you choose the left or right side as a reference point as you move along it. "Left side" & "right side" do not mean the same things as "inside" & "outside" in any objective or normal real world sense.

 

Consider for example an isolated section of curved fencing in the middle of a field that does not form a closed perimeter. How could anyone determine what is "inside" that section & what is "outside" it? 

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

10 minutes ago, owenr said:

No, the arrow is always on the right as you walk along the path from start to end.

 

Finally!!! I thought I was crazy :-)

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

39 minutes ago, dutchshader said:

what is outside?

 

Nowhere, if the shape is open - just left or right.
And it depends on where the path begins and where ending (a red point that can not be seen on your picture - it is necessary to select the path).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

1 hour ago, Alfred said:

it's completely arbitrary

 

23 minutes ago, owenr said:

No, the arrow is always on the right as you walk along the path from start to end.

 

I stand corrected! surrender.gif

 

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

1 hour ago, owenr said:

No, the arrow is always on the right as you walk along the path from start to end. If you consider the right to be the outside, then aligning the stroke to the outside will put the stroke on the side with the arrows.

True, but why consider the right to be the outside? I don't think @Pšenda said that it was, only that the direction from the beginning to the end is clear & that by 'waking' along the path from beginning to end arrows could always be put on the right. You could say the same thing about putting them on the left, but I can see no compelling reason to consider either side the outside.

 

Consider the example @dutchshader provided & it should be obvious how arbitrary that can be. Or consider this example:

5ab419289c6a5_insideiswhat.png.3ea3a4747e2859df91b9d2dc080e6cd5.png

Even if you initially consider the concavity of the partially enclosed area as arbitrarily defining a curve's inside, later on in the project considering that same concavity as defining its inside may border (no pun intended) on the absurd.

 

2 hours ago, owenr said:

We already can align text to one side or the other of an open path, so why are people having difficulty understanding how a stroke could be aligned to one side or the other of an open path?

The alignment of a stroke to one side or the other of an open path is not the same thing as the alignment of text to one side or the other of an open path (which then has no stroke), but even if it was, the issue is determining unambiguously or at least consistently which is the inside side & which is the outside side where the text should be placed. Even if we consider only LTR languages without what implications that might have for supporting RTL ones in the future, the 'walk' from from beginning to end thing won't work & the ambiguity remains:

5ab429d2d9ad4_textoncurves.png.a45492e325fb0ff794fa6f9bae3610a6.png

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

i wonder how you could allign a stroke to the grid.

an how would you flip a stroke horizontal this way

 

grid.png.ce8316f2d96469ade72faa3d3addb2d4.png

intel core i5,  16GB 128Gb ssd win10 Pro Huion new 1060plus.

philips 272p 2560x1440px on intel HD2500 onboard graphics

Razer Tartarus Chroma

Link to comment
Share on other sites

1 hour ago, owenr said:

Obviously an open path doesn't have an actual inside or outside, but the discussion has been about stroke alignment where the choices of alignment are named as inside, outside and centre, not left, right and centre.

Which is pretty much the point: they are named that way because they only affect things that do have a definite inside & an outside. Expecting anything else, whether based on path direction or anything else to arbitrarily define which side should be considered to be the outside or inside of an open curve, makes no sense to me for the reasons I have already mentioned. I can't think of any practical value for it, but if there is one someone please tell me what it is (& if considered relevant how the names should be changed to make that clearer).

 

Without that, it just seems like an unnecessary complication that would do more to confuse than to clarify the difference between open & closed paths.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.