Skip NavigationMenu

9.01 SVG Files

The MDA can sketch images based on the SVG format.

SVG stands for Scalable Vector Graphics and has an extensive set of commands to create images, with basic shapes like lines, rectangles, circles, etc. that can be assigned properties like solid, dashed, colours, filled shapes, etc., etc. As you might understand, for images to be sketched on the MDA, only a limited subset of these SVG properties can and will be used. Although the MDA software can read any type of SVG file and will show a full preview of this file in the interface, only a limited set of these properties can be processed and sketched on the MDA itself. Presently, the MDA supports the following SVG elements:

  • Line, Polyline and Polygon – all lines will be sketched as solid lines. Style data like thickness, endpoints, etc. will be ignored
  • Circle and Ellipse – only solid outlines, all style data will be ignored
  • Rectangle – only solid outlines, style data for rounded corners is supported, all other style data will be ignored
  • Path – only solid outlines

Other SVG elements and style data is not supported by the SVG interpreter of the MDA.

Note that tools like Adobe-Photoshop can output SVG format files. However, what Photoshop (and other programs) sometimes do is embed a JPG or PNG pixel type file inside an SVG file. The core of those files remains a pixel file, which cannot be sketched by the MDA. If the MDA interfaces encounters files with embedded pixel files, it will display the warning: “non-sketchable elements” below the image preview. However, seeing that the file itself may contain both sketchable and non-sketchable elements, it is up to you whether or not to sketch the image. In the case of an SVG image with only pixel content, only the right-up marker will be sketched.

Instructions for drawing your own SVG images

  • There are many tools that can create SVG format images, a popular and free tool is Inkscape. However, make sure that the selected tool will create “real” SVG images, i.e. an image with vector elements instead of embedded pixel images.
  • The MDA will always scale the created image to A4 format, and rotate the image as needed so that the maximum amount of sketchable area is used. Even so, when creating a new drawing, start with an empty A4 template
  • On the A4 template, you can fully use the A4 area, up to the edges of the “paper” to create your image. However, keep in mind that the MDA has a margin of approximately 5 mm from the edge of the A4, and will resize your drawing if part of your drawing lies within this margin. As such it is good practice to not draw within 5 mm from the edge.
  • Although the MDA sketching software ignores line thicknesses, it is advised to give all elements a thickness of 3 pixels. The reason for this is that the previews of the images are much smaller than an A4, and as such a 1 pixel lines will be difficult to see in the preview image, while 3 pixel lines are easy to see in the preview image.

Make images on scale 1:1 and use measuring with TactiPad

As mentioned above, the MDA will resize any image with another format than A4. Even with an A4 image, the MDA will resize the image in case there has been drawn within the 5 mm margin. In order to create drawings that will not be resized, and for which you want to use the measuring equipment (measurement indicators and ruler) of the TactiPad, do as follows:

  • Use an A4 template, and make sure in your settings that the width and height are set to 210×297 mm or 297×210 mm, and that the viewbox is set to 0-0-297-210 or 0-0-210-297 as well.
  • Do not draw in the outer margin of 5 mm
  • As the measuring indicators of the TactiPad have a spacing of 5 mm, and start at the exact position 0, 0 (left top of the page), start your drawing at 5, 10, 15, etc. mm from the top and left edge of the page, so it aligns with a measuring indicators.