increpare Posted December 21, 2019 Posted December 21, 2019 (edited) Affinity Designer Version : 1.7.3 OS: MacOS 10.15.1 (19B88) Reprodcability: every time Problem with new file also?: I've been able to reproduce it by pasting these shapes into a new file. Select all, press what I assume is the "add" button (I use affinity designer in German) notice that my shape now has a giant hole in it If I move the right shape slightly before doing this this behaviour no longer happens. It seems to be related to the fact that both shapes have some vertices at the same positions? This came up trying to tidy up very messy vector stuff imported from Goodnotes on iPad. ( Just started trying out affinity designer today - other than this I've been having lots of fun ) test2.afdesign Edited December 21, 2019 by increpare Quote
loukash Posted December 21, 2019 Posted December 21, 2019 (edited) Select one of the paths with the Node Tool, click the Reverse Curves button in the Context Toolbar, then select both paths, then Add. But yeah, it's definitely not very obvious what's going on here. Edited December 24, 2019 by loukash Not a solution to this problem Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted December 21, 2019 Posted December 21, 2019 3 minutes ago, loukash said: Select one of the paths with the Node Tool, click the Reverse Curves button in the Context Toolbar, then select both paths, then Add. Hm… wait. It worked after I have done "something" else to the paths, but it doesn't work on your fresh file. Needs more investigation… Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted December 21, 2019 Posted December 21, 2019 Do they need to be this exact shape and position? If you move one path only 0.1 px, then they add up as expected. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted December 21, 2019 Posted December 21, 2019 This intersection of paths is what's causing it: It's likely neither a bug nor a feature; it's math. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
increpare Posted December 21, 2019 Author Posted December 21, 2019 Hi, thanks for the thoughts >Do they need to be this exact shape and position? No, but I was trying to import a bunch of data, and this happens a lot. I just spent an hour or so manually going through all the changes and fixed things up manually. Without a fix, I'll likely avoid this particular pipeline in future, though When I zoom right in the geometry looks like bad auto-generated output but nothing too pathological. There's also some freedom - I can move the point about a bit and the bug still happens. >It's likely neither a bug nor a feature; it's math. I don't I understand what you mean here - that it could be a tricky algorithm/precision problem that might be hard to fix? Quote
loukash Posted December 21, 2019 Posted December 21, 2019 22 minutes ago, increpare said: I don't I understand what you mean here - that it could be a tricky algorithm/precision problem that might be hard to fix? What I mean is that 1 + -2 = -1 That might be the case here. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted December 21, 2019 Posted December 21, 2019 Alright, there is some kind of a strange behavior in ADesigner. This is what happens when "adding" a complex closed form with crossing path: This is what Illustrator CS5 does with exactly the same two vector paths, using the "Vereinen" (= unite/merge/combine; no idea how it's called in the English version) Pathfinder function: In theory both results should be the same, but only Illustrator does the logical thing and simply creates an outline of both forms. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
tobys-brain Posted December 24, 2019 Posted December 24, 2019 I seem to be having at least a very similar problem. I have had it occur both when trying to combine two shapes as well as trying to subtract one shape from another. In each case, all the nodes combine onto one layer, but instead of either creating one larger shape (in the “add” instance), one of the shapes is filled in, the other is empty, or (in the “subtract” instance), the smaller shape that should be the “hole” in the larger shape fills in and the larger shape is empty (again, all the nodes still there). I attempted to use the reverse function in the context tool bar, but got the same results. One thing I did notice, though, after trying to add two shapes, based on some comments in this thread, I started inspecting to see if I had any overlapping nodes that would cause that “math” issue someone brought up. I found that every node on the filled in shape was doubled now. I could select each node one by one and move it around and there was still the original node in its original place. After moving the duplicate node around, the space between them would fill the way it should be. I could go around one by one deleting the duplicate nodes, but that’s not efficient. I’m not sure if this is a bug or if I’m screwing something up. Sometimes the functions work, sometimes this happens. The fact that every node on the infilled portion is doubled should be an indication of something, I just don’t know what. To me, a non-technically minded artist with a history of not getting along with the digital world (seriously, technology just seems to have something against me. My wife works in IT, and whenever I have a technical problem and get her into my studio to help me out, things just seem to work for her and she doesn’t see my problem), it would appear that somewhere in the process of trying to combine or subtract shapes, one of the shapes is being duplicated resulting in an empty fill. No idea what to do about that. Toby Quote
Staff Patrick Connor Posted December 24, 2019 Staff Posted December 24, 2019 Sorry you are having problems. We have been working again on Boolean operations. These changes are in a (currently internal only) Affinity Designer 1.8.0 build. Please can you retry these problem cases once the next Designer beta is posted in the beta area of the forums (and report your findings there). Thanks. Sean P 1 Quote Patrick Connor Serif Europe Ltd Latest V2 releases on each platform Help make our apps better by joining our beta program! "There is nothing noble in being superior to your fellow man. True nobility lies in being superior to your previous self." W. L. Sheldon
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.