altium: no idea what Region Kind=2 means, but at least the existence is noted

This commit is contained in:
Thomas Pointhuber 2020-10-26 13:49:32 +01:00
parent f74ffc5623
commit 7ec27c2a18
2 changed files with 11 additions and 3 deletions

View File

@ -1023,6 +1023,12 @@ AREGION6::AREGION6( ALTIUM_PARSER& aReader, bool aExtendedVertices )
case 1:
kind = ALTIUM_REGION_KIND::POLYGON_CUTOUT;
break;
case 2:
kind = ALTIUM_REGION_KIND::UNKNOWN_2; // TODO: what kind is this?
break;
case 3:
kind = ALTIUM_REGION_KIND::UNKNOWN_3; // TODO: what kind is this?
break;
case 4:
kind = ALTIUM_REGION_KIND::CAVITY_DEFINITION;
break;

View File

@ -87,8 +87,10 @@ enum class ALTIUM_REGION_KIND
COPPER = 0, // KIND=0
POLYGON_CUTOUT = 1, // KIND=1
BOARD_CUTOUT = 2, // KIND=0 AND ISBOARDCUTOUT=TRUE
CAVITY_DEFINITION = 3, // KIND=4
UNKNOWN_2 = 2, // KIND=2
UNKNOWN_3 = 3, // KIND=3
CAVITY_DEFINITION = 4, // KIND=4
BOARD_CUTOUT = 5, // KIND=0 AND ISBOARDCUTOUT=TRUE
};
enum class ALTIUM_RULE_KIND
@ -492,7 +494,7 @@ struct AREGION6
uint16_t component;
uint16_t subpolyindex;
ALTIUM_REGION_KIND kind; // I asume this means if normal or keepout?
ALTIUM_REGION_KIND kind; // I assume this means if normal or keepout?
std::vector<ALTIUM_VERTICE> vertices;