mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
9711bb7474
- **PCB Exposure:** - (Add) Gerber file extensions: gko, gtl, gto, gts, gbl, gbo, gbs, gml - (Fix) Trailing zeros suppression mode and improve the parsing of the coordinate string (#492) - (Fix) Allow coordinates without number `XYD0*` to indicate `X=0` and `Y=0` - (Fix) Do not try to fetch apertures lower than index 10 when a `D02` (closed shutter) is found alone
53 lines
944 B
C#
53 lines
944 B
C#
/*
|
|
* GNU AFFERO GENERAL PUBLIC LICENSE
|
|
* Version 3, 19 November 2007
|
|
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
* Everyone is permitted to copy and distribute verbatim copies
|
|
* of this license document, but changing it is not allowed.
|
|
*/
|
|
namespace UVtools.Core.Gerber;
|
|
|
|
public enum GerberZerosSuppressionType : byte
|
|
{
|
|
/// <summary>
|
|
/// Do not omit zeros
|
|
/// </summary>
|
|
NoSuppression,
|
|
/// <summary>
|
|
/// Omit left zeros
|
|
/// </summary>
|
|
Leading,
|
|
/// <summary>
|
|
/// Omit right zeros
|
|
/// </summary>
|
|
Trail
|
|
}
|
|
|
|
public enum GerberPositionType : byte
|
|
{
|
|
Absolute,
|
|
Relative
|
|
}
|
|
|
|
public enum GerberUnitType : byte
|
|
{
|
|
Millimeter,
|
|
Inch
|
|
}
|
|
|
|
public enum GerberPolarityType : byte
|
|
{
|
|
Dark,
|
|
Clear
|
|
}
|
|
|
|
|
|
public enum GerberMoveType : byte
|
|
{
|
|
// G01
|
|
Linear,
|
|
// G02
|
|
Arc,
|
|
// G03
|
|
ArcCounterClockwise
|
|
} |