Otto Manuel Posted May 20, 2022 Share Posted May 20, 2022 Hi, Ihave been spending some free time making some custom Vector Brushes and have not quite figured out how to predict where the stroke's endpoint node will be located. I have attached a picture showing 4 copies of the same stroke with 4 different brushes assigned. The length of the stroke is the same with each example, but the apparent length differs. I suspect that the difference lies in how the brush forms were placed in relation to the margin of the png source file, but I can not figure out if the placement is an absolute distance value, or a percentage, or something more nuanced. Is there any info explaining how the left and right edges of a brush can be expected to rest upon the stroke? Thank you! Quote Link to comment Share on other sites More sharing options...
Otto Manuel Posted May 20, 2022 Author Share Posted May 20, 2022 Here is an example I just made in an attempt to reverse engineer quantify the offset. I have attached the png source file which I used to make the custom Vector Brush, as well as a screen shot of the brush being instantiated in Designer. The source file is 500 pixels long by 100 pixels high. The white blocks are 10 pixels wide. The screen shot shows a stroke with an actual length of 500 pixels long and a stroke width of 100 pixels. Designer seems to have stretched the "Brush" stroke. The fifty 10 pixel wide white blocks, that fit precisely within the 500 pixel wide source material, seem to be stretched beyond the end point nodes of the 500 pixel wide stroke. When I zoom in on the screen shot it looks like the Brush stroke extends approximate 38 pixels past the end point nodes of the stroke. I am hoping to learn how to anticipate where the end of the source file brush forms I am making will appear when I create and use a custom brush. I have been *investigating* by trial and error and figure I ought to just ask if there is any info that describes the specifics. Thank you! Quote Link to comment Share on other sites More sharing options...
Otto Manuel Posted May 20, 2022 Author Share Posted May 20, 2022 Here is the edit brush panel for the previously mentioned brush. Note that the offsets are specified at the exact edges of the png source file. Quote Link to comment Share on other sites More sharing options...
R C-R Posted May 20, 2022 Share Posted May 20, 2022 In the Stroke panel, with the brush stroke selected what setting does it show for the Cap type? Old Bruce and Otto Manuel 2 Quote 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 More sharing options...
Otto Manuel Posted May 20, 2022 Author Share Posted May 20, 2022 That's a good question. I tried all three and now realize the butt cap places the source file precisely on the stroke. The round and square caps are the ones that include the extension, which I would now guess is somehow proportional to the stroke width. IF I work with the butt cap style I will be able to prepare source files that appear as the brush strokes I imagine. Thank you! Quote Link to comment Share on other sites More sharing options...
Otto Manuel Posted May 20, 2022 Author Share Posted May 20, 2022 Using the reverse engineer procedure I think I stumbled upon the idea that the extension of the Round Cap and Square Cap is 50% of the stroke width. For example if the stroke width is 100, the vector brush will extend 50 pixels beyond the end point node. R C-R and Old Bruce 2 Quote Link to comment Share on other sites More sharing options...
R C-R Posted May 20, 2022 Share Posted May 20, 2022 1 hour ago, Otto Manuel said: Using the reverse engineer procedure I think I stumbled upon the idea that the extension of the Round Cap and Square Cap is 50% of the stroke width. Good catch! I don't think that is documented anywhere. Quote 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 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.