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

Fine line issue when nesting a shape


Recommended Posts

I've faced this issue for a long time and I'm finally getting around to asking for help / trying to verbalise it.

 

I've attached a simple example.

 

In the example, there is an A converted to a curve. I want to cut part of the A away, so I make a shape and nest it under the A (or within the A; not sure of the correct terminology).

 

There is no stroke on the A. But you can see in the attached pic that nesting still leaves two light grey lines.

 

The problem is that these grey lines also pass over into .png or .jpg output.

 

If that shape wasn't nested (the shape is bigger than the part of the A it is covering) those lines, of course, wouldn't be there.

 

And I know I can use the shape to cut that part of the A away entirely (so a destructive subtraction).

 

But this is just an example to show what I'm talking about. Sometimes in more complex design situations I'd like to use this nesting concept but I face this thin grey line issue.

 

Usually I get around it by cleaning up a design and cutting or subtracting, etc. But I often lose time doing that on what are draft proposals that may not be accepted, whereas if I didn't have that line I could "show" the concept and it would be clean without having -- in a word -- to "flatten" the vector and get rid of such lines.

 

Am I missing something basic here?

 

 

 

ZowFjC5Rym.png

testA.afdesign

Link to comment
Share on other sites

  • Staff

Go to Preferences -> Performance and check 'Use precise clipping'. This has a very small performance overhead, but should resolve the issue for you. At export time, this setting would've been applied to any images you generate, so it would not have been visible in the exports. The reason for this being visible in the view by default is that it's an artefact you'll actually be able to find in most vector drawing software, introduced by the way that scanline rasterizers work and how you typically tend to implement clipping. We have a separate path that does something a little more clever, but it can't optimise away so much, so it's a tiny bit slower...

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.