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

Expanding stroke... - Affinity Designer


Recommended Posts

Hello. I've been having trouble with the expanding stroke tool. Whenever I expand stroke, it alters the shape. I believe it's due to the close distance of the nodes. Is there anyway I can fix that and keep the shape the exact same? Deleting one of the nodes won't keep the shape the same as I'd like (although it won't alter too much, I'm very picky on that).

Thanks for the help! 

Before expanded stroke:

image.thumb.png.2f770aad9b69503bd6110ab97422f6ae.png

 

After expanded stroke:

image.thumb.png.ae87ad61e33cd9d92396dc7b096fdd65.png

Edited by Henry N
Link to comment
Share on other sites

It would help if you attached a sample .afdesign file showing the problem you are having but I suspect it may be because your are expanding the stroke of a "(Curves)" object which is actually 2 or more curves.

All 3 1.10.8, & all 3 V23.0 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

Wait, never mind. I figured out a solution for that one, but I also have a similar problem with this shape, which I can't figure out. I'd still like to maintain the "square" shape around where the upper and bowl of the B meets. I attached some images of the before and after pictures.  

image.png

image.png

B.afdesign

Link to comment
Share on other sites

14 hours ago, Henry N said:

Whenever I expand stroke, it alters the shape. I believe it's due to the close distance of the nodes.

Yes, the current stroke expansion code (and Contour Tool code) can be broken when a cusp (known as sharp in Affinity) node is less than 0.5 pixels distant from another node. Pixel distances are significant because pixel is the real unit of measurement in Affinity apps and documents while other units are merely for the user interface.

A workaround for the problem is to upscale the document so that nodes become a greater distance - measured in pixels - apart, then do the stroke expansion and then optionally reverse the scaling. For example, scaling by 10 will ensure all nodes of your 'B' example become separated by at least 0.5 pixels and then an expansion will work well.

Be aware that there are other operations in Affinity which become more messy as distances measured in pixels increase.

 

 

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.