Jump to content

Recommended Posts

Posted

I just finally bought Designer, and now I have all three Affinity programs and I can quit Adobe! (or can I...?)

I need to export some vector images as SVG for output on a CNC machine. So the sizing is critical. When I import the image into my CAM software, the SVG files are tiny... I played around with the scaling, and it's 80.45% smaller than it should be. I've tried every SVG output, checked and unchecked all the boxes, even in "more". I've changed the units from pixels to inches to mm. Even if I open a previously saved SVG into Designer, I get huge files and they are automatically converted to pixels, even though they were never saved as pixels. And NEVER rasterized.

I feel this is a bug, not a feature. Not having a reliable scaling import/export function is a HUGE problem for professionals. Please advise a solution.

Posted

I would expect that most users of SVG would want the files to NOT specify an exact size.  This is because of the complexities of how web browsers (the primary intended consumer of SVG images) deal with scaling across different screen sizes and usages.

There probably needs to be an option on export to indicate whether or not the SVG should be saved with an exact size defined as part of the file to account for these alternative use cases for the format.

Posted

Hi EcoMouse,

Could this be down to the resolution of the file in question?

I've just tried a quick experiment exporting a 50 mm x 50 mm (141.73 px x 141.73 px) square as an SVG file from AD where the AD document is set to 72dpi. When opening the exported SVG again in AD it is the exact same size and opening in a code editor such as Brackets it shows the size to be 141.732 px x 141.732 px, so it appears to be maintaining the correct size.

Quote

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 142 142" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><rect x="0" y="0" width="141.732" height="141.732" style="fill:#0f0;"/></svg>

 

Is there a difference between the dpi of your source AD file and the dpi used by your CAM software?

Affinity Designer 2.5.7 | Affinity Photo 2.5.7 | Affinity Publisher 2.5.7
Affinity Designer Beta 2.6.0.3125 | Affinity Photo Beta 2.6.0.3125 | Affinity Publisher Beta 2.6.0.3125

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Posted

In playing around with 96 and 72 dpi... (I keep seeing 96 dpi referenced in here with this problem) 72 dpi does in fact maintain the same scaling from Affinity Designer to CAM. Also, having the box "Set viewBox" UNCHECKED under *MORE* menu. 72 dpi needs to be set in 3 places. The document set-up dialog, the first rasterize setting (nothing will be rasterized) and also under *MORE* Use DPI 72

Now this was on a Mac, where the default screen resolution is 72 dpi. Windows PCs may need to be 96 dpi.

But there needs to be a check box that maintains scale at 100% on export, regardless of document settings. As is the case with nearly every other vector based drawing program.

I would like to add that also having DXF support for export would take this program to the next level. But let's just start with polishing off the SVG support FIRST.

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.