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

Recommended Posts

Hi,

just using the trial license to checkout Designer and hit a problem with the divide operation.

I'm trying to divide a line where it's intersected by a circle but when I do the divide operation the whole line just vanishes - not just visually but no longer listed in the layer pane.

What I'm I doing wrong please?

 

Before I click the divide button

before.thumb.PNG.9845fa84bd03bcfaaa5f886893dbb5db.PNG

 

After I click the divide button. The Ellipse has changed to a Curve and the original line (curve) that I was expecting to be divided into 2 curves has gone.

after.thumb.PNG.d94d90516b710aebf501bf14d078f4a1.PNG

 

before.PNG

Link to comment
Share on other sites

Boolean operations works only with closed areas.

2018-04-20_231928.thumb.png.36f2fec2239415745a8534f62c5b5a89.png

 

Your example would be called dividing by zero:-)

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Ah thanks Pšenda that make sense. 

Any idea how I can acheive this then as I need to create multiple lines starting from the center and going beyond the radius then delete the parts that are inside the circle - i.e. I want to create minute marks around a clock face.

Link to comment
Share on other sites

31 minutes ago, shedthings said:

I want to create minute marks around a clock face.

 

Instead of starting with the Ellipse Tool, use the Cog Tool. You’ll find that it’s very adjustable, so although it’s designed to allow easy creation of gearwheels you can actually use it to create a set of unconnected thin ‘cogs’ for your minute marks.

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

Draw circle. Draw first minute marks. Show Rotation Centre. Move it to circle center.

2018-04-20_235919.png.712d35c5de3f41f45b74371e9c134530.png

 

Copy minute mark (Ctrl + C, Ctrl + V), change Rotation to 30°.

2018-04-21_000247.png.22e02a8db7989d6c3c2940bca4c106c2.png

 

Ctrl + C, V, Rotation to 60, 90, 120, ......

2018-04-21_000644.png.18823b40031a577bd5b82c3d91dcc139.png

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Instead of copying, pasting and rotating the pasted copy, you can duplicate the first mark with Ctrl+J on Windows (or Cmd+J on a Mac) and then rotate the duplicate. This will allow you to use the ‘Power Duplicate’ feature, whereby subsequent use of the keyboard shortcut will result in the same amount of rotation being applied to each new duplicate.

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

1 hour ago, Pšenda said:

Boolean operations works only with closed areas.

Actually, they work on open paths too, but only if an open path defines an area -- IOW, not all of a path's nodes are in a straight line. So for example:

Booleans.png.9c12b1c6a1f5cb0ead7024f879f87bb7.png

The Divided result actually has 3 curves but I forgot to select all of them for the screenshot so only one red node is shown.

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 hours ago, Alfred said:

Instead of copying, pasting and rotating the pasted copy, you can duplicate the first mark with Ctrl+J on Windows (or Cmd+J on a Mac) and then rotate the duplicate. This will allow you to use the ‘Power Duplicate’ feature, whereby subsequent use of the keyboard shortcut will result in the same amount of rotation being applied to each new duplicate.

and to merge psenda & Alfreds input, angle is constrained to 15º increments by pressing the Shift key as you rotate.

 

Tick Tock, lets make a clock :)

5adaef6fccb78_PowerDuplicate.gif.b900791d235496d2ccf3d04bd5d605ec.gif

 

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

9 hours ago, R C-R said:

Actually, they work on open paths too,

 

Exactly - no.

Before operation open area is closing (this can be done by the user by connecting the endpoints of an open curve with a straight line) - and then the operation are done with "closed areas" :-)

However, your example would be helpful (it should be in Help), it is much more clear than a textual description of the operations.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

1 hour ago, Pšenda said:

Exactly - no.

Before operation open area is closing (this can be done by the user by connecting the endpoints of an open curve with a straight line) - and then the operation are done with "closed areas" :-)

The result of a boolean operation may be one or more closed paths, but that does not mean that open paths need to be closed prior to the operation. All that matters is the area enclosed by the paths, exclusive of any stroke they might have. In this respect it is similar to how fills are applied to open curves:

areas.png.9af5486edc03489a2a1659b59a9f6836.png

Booleans even work on invisible paths with neither strokes nor fills. If they have dissimilar fills or strokes, the boolean applies the fill & stroke of the bottommost path to the result.

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

1 hour ago, R C-R said:

The result of a boolean operation may be one or more closed paths, but that does not mean that open paths need to be closed prior to the operation.

 

@Pšenda was simply pointing out that open paths are always closed (automatically by the program if not manually by the user) before a Boolean operation is performed.

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

The way I've come to think of the booleans is that they work with areas, implied, or explicit w a closed shape. So straight line vectors fail because there is no area under them.  Any visible stroke is only something "painted" onto the vector, and defines no area unless created by the "expand stroke" routine.

iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb,  AMD Radeon R9 M290 2048 Mb

iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil

Huion WH1409 tablet

Link to comment
Share on other sites

1 minute ago, Alfred said:

Pšenda was simply pointing out that open paths are always closed (automatically by the program if not manually by the user) before a Boolean operation is performed.

But are they actually closed before the operation is performed or is it just that the boolean math considers only the areas enclosed by the paths & enclose those areas with closed paths after the math is done? IOW, if the History panel broke these operations out into separate steps, would we see the close step(s) before or after the math step?

 

Right now that distinction doesn't matter (except possibly for identifying & eliminating any bugs associated with the boolean operations), but it might matter in the future if a scripting language was added, if the History panel was reworked to show more 'internal' detail, etc.

 

Regardless, it is just my opinion but I think it is best to avoid saying anything that suggests or implies the booleans only work on closed areas because that is not true no matter how it works internally.

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

28 minutes ago, R C-R said:

But are they actually closed before the operation is performed or is it just that the boolean math considers only the areas enclosed by the paths & enclose those areas with closed paths after the math is done?

 

To answer that, try a ‘Divide’ (or whatever) followed by ‘Undo’.

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

1 hour ago, Alfred said:

To answer that, try a ‘Divide’ (or whatever) followed by ‘Undo’.

That just returns the document to the step before the boolean was performed, making open paths that were closed open again, so I am not sure what I should deduce from that.

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

4 hours ago, R C-R said:

That just returns the document to the step before the boolean was performed, making open paths that were closed open again, so I am not sure what I should deduce from that.

 

I’m not sure now, either! :$ I guess I was thinking that if it worked like Alt-dragging to create a duplicate there would be a separate ‘Close all selected curves’ step in the History (so that a single ‘Undo’ would leave the curve closed).

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.