Jump to content

Recommended Posts

Posted

1. I made a pie and adjusted it so it forms half a circle

2. I duplicated it and flipped it and then snapped it onto the first pie so that it forms a whole circle.

As you can see there is a thin line in the middle where the 2 halves join, I cant seem to get rid of it no matter what snap settings I choose.

yPGPTw.png

  • Staff
Posted

Hi @bndesigner,

Welcome to the forums. 

Are the straight edges aligned on an integer pixel value? Do you view the design at 100% zoom?

Just out of interest. Wouldn't it be easier if you were to use the ellipse tool and Shift-drag to constrain it to a circle? 

Thanks,

Gabe. 

Posted
13 minutes ago, bndesigner said:

I cant seem to get rid of it no matter what snap settings I choose

Select one pie half and use the arrow key (left or right arrow key dependent to the selected pie half) once to position it accordingly.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted
19 minutes ago, GabrielM said:

Hi @bndesigner,

Welcome to the forums. 

Are the straight edges aligned on an integer pixel value? Do you view the design at 100% zoom?

Just out of interest. Wouldn't it be easier if you were to use the ellipse tool and Shift-drag to constrain it to a circle? 

Thanks,

Gabe. 

I have bought this software yesterday so I am trying to familiarize myself. I am not sure how to check if the edges are aligned on an integer pixel value, if you mean the X/Y coordinates on the transform tab then they are integers and not decimals.

Here is why I am trying to split a circle:

ayXKkQ.png

 

The 1 circle sits on top of 2 and 7 but I need it to be below 2, the easiest way to do this seems to split the 1 circle into 2 halves and put 1 half below 2, but I get the annoying line:

 

OapZF4.png

 

edit: I get the line on any zoom, from 50% to 200%

Posted
6 hours ago, bndesigner said:

split the 1 circle into 2 halves

You do not have to divide it. Just copy it, and from the top circle partially erase.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
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.

Posted
6 hours ago, bndesigner said:

I have attached the file :)

overlapingcircles.afdesign

In that file, the two ½ circles of the "1" group are Pie shapes, each with a total angle of 180°. There is nothing wrong with that, except they are not aligned on integer pixel boundaries. To see this, first make sure in Preferences > User Interface that the Decimal Places for Unit Types for the Pixels field is set to anything greater than zero (1 is the default):
1136873896_UIprefs.jpg.924f988910e8abbc27180f6e6553a2f5.jpg

Now, select one of the Pie shapes in the Layers panel:
233331989_Layerspanel.jpg.9c4002e8a0d7f4d1d8255531b8812b0b.jpg

Note that in the Transform panel, each of the X, Y, W, & H field values include factional pixel values:
418351259_xformpanel.jpg.629a9b527cc375da7eb742a09e818cf0.jpg

To remove the line gap, decrease the X value of the right Pie shape to eliminate the fraction & move it slightly to the left. Increase the X value of the left Pie shape to eliminate the fraction & move it slightly to the right.

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
11 minutes ago, R C-R said:

To remove the line gap, decrease the X value of the right Pie shape to eliminate the fraction & move it slightly to the left. Increase the X value of the left Pie shape to eliminate the fraction & move it slightly to the right.

Thanks, that does work and I have tested it before but I was really hoping there was a solution for the snapping tool to do it better. There seems to be always that line no matter what kind of 2 shapes that im snapping like these rectangles that Iv drawn:

sQ5Xlm.png

 

I have verified my settings and the Pixels value is set to 1.

  • Staff
Posted

Unless you view them at 100%, you will see the "gaps". It's just a visual thing and does not make it past the export. You can check this by using the pixel view mode. 

image.png

image.png

image.png

Posted
1 hour ago, GabrielM said:

It's just a visual thing and does not make it past the export.

Except when it does. Try exporting the attached line removal.afdesign file to PNG. The top pair of rectangles are snapped together such that the vertical edges are aligned, yet in the export (& in Retina pixel view mode) the gap is there.

The second pair of shapes demonstrates the gap issue of geometrically defines diagonals producing antialiasing effects, & the third pair demonstrates one of the ways to eliminate it (by overlapping the top shape slightly).

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

  • Staff
Posted
9 minutes ago, R C-R said:

Except when it does. Try exporting the attached line removal.afdesign file to PNG. The top pair of rectangles are snapped together such that the vertical edges are aligned, yet in the export (& in Retina pixel view mode) the gap is there.

The first example is not working because your document's dimensions doesn't have integer values. Fix that and ensure the objects also use integer values and the first example will export correctly without any gap.

Posted
1 hour ago, MEB said:

The first example is not working because your document's dimensions doesn't have integer values.

Yes, I know that. I just wanted to point out that even when, according to the Transform panel, both rectangles are aligned on integer pixel boundaries, if the document itself is not aligned to integer values, the gap appears, both in the export & in the Retina pixel view mode.

Sorry if I was not clear about that.

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

I am still having problems with these gap lines between objects. This time I am trying to draw objects with the pen tool on a triangle grid. Every time I try to draw a box there is a gap in the middle, I am using the UI Design snapping preset. Also the line appears in exported PNG files as well.

k3lFiv.png

Posted
5 hours ago, GabrielM said:

Can you attach the file in question, please? 

I have attached the file, I am guessing it has something to do with integer pixels but I don't know how to setup my document so that I can draw isometric objects without those lines.

linedemo.afdesign

  • Staff
Posted

It's the exact same issue. You're not using integer numbers. 

image.png

After you correct the values, it's all fine. Left- corrected, right-original. 

image.png

Posted
2 minutes ago, GabrielM said:

After you correct the values, it's all fine. Left- corrected, right-original.

I understand that I can manually change pixel values but my question is more on how to configure the snapping/grid so that it fits automatically? Its tiresome to texture this object and correct the pixel values for every little thing.

  • Staff
Posted

When using isometric, you will always get non-integer values. You would have to either don't use isometrics or manually adjust the values. 

Posted
10 hours ago, >|< said:

Your isometric grid can have integer pixel divisions horizontally. Change the first axis spacing from "64 px" to "1/sin(60)*64 px".

 

Thanks that was very helpful, I have finally managed to learn how stuff works somewhat:

 

blocksv2.png

 

I have learned that my biggest enemy is 2 curves with the same color next to each other, they always produce some thin line due to aliasing or whatever, so I have learned to use the boolean add wherever I can or if that's not possible I can create another curve on top of the 2 to "mask" them.

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.