Struct gerber_types::MoirePrimitive [] [src]

pub struct MoirePrimitive {
    pub center: (MacroDecimal, MacroDecimal),
    pub diameter: MacroDecimal,
    pub ring_thickness: MacroDecimal,
    pub gap: MacroDecimal,
    pub max_rings: u32,
    pub cross_hair_thickness: MacroDecimal,
    pub cross_hair_length: MacroDecimal,
    pub angle: MacroDecimal,
}

The moiré primitive is a cross hair centered on concentric rings (annuli). Exposure is always on.

Fields

X and Y coordinates of center point, decimals

Outer diameter of outer concentric ring, a decimal >= 0

Ring thickness, a decimal >= 0

Gap between rings, a decimal >= 0

Maximum number of rings

Cross hair thickness, a decimal >= 0

Cross hair length, a decimal >= 0

Rotation angle of the moiré primitive

The rotation angle is specified by a decimal, in degrees. The primitive is rotated around the origin of the macro definition, i.e. the (0, 0) point of macro coordinates.

Note: Rotation is only allowed if the primitive center point coincides with the origin of the macro definition.

Trait Implementations

impl Debug for MoirePrimitive
[src]

Formats the value using the given formatter.

impl PartialEq for MoirePrimitive
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<W: Write> GerberCode<W> for MoirePrimitive
[src]