User Tools

Site Tools


cs:svg_icons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs:svg_icons [2020/07/16 01:45]
paolo_bolzoni
cs:svg_icons [2020/07/21 08:28] (current)
paolo_bolzoni m
Line 14: Line 14:
 Create a "​drawing area" starting from the origin (coordinate 0,0) and going top right. When drawing there is the first consideration to keep track of: Inkscape will scale the drawing assuming 96 pixels for inch. This bizarre number has origin in the typography and has been decided by the World Wide Web Consortium for CSS; for us it means that line thickness must be scaled. Create a "​drawing area" starting from the origin (coordinate 0,0) and going top right. When drawing there is the first consideration to keep track of: Inkscape will scale the drawing assuming 96 pixels for inch. This bizarre number has origin in the typography and has been decided by the World Wide Web Consortium for CSS; for us it means that line thickness must be scaled.
  
-    25.4/​96 ​0.2645833333333333+    25.4/​96 ​-> 0.2645833
  
 Qcad line thicknesses are limited by the dxf format and Inkscape only consider the style directly applied to the lines //not// the layer default. Here is how to get 1, 2, or 3 pixels-wide lines: Qcad line thicknesses are limited by the dxf format and Inkscape only consider the style directly applied to the lines //not// the layer default. Here is how to get 1, 2, or 3 pixels-wide lines:
Line 22: Line 22:
 | 0.53mm ​         | 2px            | | 0.53mm ​         | 2px            |
 | 0.80mm ​         | 3px            | | 0.80mm ​         | 3px            |
 +| 1.06mm ​         | 4px            |
  
 Keep the "​drawing area" rectangle to the widest pen you need (e.g., 0.80mm), this will make the next step easier. Keep the "​drawing area" rectangle to the widest pen you need (e.g., 0.80mm), this will make the next step easier.
 +
 +
 +=== Text ===
 +
 +Qcad has several ways to align the text from the placing point. But Inkscape understands only Bottom Left.
  
 ===== Inkscape ===== ===== Inkscape =====
Line 31: Line 37:
 Document Properties (File menu, or //Shift + Ctrl + d// allows to set up the correct document size. Use //resize page to content// putting as margin half the wideness of the drawing area line negative (e.g., for 0.80mm, put -1.5pixels). Document Properties (File menu, or //Shift + Ctrl + d// allows to set up the correct document size. Use //resize page to content// putting as margin half the wideness of the drawing area line negative (e.g., for 0.80mm, put -1.5pixels).
  
-Inkscape puts the name of the layers in the final .svg file `gtags; so it is possible to locate the layers and reorder with a simple text editor. Just move the `gtag remembering that the lines are drawn in the order they appear in the file, so the last tag will appear on everything else.+Inkscape puts the name of the layers in the final .svg file ''​g'' ​tags; so it is possible to locate the layers and reorder with a simple text editor. Just move the ''​g'' ​tag remembering that the lines are drawn in the order they appear in the file, so the last tag will appear on everything else.
  
 ===== svgcleaner ===== ===== svgcleaner =====
cs/svg_icons.1594863939.txt.gz ยท Last modified: 2020/07/16 01:45 by paolo_bolzoni