Jump to content
Markeeee

Simple subtraction of two shapes doesn't work

Recommended Posts

I have a ring / donut shape. On top I have a square, at an angle. I am trying to subtract the square from the ring, to create a letter C. But Affinity Designer doesn't seem to be able to do this. All I get after subtracting is a weird shape. See below:

I've just retried the subtraction and it now works. I've tried a third time and again I get the strange shape. It is inconsistent.

 

 

Screenshot 2018-11-07 at 9.59.25 am.png

Screenshot 2018-11-07 at 9.59.33 am.png

CW logo big C.afdesign

Share this post


Link to post
Share on other sites

When I open your attached file I can see the following, which is what I would expect as the result of that subtract operation.

shown_result.jpg.b838c01efca488ce23cb09df9da07dc7.jpg


☛ Affinity Designer 1.7.3 ◆ Affinity Photo 1.7.3 ◆ OSX El Capitan

Share this post


Link to post
Share on other sites

Yes, I was able to duplicate the behavior. Tried duplicating "donuts" & diamonds, and donuts and rotated squares. The anomalous results happened about half the time. The position of the corner of the diamond/square was at the center of the donut. I found that it the corner was shifted away from the exact center, the results were as expected. This also happened w. the composite operation.

AnomalousSubtract.thumb.jpg.4697127bd7f317e7aa7c200a8860ad4c.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

Share this post


Link to post
Share on other sites
1 hour ago, Markeeee said:

I am trying to subtract the square from the ring, to create a letter C.

It would be easier to do that with a single Pie shape. Then you get all the benefits of Affinity's dynamic shape editing.

Set the Hole radius to make the hole in the centre,

hole.jpg.5347e5b5ae7f0e5505fb8c583933cece.jpg

then you can drag the red handles to where you want.

pie.jpg.3613bca4128a190eea8fcf79431684f1.jpg

P.S. I love pie :)


Windows PCs. Photo and Designer, latest non-beta versions.

Share this post


Link to post
Share on other sites

Scaling the diamond down a tad also gets expected results so from 85.46mm to 85.00mm


iMac 27" Late 2015 Fully Loaded, iMac 27" Mid 2011 both running High Sierra 10.13.6 - Affinity Designer/Photo & Publisher - Illustrator CC, Inkscape, Blender, Sketchup, Pepakura Designer, MTC, Pixelmator & Pixelmator Pro + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

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

Share this post


Link to post
Share on other sites
53 minutes ago, MEB said:

We are aware of a few issues with the boolean operations (already logged to be looked at). It's possible certain cases fail to give correct results or generate superfluous objects. We hope to improve this in future versions. Thanks for your report.

Wow. The first boolean operation I need to do in Affinity and it can't do it. And it's the easiest subtraction. This really sucks.

Share this post


Link to post
Share on other sites

Hi Markeeee,
I'm sorry it didn't work for you right on the first time. As I mentioned we have this issue logged, along with some sample files for us to test against new/revised code. Most boolean operations should work reliably but there's certain cases where the code does fail. I understand it can be frustrating. We are doing our best to fix those and other issues. Thanks for your understanding.

Share this post


Link to post
Share on other sites

Hi, Markee,

You just got lucky. I've been using Designer for over a year now, a minimum of 2 hours a day, sometimes 6, and this is the 1st time I've run into this. As toltec mentioned, the usual practice would be to convert the ellipse to a donut/pie.

Also, I messed w. various shapes of triangles. Didn't get the problem. Seems like this problem is limited 2 those 2 shapes, in exactly that alignment.


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

Share this post


Link to post
Share on other sites
On 11/7/2018 at 11:04 AM, toltec said:

It would be easier to do that with a single Pie shape. Then you get all the benefits of Affinity's dynamic shape editing.

Hi. Yes the pie tool is great. Thanks for the heads up.

Share this post


Link to post
Share on other sites
On 11/7/2018 at 1:00 PM, gdenby said:

You just got lucky. I've been using Designer for over a year now, a minimum of 2 hours a day, sometimes 6, and this is the 1st time I've run into this

That's strange. I've just tried combining two shapes and the same problem. And this is the first time I've tried combining. So two attempts and both fails. I get weird shapes. I'm following the tutorial video here: https://vimeo.com/153090767. I've made the "blood" shapes at the top of the page and then tried to combine the tear drop shape (using the ALT key so it is non-destructive). And it just produces weird shapes. Although after trying several times it now works and I can't now get it to not to work (I'd have liked to have posted it on here)!

Share this post


Link to post
Share on other sites

Hi Markeeee,
Currently there's an issue with smart nodes/boolean operations as used in that video that makes the operation to fail. To work around the issue select the all the smart nodes (draw a marquee around all nodes) from the bigger shape with the Node Tool and convert them to Smooth Nodes clicking the respective icon in the Convert section in the context toolbar. You should then be able to perform the boolean operation as described in the tutorial.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.