Difference between revisions of "Line definition"

From wiki.fine.cz
Jump to navigation Jump to search
Line 10: Line 10:
|Line type
|Line type
|<sup>[[Legend of XML elements|[A]]]</sup> <code>Type</code>
|<sup>[[Legend of XML elements|[A]]]</sup> <code>Type</code>
|Direction of line [deg]
|Type of line defined as <code>StandardLine</code> or <code>ElemeLine</code>
|(empty)
|(empty)
|-
|}
|Line origin
 
|<sup>[[Legend of XML elements|[E]]]</sup> <code>Origin</code>
==== StandardLine ====
|Origin of line X, Y value in [mm]
'''Example of Data XML'''
|0, 0
|-
|Line distance
|<sup>[[Legend of XML elements|[A]]]</sup> <code>Background</code>
|Distance of parallel lines [mm]
|(empty)
|-
|Line shift
|<sup>[[Legend of XML elements|[A]]]</sup> <code>Shift</code>
|Shift of next line (in direction of line) [mm]
|(empty)
|-
|Line definition
|<sup>[[Legend of XML elements|[E]]]</sup> <code>Line</code>
|Definition of the [[Line definition|line]], if there is more than 1 line definition, lines are drawn in sequence Line1->Distance->Line2->Distance->...->Line1->...
|(empty)
|}'''Example of Data XML'''


<code><Line Type="ElemLine"></code>
<code><Line Type="ElemLine"></code>

Revision as of 08:44, 1 June 2022

Used to store line definition.

Data XML definition

Property XML Description Default
Line type [A] Type Type of line defined as StandardLine or ElemeLine (empty)

StandardLine

Example of Data XML

<Line Type="ElemLine">

  <Elem Kind="Line" DX="2" DY="0" />

  <Elem Kind="Move" DX="-1" DY="1" />

  <Elem Kind="Line" DX="0" DY="-2" />

  <Elem Kind="Move" DX="7" DY="0" />

</Line>