jefferis Posted August 17, 2018 Share Posted August 17, 2018 I'm trying to do something i could do in AI, but can't seem to do it here. What I want to do is punch a hole through a box background with the white box on the top so that the background would show through where the white box is. I.e., it would cut out that area from the background box. When I select intersect, it will only create a combination on the small box with the background color, not the opposite of a hole cut into the background box. What am I doing wrong? punch.afdesign Quote Link to comment Share on other sites More sharing options...
Alfred Posted August 17, 2018 Share Posted August 17, 2018 Unless I’ve misunderstood your description, you need to use the ‘Subtract’ command instead of the ‘Intersect’ command. The top object (the white box) will punch a hole in the object behind it. Quote Alfred 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 More sharing options...
jefferis Posted August 17, 2018 Author Share Posted August 17, 2018 I tried that but it doesn’t' work. What it does is fill the square with the background color. Try working with my file and see. I mean it doesn't punch through the background square to the canvas. Quote Link to comment Share on other sites More sharing options...
StuartRc Posted August 17, 2018 Share Posted August 17, 2018 was the file created in AD or imported from somewhere else? If you just recreate 2 squares coloured or not and use subtract as Alfred has suggested it works.... Using your file with the 2 objects it does not you are correct....I tried getting rid of graduation + Strokes+ changed colour + made objects same style + selected nodes and closed but still could not get it to work Quote Affinity Version 1 (10.6) Affinity Version 2.4.1 All (Designer | Photo | Publisher) Beta; 2.4 2.2356 OS:Windows 10 Pro 22H2 OS Build 19045.4046+ Windows Feature Experience Pack 1000.19053.1000.0 Rig:AMD FX 8350 and AMD Radeon (R9 380 Series) Settings Version 21.04.01 Radeon Settings Version 2020 20.1.03) + Wacom Intuous 4M with driver 6.3.41-1 Link to comment Share on other sites More sharing options...
jefferis Posted August 17, 2018 Author Share Posted August 17, 2018 I created the original in AI and imported to AD Quote Link to comment Share on other sites More sharing options...
StuartRc Posted August 17, 2018 Share Posted August 17, 2018 That might be why! Quote Affinity Version 1 (10.6) Affinity Version 2.4.1 All (Designer | Photo | Publisher) Beta; 2.4 2.2356 OS:Windows 10 Pro 22H2 OS Build 19045.4046+ Windows Feature Experience Pack 1000.19053.1000.0 Rig:AMD FX 8350 and AMD Radeon (R9 380 Series) Settings Version 21.04.01 Radeon Settings Version 2020 20.1.03) + Wacom Intuous 4M with driver 6.3.41-1 Link to comment Share on other sites More sharing options...
StuartRc Posted August 17, 2018 Share Posted August 17, 2018 Just recreate it in AD or Export as PDF from AI and try that route. If you want the object non-destructive then ALT Click Subtract..will create compound version Something I noticed that your file has 3 options for opacity on the colour panel....I hadn't seen that before (control click on opacity! black circle) Color;Noise;intensity; Quote Affinity Version 1 (10.6) Affinity Version 2.4.1 All (Designer | Photo | Publisher) Beta; 2.4 2.2356 OS:Windows 10 Pro 22H2 OS Build 19045.4046+ Windows Feature Experience Pack 1000.19053.1000.0 Rig:AMD FX 8350 and AMD Radeon (R9 380 Series) Settings Version 21.04.01 Radeon Settings Version 2020 20.1.03) + Wacom Intuous 4M with driver 6.3.41-1 Link to comment Share on other sites More sharing options...
jefferis Posted August 17, 2018 Author Share Posted August 17, 2018 thanks, I redid the squares and it works as you both said. Thanks. I do not see the opacity button. Kinda new to this. Quote Link to comment Share on other sites More sharing options...
Alfred Posted August 17, 2018 Share Posted August 17, 2018 2 hours ago, StuartRc said: Using your file with the 2 objects it does not you are correct....I tried getting rid of graduation + Strokes+ changed colour + made objects same style + selected nodes and closed but still could not get it to work For what it’s worth, I found that I could get it to work by duplicating the black object, intersecting the duplicate with the original and then subtracting the white rectangle from the new object thus created. Quote Alfred 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 More sharing options...
R C-R Posted August 18, 2018 Share Posted August 18, 2018 2 hours ago, αℓƒяє∂ said: For what it’s worth, I found that I could get it to work by duplicating the black object, intersecting the duplicate with the original and then subtracting the white rectangle from the new object thus created. It will work as expected if you select the black curve object & from Layer > Fill Mode switch it to use "Alternate (Even-Odd)," or do that on the "Curves" object that results from the subtraction. I assume the AI file was using the "Winding (Non-Zero)" fill mode instead. 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...
jefferis Posted August 18, 2018 Author Share Posted August 18, 2018 Wow, like speaking Greek... ??? Quote Link to comment Share on other sites More sharing options...
R C-R Posted August 18, 2018 Share Posted August 18, 2018 10 minutes ago, jefferis said: Wow, like speaking Greek... ??? If you mean about the fill mode, do a web search on "vector fill rule," which should show you links to pages like Adobe's Methods of combining objects, Wikipedia's Even–odd rule, Mozilla.org's fill-rule, & so on. 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...
Alfred Posted August 18, 2018 Share Posted August 18, 2018 2 hours ago, R C-R said: I assume the AI file was using the "Winding (Non-Zero)" fill mode instead. Ah, well spotted! Adobe Illustrator apparently uses "Winding (Non-Zero)" fill mode by default. Another way to achieve the desired result is to use the 'Divide' command before you use the 'Subtract' command. Quote Alfred 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 More sharing options...
firstdefence Posted August 18, 2018 Share Posted August 18, 2018 If you straighten the top edge of the large black shape, Subtract will work. Prior to subtract with top line left as is End result of subtract with top line left as is Line straightened prior to subtract being applied End result of Subtract after top line was straightened StuartRc 1 Quote 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 (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 More sharing options...
R C-R Posted August 18, 2018 Share Posted August 18, 2018 1 hour ago, αℓƒяє∂ said: Ah, well spotted! Adobe Illustrator apparently uses "Winding (Non-Zero)" fill mode by default. Which is a bit ... well ... odd considering what the previously mentioned Adobe Illustrator User Guide article Methods of combining objects says about the even-odd rule: Quote Even-odd fill rule Uses mathematical equations to determine if a point is outside or inside a shape. This rule is the more predictable rule because every other region within an even‑odd compound path is a hole, regardless of path direction. Some apps, such as Adobe Photoshop, use the even‑odd rule by default, so compound paths imported from these apps will use the even‑odd rule. 1 hour ago, αℓƒяє∂ said: Another way to achieve the desired result is to use the 'Divide' command before you use the 'Subtract' command. And yet another is to use the Node Tool's Context toolbar 'Reverse Curves' action on the black curve object before using the 'Subtract' command. 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...
Alfred Posted August 18, 2018 Share Posted August 18, 2018 2 hours ago, R C-R said: Which is a bit ... well ... odd considering what the previously mentioned Adobe Illustrator User Guide article Methods of combining objects says about the even-odd rule: Quote Even-odd fill rule Uses mathematical equations to determine if a point is outside or inside a shape. This rule is the more predictable rule because every other region within an even‑odd compound path is a hole, regardless of path direction. Some apps, such as Adobe Photoshop, use the even‑odd rule by default, so compound paths imported from these apps will use the even‑odd rule. Yes, it’s odd enough that Illustrator doesn’t use the “more predictable” rule, but it’s even odder that its stablemate Photoshop does use it. Quote Alfred 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 More sharing options...
R C-R Posted August 18, 2018 Share Posted August 18, 2018 6 hours ago, αℓƒяє∂ said: Yes, it’s odd enough that Illustrator doesn’t use the “more predictable” rule, but it’s even odder that its stablemate Photoshop does use it. I guess that is because both apps have been around for decades & Adobe decided with some justification that changing either one to match the other would be unacceptable to much of the user base of one or the other app. Illustrator began as an in-house Adobe project in 1985 but Adobe did not invent Photoshop, instead acquiring the rights to distribute it several years later. Maybe if in that era they decided to standardize on the even-odd rule for AI, things would be different, but it is probably too late now. 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.