Jump to content
Friksel

Different SVG Pathdata for destructive vs non-destructive boolean-operations

Recommended Posts

The resulting svg <path>s aren't the same when using destructive boolean operations vs non-destructive boolean-operations, but they should be equal. See attachments. For some strange reason it looks like the way the curve is calculated during svg export is different. Given test-file has no complex shapes at all, they are a circle and a rectangle.

Svg path-data after destructive Add:
"M123.032,25.006l124.594,0l0,60.104c35.593,0 64.49,28.897 64.49,64.49c0,35.593 -28.897,64.49 -64.49,64.49c-35.593,0 -64.491,-28.897 -64.491,-64.49l-60.103,0l0,-124.594Z"
Svg path-data after non-destructive Add / Compound path:
"M123.032,25.006l124.594,0l0,60.104c35.639,0.046 64.49,28.925 64.49,64.49c0,35.593 -28.897,64.49 -64.49,64.49c-35.593,0 -64.491,-28.897 -64.491,-64.49l-60.103,0l0,-124.594Z"

Steps to reproduce:
- open afDesigner file in attachment, merge the shapes using boolean add, export svg with given exportsettings (see attachment) and look at the svg
- open afDesigner file in attachment, merge the shapes using non-destructive boolean add (holding Alt + boolean Add click), export svg with given exportsettings (see attachment) and look at the svg 
- compare the svg <path> of both files

afDesigner 1.6.5.123

destructive add.svg

non-destructive add (compound).svg

tryout.afdesign

exportsettings.JPG


 

Share this post


Link to post
Share on other sites

Hi Friksel,

I've spoken to development and they've said they do slightly different things, so not too surprised at the different result, however I will be logging it so they can look at it further!

Thanks!

Share this post


Link to post
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

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.