{"id":900,"date":"2017-08-29T00:45:31","date_gmt":"2017-08-29T05:45:31","guid":{"rendered":"http:\/\/www.scorchworks.com\/Blog\/?p=900"},"modified":"2017-08-29T07:41:42","modified_gmt":"2017-08-29T12:41:42","slug":"k40-whisperer-input-svg-file-errors","status":"publish","type":"post","link":"https:\/\/www.scorchworks.com\/Blog\/k40-whisperer-input-svg-file-errors\/","title":{"rendered":"K40 Whisperer &ndash; Input SVG File Errors"},"content":{"rendered":"<p>K40 Whisperer is a bit finicky about the SVG files that it will accept.\u00a0 If you are importing files from sources other than a recent version of Inkscape (v.91 or v.92) you will likely be confronted with an error indicating that the SVG scale cannot be determined (i.e. \u201cCannot determine SVG scale.\u201d).\u00a0 This error or an error indicating that the\u00a0 \u201cUnits not set in SVG File\u201d is displayed when K40 Whisperer does not have enough information to conclusively determine the intended physical size of the design in the SVG file. K40 Whisperer attempts to provide some guidance to assist in getting the SVG file into a format with the needed information. However, the information provided is sometimes incomplete.\u00a0 I am working toward making K40 Whisperer more flexible with respect to the file formats it will accept but until that task is completed here are a couple of procedures to make your SVG files work with K40 Whisperer.<\/p>\n<p>Procedure Option A:<\/p>\n<ol>\n<ol>\n<li>Open a new SVG file in Inkscape <b>V.91<\/b> or newer.<\/li>\n<li>Select \u201cFile\u201d-\u201cImport\u201d to import the SVG design you want to use.<\/li>\n<li>Format the page size as needed (usually done by selecting \u201cFile\u201d-\u201cDocument Properties\u201d-\u201cResize page to drawing or selection\u201d)<\/li>\n<li>Verify the \u201cUnits\u201d are set to \u201cmm\u201d or \u201cinches\u201d in the \u201cCustom Size\u201d section of the \u201cPage\u201d Tab in the Document properties<\/li>\n<li>Save the new SVG file.<\/li>\n<\/ol>\n<\/ol>\n<p>Procedure Option B:<\/p>\n<ol>\n<ol>\n<li>Open the SVG file you want to use in Inkscape <b>V.92<\/b> or newer<\/li>\n<li>Selecting \u201cFile\u201d-\u201cDocuments Properties\u201d<\/li>\n<li>On the &#8220;Page&#8221; tab locate the \u201cScale x:\u201d value and note the value. \u00a0Change the value to another number and press enter. \u00a0The new value can be anything. \u00a0(Increasing the value by a small number like .001 makes it easy to change it back in the next step.)<\/li>\n<li>Change the \u201cScale x:\u201d value back to the original value and press enter.<\/li>\n<li>Verify the \u201cUnits\u201d are set to \u201cmm\u201d or \u201cinches\u201d in the \u201cCustom Size\u201d section of the \u201cPage\u201d Tab in the Document properties.<\/li>\n<li>Save the SVG file.<\/li>\n<\/ol>\n<\/ol>\n<p>These procedures will each result in an SVG file that contains the necessary information to indicate the real physical size intended for the SVG file. This information is partially encoded in the viewbox attribute which is added to the SVG file when either of these procedures are followed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>K40 Whisperer is a bit finicky about the SVG files that it will accept.\u00a0 If..<\/p>\n","protected":false},"author":1,"featured_media":903,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,5],"tags":[15],"_links":{"self":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts\/900"}],"collection":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/comments?post=900"}],"version-history":[{"count":5,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":910,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts\/900\/revisions\/910"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/media\/903"}],"wp:attachment":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/media?parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/categories?post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/tags?post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}