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

Recommended Posts

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

Link to comment
Share on other sites

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.

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

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 workO.o

 

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

That might be why!:)

 

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

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;

 

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

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 workO.o

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.

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

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.

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

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.

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

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.

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

If you straighten the top edge of the large black shape, Subtract will work.

Prior to subtract with top line left as is
2021394405_ScreenShot2018-08-18at07_46_37.thumb.png.2b702d4ef69cfa85932a0e51bbdabfd5.png

End result of subtract with top line left as is
1648929076_ScreenShot2018-08-18at07_47_36.png.4dce0f4aa4b8dd0a1f3580e49ecd3704.png

Line straightened prior to subtract being applied
862558062_ScreenShot2018-08-18at07_48_01.thumb.png.debcfa981ac5ead6bbf8acc99cd49cb9.png

End result of Subtract after top line was straightened
527888719_ScreenShot2018-08-18at07_48_16.png.307091072e527fc403003ee3904b76f9.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

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.

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

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.

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

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.

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

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.