machine_instance.svg 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <svg xmlns="http://www.w3.org/2000/svg" width="700" height="1010">
  3. <defs>
  4. <path id="stack-header" d="m0,50 v-30 a20,20 0 0 1 20,-20 h260 a20,20 0 0 1 20,20 v30 z" />
  5. <marker id="arrow" refX="2" refY="1.5" markerWidth="3" markerHeight="3" orient="auto-start-reverse">
  6. <polygon points="0,0 3,1.5 0,3" />
  7. </marker>
  8. </defs>
  9. <g stroke="black" stroke-width="5" fill="silver"> <!-- Stack headers. -->
  10. <use href="#stack-header" x="200" y="555" />
  11. <use href="#stack-header" x="5" y="5" />
  12. <use href="#stack-header" x="395" y="5" />
  13. </g>
  14. <g stroke="black" stroke-width="10" fill="none"> <!-- Stack outlines. -->
  15. <rect x="200" y="555" width="300" height="450" rx="20" /> <!-- Global stack. -->
  16. <rect x="5" y="5" width="300" height="450" rx="20" /> <!-- Left extruder. -->
  17. <rect x="395" y="5" width="300" height="450" rx="20" /> <!-- Right extruder. -->
  18. </g>
  19. <g font-family="sans-serif" font-size="25" dominant-baseline="middle" text-anchor="middle">
  20. <text x="350" y="582.5">Global stack</text> <!-- Slightly lowered since the top line is thicker than the bottom. -->
  21. <text x="350" y="630">User</text>
  22. <text x="350" y="680">Custom</text>
  23. <text x="350" y="730">Intent</text>
  24. <text x="350" y="780">Quality</text>
  25. <text x="350" y="830">Material</text>
  26. <text x="350" y="880">Variant</text>
  27. <text x="350" y="930">Definition changes</text>
  28. <text x="350" y="980">Printer</text>
  29. <text x="155" y="32.5">Left extruder</text> <!-- Slightly lowered again. -->
  30. <text x="155" y="80">User</text>
  31. <text x="155" y="130">Custom</text>
  32. <text x="155" y="180">Intent</text>
  33. <text x="155" y="230">Quality</text>
  34. <text x="155" y="280">Material</text>
  35. <text x="155" y="330">Nozzle</text>
  36. <text x="155" y="380">Definition changes</text>
  37. <text x="155" y="430">Extruder</text>
  38. <text x="545" y="32.5">Right extruder</text> <!-- Slightly lowered again. -->
  39. <text x="545" y="80">User</text>
  40. <text x="545" y="130">Custom</text>
  41. <text x="545" y="180">Intent</text>
  42. <text x="545" y="230">Quality</text>
  43. <text x="545" y="280">Material</text>
  44. <text x="545" y="330">Nozzle</text>
  45. <text x="545" y="380">Definition changes</text>
  46. <text x="545" y="430">Extruder</text>
  47. </g>
  48. <g stroke="black" stroke-width="5" marker-end="url(#arrow)"> <!-- Arrows. -->
  49. <line x1="155" y1="455" x2="345" y2="545" />
  50. <line x1="545" y1="455" x2="355" y2="545" />
  51. </g>
  52. </svg>