Jump to content

Recommended Posts

Posted

Hello,

 

i'm working with Processing and svg exported from Designer.

It seems there is a prob for export and viewport size in pixels.

First, the size indication 100% on the viewbox, Processing read the svg size property and read 100 -> 100px/// not affinity Prob, but mine, i have to edit a script to automaticly change the size to the correct size from viewbox. It's annoying...


But the most big problem with svg is how it calculate the size in pixel.

My document is in pixel, my rules too, but the export size depend of the dpi export value to obtain a correct viewbox value in pixels!
and for the good part, at 100DPI, the output size of viewbox in pixels is correct, not 72 or 96 dpi but 100!


I've got the same problem to export svg to my laser cutter software, the svg is not at the good size! i have to draw a 10mm square as a measurement standard to verify the svg size at import

Is it me or is it a bug...

i lost few hours to understand that the pb come from Affinity setting and not Processing understand


regards

svg_size_2.png

svg_size1.png

svg_size_3.png

  • 2 months later...
  • Staff
Posted

Hi @mrbbp.the.one,

Can you attach your afdesign file?

When i try this with a 72DPI document and export to SVG, my viewport is the correct size, which is what i'd expected.  We also recommend a DPI of 72 when exporting for Cutting machines as confirmed on this FAQ 

 

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.