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

Symmetrical dashed line coupon boxes in Designer?


Recommended Posts

I'm relatively new to Designer and can find no way to create symmetrical dashed line coupon boxes for clients as can easily be done in InDesign with symmetrical looking corners. When resizing in Designer, the dashes move around the box like worms not knowing where they'll end up and I need a consistent looking box with symmetrical corners when resizing. Any way of doing this in Designer? I can't find any  tutorials regarding dashed line boxes for coupons.

Link to comment
Share on other sites

52 minutes ago, Ballyshannon said:

When resizing in Designer, the dashes move around the box like worms not knowing where they'll end up...

Did you tried with the "scale with object" setting checked here for the line style?

scale_with_obj.jpg.44c2a13c80ce0dfeec72345fb433e7d8.jpg

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

6 hours ago, v_kyr said:

Did you tried with the "scale with object" setting checked here for the line style?

scale_with_obj.jpg.44c2a13c80ce0dfeec72345fb433e7d8.jpg

Yes, and it has no effect. The results are still terrible. It's obvious the dash line feature in Designer was designed for single lines and not coupon boxes, which is a shame since many designers like myself have clients requesting ads with coupons. I'm pretty much resigned to creating anything with coupons in InDesign which isn't a bad thing since it's a great program. I was just hoping Designer could handle it.

Link to comment
Share on other sites

What Ballyshannon is talking about is aligning a dashed line, like the feature in Adobe Illustrator 
118039457_Aligndashedlinesilly.png.58ec93ac7712766e555b22495c667004.png

How neat is this
29978488_exampleofillysagligndashedlines.png.e3bbf2f0aa2cc4c3725e4087b5653b79.png

The closest Affinity has is "Phase" which is a manually adjustable alignment of sorts but not as good neat as the feature in Adobe Illustrator.

If you click in the box at the side of Phase you can use the arrow keys to adjust the Phase "position" of the dashed lines to get a half dashed line at either end, holding down Alt will increment that adjustment by .1, not ideal I know but its all you have in Affinity at the moment.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

There is also something else I have noticed about dashed lines in Affinity that doesn't happen in Adobe Illustrator... the movement of the dash when resizing the width of the stroke. In Adobe Illustrator the dashes stay put as the width is increased but in Affinity the dashes move as you increase the width of the dash, the dash is scaled by length as well as by width, this shouldn't happen surely?

I wouldn't expect the length of the dash to get longer as I increase the width!

Comparison.

Affinity. 
Dashed line @ .5mm 12-6-0-0
1258189404_Affinitydashedline.5mm12-6-0-0.png.f33227fef94904872b4a8e1ebe78b85d.png

and then 1mm 12-6-0-0
1165574054_Affinitydashedline1mm12-6-0-0.png.cf8afb9ada4db632639655b4f488aed9.png

 

Adobe Illustrator.
Dashed line @ .5mm 12-6-0-0
1210911988_IllyDashedline.5mm12-6-0-0.png.0dfbcad99dade63bd293c1af50977025.png
 

Dashed line @ 1mm 12-6-0-0
1911627291_IllyDashedline1mm12-6-0-0.png.9f9e843205939770fac9b705ad259ce0.png

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Until symmetrical dashed line boxes are implemented a sort of workaround is to copy and paste from either Illustrator or InDesign, and maybe store as Assets. Maybe some kind person could create a downloadable PDF file for people to import and store.

Windows 10 Pro, I5 3.3G PC 16G RAM

Link to comment
Share on other sites

Just now, MickRose said:

Neither would I. Could do with an option to keep the dash length the same.

Made a post request for the Affinity Range here: 

 

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

Dashed rects and lines in Designer look to me more or less like those with "stroke-dasharray" created ones in SVG here ...

<svg viewBox="0 0 150 150" xmlns="http://www.w3.org/2000/svg">
  <rect x="20" y="20" width="100" height="100"
      style="stroke: #009900;
             stroke-width: 3;
             stroke-dasharray: 10 5;
             fill: none;
            "
        />
</svg>

... which sadly also aren't symmetrical corners dashed line boxes here.

stroke-dasharray-svg.jpg.8692f970d0b633b0e7d7114fcbfe0616.jpg

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

4 minutes ago, v_kyr said:

Dashed rects and lines in Designer look to me more or less like those with "stroke-dasharray" created ones in SVG here ...


<svg viewBox="0 0 150 150" xmlns="http://www.w3.org/2000/svg">
  <rect x="20" y="20" width="100" height="100"
      style="stroke: #009900;
             stroke-width: 3;
             stroke-dasharray: 10 5;
             fill: none;
            "
        />
</svg>

... which sadly also aren't symmetrical corners dashed line boxes here.

stroke-dasharray-svg.jpg.8692f970d0b633b0e7d7114fcbfe0616.jpg

Its not pretty is it and I just don't get this scaling issue when upping the width, makes no sense to me.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

15 minutes ago, firstdefence said:

I just don't get this scaling issue when upping the width, makes no sense to me

Me too neither. This looks like a bug.

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

17 minutes ago, firstdefence said:

Its not pretty is it and I just don't get this scaling issue when upping the width, makes no sense to me.

Yes it's not pretty and looks always bad to the eyes, even without the scaling issues. The above shown Illustrator settings seem to offer alternate settings for corner handling ...

illu_switch.jpg.765926abc3e873aa0ebf7b5c251c0539.jpg

... so boxes look symmetrical. Also they seem to scale up/down correctly from what I can see above.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

Just now, αℓƒяє∂ said:

Me too neither. This looks like a bug.

I agree.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

1 minute ago, v_kyr said:

Yes it's not pretty and looks always bad to the eyes, even without the scaling issues. The above shown Illustrator settings seem to offer alternate settings for corner handling ...

illu_switch.jpg.765926abc3e873aa0ebf7b5c251c0539.jpg

... so boxes look symmetrical.

Correct, I use this when making boxes for my partner, she makes crafts and needs boxes of all shapes, it helps make neater folds.

iMac 27" 2019 Somona 14.3.1, iMac 27" Affinity Designer, Photo & Publisher V1 & V2, Adobe, Inkscape, Vectorstyler, Blender, C4D, Sketchup + more... XP-Pen Artist-22E, - iPad Pro 12.9  
B| (Please refrain from licking the screen while using this forum)

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

I do think the .svg construct influence the way AD does the dashed/dotted line.

The increase in length when the width changes appears to me to be because the dot or dash is a cross section of the line width, or a multiple of that based on the end cap style.

Attached, a series of 5 pt. strokes. First three, no dash/dot setting. 2nd 3, default 1-1 dot-dash setting. Not that the but cap line, which has a cap size of 0 has a 1/1 dot pattern, while the round and square caps are 10 pt long, w. no apparent dash gap. When the pattern is changed to 0/1, the butt cap disappears. In the final 2, the setting is set to 0/2, giving a dot or square that is 5 pt long, w a five point gaps.

 

So the design is "Create a dot or square the width of the line starting within a length of (x)*5pt. So its a feature, not a bug.

DotsDashes.thumb.jpg.7dd820761243f47d92be35ae05f2de1b.jpg

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

The size/length of dashes isn't the problem. It's an issue with how the dashes interact with corner joining and look of the corners or lack thereof.

I found a quasi workaround by creating a dashed coupon box in InDesign using the Dashed 2/3 setting, copying and pasting into Designer, grouping the five elements (lines and 4 corners are pasted as individual layers), select the stroke option with dash line style, butt cap, miter join with miter set to 2 in order to maintain square corners, align stroke to center, and adjust stroke/dash size as needed. Dash settings are 1/1/0/0/0. As it's resized, the dashes still move around, but the corners remain constant and it just takes some adjusting to get the dashes to look evenly spaced. I don't like the look of the small snub-looking corners, but it's the best workaround I've come up with. Doing it this way, the dashed box can be changed to any color and respond to fx after re-grouping all layers within the original grouping.

The first box below uses the settings mentioned above with a 7.8 stroke. Acceptable but still don't like the small snub-looking corners and can find no way to make the horiz/vert extenders a bit longer on each corner so they look like Illustrator or InDesign corners. For smaller coupon boxes, I can barely tell they're 'corners' when printed. For comparison, dashed box created in InDesign at bottom with 2/3 setting. InDesign provides three dashed line options... '2 and 3' (normal spacing), '4 and 4' (wider spacing), and 'Dashed Line'. I found it interesting that when selecting the basic Dashed Line option, the corners look exactly like the pasted-into-Designer version.

I found that I can achieve more consistent results when eyeballing the spacing by resizing vertically and horizontally and not dragging diagonally.

My file is included at the bottom if you want to check it out.

Coupon box in Designer pasted from InDesign.jpg

Coupon box in InDesign.jpg

 

Coupon box.afdesign

Link to comment
Share on other sites

Here is traced one from a JPG image, then saved as PDF for vector exchange (as curve). But it's not perfect either, I've overseen two little dots on the right side and also some dashes didn't traced that well as rects.

dashed_rect_traced.jpg.4c2ac220b2ad1bb75516fa67b24e7571.jpg

dashed-line-square.afphoto

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

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.