Mindflow Posted September 19, 2017 Posted September 19, 2017 When drawing elements to be cut on a laser cutter, setting up a document in mm is very helpful. Unfortunately, the common interchange file format for this kind of device is SVG. While the file format supports measurements in defined units, Designer converts to pixels during the export, which means that after import, the dimensions have to be recalculated. Therefore, it would be great to have the option to preserve the units from the document during export, such that a 50x150mm rectangle is exported just as such. tim1724, jlgarcia, lepr and 3 others 6 Quote
tim1724 Posted November 2, 2017 Posted November 2, 2017 Yes please! I've run into this exact problem. Right now Affinity Designer can export with pixel dimensions (when "set viewBox" is unchecked) or with height="100%" width="100%" (when "set viewBox" is enabled). I'd like to have a third option, to set the height and width using the actual dimensions of the artboard, in either mm or inches. (Ideally one could choose the unit in the SVG export options, but just using the document units would also be acceptable.) Otherwise one has to play the "guess what dpi setting the software on the other end uses" game, which is never fun. (And even worse is when you need to open your SVG in multiple programs, which all assume different default dpi settings.) Brian M and jlgarcia 2 Quote
WhiteX Posted December 1, 2017 Posted December 1, 2017 Same here. Please give us the possiblity to export in physical sizes with changeable DPI settings in the export panel too. Or at least convert the values that we put in mm to px. Now if we introduce a value that's not px, ignores it completely. Thanks! jlgarcia 1 Quote Branding, Identity Design, UI/UX Design. | https://whitex.design
tim1724 Posted December 29, 2017 Posted December 29, 2017 Can we please get this in 1.7? When using AD to generate designs for a laser cutter (or any other CNC machine) it saves a ton of time and frustration if the SVG has real units. There's nothing worse than wasting a $20 piece of wood (and who knows how much time) because I didn't notice that the SVG was scaled wrong. jlgarcia 1 Quote
WhiteX Posted April 13, 2018 Posted April 13, 2018 @serif Any news on this? jlgarcia 1 Quote Branding, Identity Design, UI/UX Design. | https://whitex.design
angusware Posted May 31, 2018 Posted May 31, 2018 I have found a workaround, of sorts: 1. Set up the document units to pixels, and use pixel measurements in place of millimetres, e.g. if desired size is 100mm, make object 100px. 2. Export the document using the export option in the file menu, select 'SVG (for web)'. Click 'More' for extra options. 3. Deselect 'Set viewBox' and select 'Add line breaks'. Export the file. 4. Open the SVG file in a text/code editor and locate this line: <svg width="100px" height="100px" version="1.1" 5. Change the 'px' units to 'mm'. Save the document. 6. Open the modified document in your desired software. This works with the software I have tested it with. Mindflow, pendragyn and tim1724 3 Quote
amathewson Posted February 25, 2019 Posted February 25, 2019 It seems that you can copy and paste SVG without loosing dimensional accuracy so you can copy your design and paste into Illustrator etc. But dimensional accuracy upon export would be best. Quote
grahamstinson Posted May 30, 2020 Posted May 30, 2020 I'm in the same boat, and have been experimenting. What I've found is that if you set the resolution to 96 dpi and turn all additional options to OFF (deselected), the SVG will output at 100% size. I haven't tested that thoroughly, but I managed to get it to work on one of my projects. Please let me know if that works for you too. Quote
matt.baker Posted October 24, 2020 Posted October 24, 2020 This is really badly needed jlgarcia 1 Quote Highly recommended open source screen capture software (useful for bug reports). https://getsharex.com/
Eric Reinecke Posted January 11, 2021 Posted January 11, 2021 Any updates on this? I bought affinity solely for laser cutting - the scale issue is the one gotcha in an otherwise nice package. matt.baker 1 Quote
Abuzz Designs Posted January 27, 2021 Posted January 27, 2021 I had tried all of the suggestions here and none of them worked. What did work was exporting the svg with a dpi of 72 not 300. This fixed my issue. I hope this helps someone else. Quote
Terribel Posted September 4, 2022 Posted September 4, 2022 Same situation as the original poster; I bought Designer for the sole purpose of creating designs for laser cutting. Some tips from my experience: - I own a Glowforge, which expects 96 DPI (and some other settings in the SVG, like text converted to curves). You can create an export template In AD to easily. See attachment for the required settings - Most (all?) SVG files come with pixels as base unit. To change the units quickly, press "Z" for zoom, you can change the units in the settings there. - When I save an SVG and reopen it later in AD, dimensions are mixed up. This is because AD imports the SVG as 72dpi, while it had saved it as 96dpi. To reinstate the correct measurements: File > Document Setup > Dimensions: DPI from 72 -> 96. Hope this helps! Quote
tudor Posted September 4, 2022 Posted September 4, 2022 Just set the correct dimensions by editing the SVG in a text editor like so: Quote
Detour1234 Posted December 3, 2024 Posted December 3, 2024 Another workaround if you're OK with working in mm.... just set the DPI for the file to 25.4 (i.e. 1mm/px), then export to SVG using the document resolution. Then it outputs with the correct scaling. Now I have no idea what DPI has to do with a vector file, but I guess if you're going to export vectors in pixels (shaking my head here), then it almost makes sense if you squint just right. Of course, if DPI is that important, why isn't it included in the output file (more shaking of my head). Quote
Recommended Posts
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.