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

Corner tool bug


Recommended Posts

I'm seeing an odd bug with the corner tool where some nodes are ignored by it, even when all are selected by it. I have reduced it to a simple example and attached the file.  Notice how there are five sharp corners.  There are no extra nodes in the shape.  I tried closing and reopening as suggested in https://forum.affinity.serif.com/index.php?/topic/123720-weird-thinks-happens-while-using-corner-tool/, but that didn't help.  If I export to SVG, then open the SVG in Designer, it works fine. 

 

image.png.d337e2fbf8a48816f13e0185864d3aa4.png

corner-bug.afdesign

Link to comment
Share on other sites

Turns out they are zero-length.  This is the path data.  

<path 
d="M46.694,15.778C46.694,15.778 46.694,0 46.694,0C46.694,0 31.129,0 31.129,0L31.129,15.565L15.778,15.565L15.778,0L0,0L0,15.778L15.565,15.778C15.565,15.778 15.565,31.129 15.565,31.129C15.565,31.129 0,31.129 0,31.129L0,46.907L15.565,46.907C15.565,46.907 15.565,62.472 15.565,62.472L31.343,62.472L31.343,46.694L15.778,46.694L15.778,31.343L31.343,31.343L31.343,15.778L46.694,15.778Z"/>

Probably the result of a zero-width offset operation or something.  When the exported svg is re-imported, the unnecessary control points get removed.

Link to comment
Share on other sites

@BrianM I'm not sure how you went about creating your graphic but I think it's just a case of ensuring accuracy... looking at the graphic you attached it looks to me as though you've created it using a series of shapes but that your shapes are not aligned accurately before applying any Boolean Operations...

Alignment.jpg.54da5ac361a89b9030b2857b156119ae.jpg

 

I would draw my source shapes ensuring they are aligned and snapped to a grid and then do something like this...

594586039_CornerShapeCreation.jpg.e0ad86036a43aa1666958b0f0a12d151.jpg

Corner Shape Creation.afdesign

Affinity Designer 2.4.2 | Affinity Photo 2.4.2 | Affinity Publisher 2.4.2
Affinity Designer  Beta 2.5.0 (2402) | Affinity Photo Beta 2.5.0 (2402) | Affinity Publisher Beta 2.5.0 (2402)

Affinity Designer 1.7.3 | Affinity Photo 1.7.3 | Affinity Publisher 1.10.8
MacBook Pro 16GB, macOS Monterey 12.7.4, Magic Mouse

Link to comment
Share on other sites

  • 2 weeks later...

 

On 7/1/2021 at 5:46 AM, Hangman said:

@BrianM I'm not sure how you went about creating your graphic but I think it's just a case of ensuring accuracy... looking at the graphic you attached it looks to me as though you've created it using a series of shapes but that your shapes are not aligned accurately before applying any Boolean Operations...

The example was reduced for simplicity, but the original curve is a twin dragon curve, and was generated programmatically and is accurate. It was done a while ago so I can't remember all the details, but what you are seeing is the result of processing done on the curve afterward in Affinity.  I likely did a stroke and offset it to create a curve with some width that I could work with and turn into a solid. Whatever it is, the zero-length handles are the result of some operation within Affinity. I'll keep my eyes open for it to happen again, and hopefully can figure out which one.

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.