Jump to content
jepessen

Fill intersection area of polygons defined with pen tool

Recommended Posts

I draw two triangles with the Pen Tool. they intersect each other. How can I fill the intersection region with a color? I've tried the Fill Tool with no success.

post-46059-0-39928500-1482077988_thumb.png

Share this post


Link to post
Share on other sites

Please have in mind, that the triangle you singled out is not an object according to the object model of Affinity Designer. It is just you, who is seeing a triangle there, but Affinity Designer is recognizing only two objects, namely the two curves listed in the Layers panel. In order to make your triangle a vector object, you will have to apply a Boolean Operation. Select both curves and choose Layer > Geometry > Divide (or click the respective button on the main toolbar). Now you will see three objects in your layers list, and one of these objects is the desired triangle. Select this new object and adjust the object properties as desired.

 

Note-1 Unfortunately, the Divide operation is still buggy, so you might get additional objects that have to be deleted.

Note-2 The Fill Tool of the Pixel Persona is applicably only to pixel layers.

 

Hope that helps …  :)

Alex

post-1198-0-29418300-1482099279_thumb.png

Share this post


Link to post
Share on other sites

Regarding Note-2, you can work around this with a few more steps (probably takes more time to describe it than it takes to do it).

 

Add a new pixel layer and select it

Change to the Pixel Persona

Use the Selection Brush tool

Set it to Snap to edges, All layers, and a size smaller than the intersection triangle area.

Drag a little inside the intersection triangle

You might want to use the Select menu, Grow/Shrink to expand the selection by 1 pixel or thereabouts.

Use the bucket Flood Fill tool on the selected area

Deselect

Place the pixel layer underneath the triangles, so the triangles obscure any tiny imperfections in the fill edge.

Share this post


Link to post
Share on other sites

Yet another way to do this, which is useful if you want to retain the original shapes & avoid using pixels, is to duplicate both objects, select one copy of each shape, & use the Intersect boolean to create the third shape.

 

Of course, none of these techniques preserves the correct intersected shape if you edit either of the other ones, but with either vector shape based method, at least you can snap the nodes of the intersected shape to the geometry of the altered ones afterwards.


Affinity Photo 1.7.2, Affinity Designer 1.7.2, Affinity Publisher 1.7.2; macOS High Sierra 10.13.6 iMac (27-inch, Late 2012); 2.9GHz i5 CPU; NVIDIA GeForce GTX 660M; 8GB RAM
Affinity Photo 1.7.2.153 & Affinity Designer 1.7.2.6 for iPad; 6th Generation iPad 32 GB; Apple Pencil; iOS 12.3.1

Share this post


Link to post
Share on other sites

Ok thanks for suggestions. I personally prefer to duplicate objects and create the intersection. I create another object, but this way I obtain only vector graphics.

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

×