Henry N Posted May 22, 2021 Share Posted May 22, 2021 (edited) 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: After expanded stroke: Edited May 22, 2021 by Henry N Quote Link to comment Share on other sites More sharing options...
R C-R Posted May 22, 2021 Share Posted May 22, 2021 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. Quote 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 More sharing options...
Henry N Posted May 22, 2021 Author Share Posted May 22, 2021 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. B.afdesign Quote Link to comment Share on other sites More sharing options...
jaedee Posted May 23, 2021 Share Posted May 23, 2021 What was the original font you started with? Quote Link to comment Share on other sites More sharing options...
PixelPest Posted May 23, 2021 Share Posted May 23, 2021 There are some random nodes appearing when breaking curves: Easy to fix: Henry N 1 Quote Link to comment Share on other sites More sharing options...
lepr Posted May 23, 2021 Share Posted May 23, 2021 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. Henry N and lacerto 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.