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

Recommended Posts

While drawing a motorcycle rear sprocket can't get the inner holes to be "transparent"(had to fill with white background).  This is usually an easy task with square and round shapes but could not figure it out from this more complex sketch imported from a CAD software.  Affinity also lacks from a DXF or DWG import filter. 

Sprocket.afdesign

Link to comment
Share on other sites

15 hours ago, PixelPest said:

Open "Group" and select everything inside (11 white parts + 1 black) and do -> Boolean Subtract; everything looks black now-

Go->Layer->Fill Mode->Alternate (Even-odd) - there you have it:

Alternately, to avoid everything looking black select all the layers in the group, change their fill mode to Alternate first, & then do the subtract. (Some may find this a bit less disconcerting.)

You can also hold down the alt key when you do the subtract to create a "(Compound)" object, which allows future access to the individual curves. Sprocket compound.afdesign includes the History so you can see the steps.

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

When you hold alt key down during Boolean Subtract there´s no need to change the fill rule at all - and I´m pretty sure the OP was about 1 compound path (Curves in AD) though. And if one´s so smart to avoid the black result he could alternatively reverse the curve of the outer shape - but he needs to know which ones turns left and which one´s the clockwise lactic acid. B|

Cheers

Link to comment
Share on other sites

31 minutes ago, PixelPest said:

When you hold alt key down during Boolean Subtract there´s no need to change the fill rule at all - and I´m pretty sure the OP was about 1 compound path (Curves in AD) though.

You are right about no need to change the fill rule with an alt key subtract, but I am not sure what you mean about 1 compound path being a "(Curves)" object in AD, if that is what you meant. "(Curves)" & "(Compound)" objects are two different things in Affinity.

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

Compounds seems Serif own interpretation/label. While in all vector apps I know of a compound path is a bunch of paths-in-1-shape (geometry->Merge in AD) or whatever you may call it - Compounds in AD are a selection of shapes mangled by Boolean operations (in a non-destructive way). I can of course pick parts of a compound path (Curves labeled in AD) and edit it any further.

Link to comment
Share on other sites

1 hour ago, PixelPest said:

Compounds in AD are a selection of shapes mangled by Boolean operations (in a non-destructive way). I can of course pick parts of a compound path (Curves labeled in AD) and edit it any further.

I am still a bit unclear about what you mean about a "(Compound)" layer being labeled as a "(Curves)" layer, if that is what you are saying.

A "(Compound)" layer is a special type of container layer, similar to a "(Group)" layer, except that its child layers can be accessed directly & their boolean contribution to their compound parent can be changed individually.

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

21 hours ago, PixelPest said:

All I´m saying is Compound Paths are labeled Curves in AD like in no other vector app I know of.

I am saying the individual layers in a compound layer object may or may not be "(Curve)" layers, depending on what type of object they are. They may be assigned custom names (like "path856") or not, but they always have a "(Compound)" label. They are particularly useful because of all the non-destructive operations that can be applied to their layers:

compounds.jpg.3b2488ce29b99ea6caf6084983995424.jpg

Compound examples.afdesign

EDIT: I am slightly disappointed that nobody has commented on the names I assigned to the compounds & their child layers. :71_smiling_imp:

Edited by R C-R

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

18 hours ago, R C-R said:

EDIT: I am slightly disappointed that nobody has commented on the names I assigned to the compounds & their child layers. :71_smiling_imp:

You could have lessened the scope for disappointment by including a screenshot of the Layers panel so that we wouldn’t have to download and open the file in order to see those names. ;)

Edit: I am slightly disappointed (how’s that for originality?) that the Sting one didn’t involve an ‘Add’ operation.

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

On 9/10/2019 at 1:18 PM, R C-R said:

You can also hold down the alt key when you do the subtract to create a "(Compound)" object, which allows future access to the individual curves. Sprocket compound.afdesign includes the History so you can see the steps.

Oooh didn't know about that ... that's kind of neat. I like the way you can adjust the modes (add, subtract, intersect etc), for each internal layer too.

I'm now wondering if you can 'flatten' a compound object back out to a non-compound shape - ie. the result as a single vector layer.

EDIT: Yes it's right there in the context menu - convert to curves! Nice!

Edited by Dazzler
Link to comment
Share on other sites

5 minutes ago, Dazzler said:

I'm now wondering if you can 'flatten' a compound object back out to a non-compound shape - ie. the result as a single vector layer.

Convert to curves. :)

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

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.