title: Programming printable 2d-graphics
body: <p>I want to create parametric graphics that can be printed exactly on any printer:</p>
  
  <ul>
  <li>setup some constants,</li>
  <li>create some points,</li>
  <li>create some lines with different line widths and line patterns between those points (a little bit like creating 3d-objects with OpenScad).</li>
  </ul>
  
  <p>A simple example would be to print the net of a cube that can be printed on paper, cut and glued together.</p>
  
  <p>I see following options:</p>
  
  <ul>
  <li>use a normal programming language like Java and a pdf-creation library (see <a href="https://stackoverflow.com/questions/28294987/">this question</a>)</li>
  <li>program using SVG (can this be printed exactly?)</li>
  </ul>
  
  <p>What other options do you see or can you share experiences about the above options?</p>