Skip to content
pcbnew.py_back 585 KiB
Newer Older
nats's avatar
nats committed
7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000
        """
        return _pcbnew.ZONE_CONTAINER_DrawWhileCreateOutline(self, *args)


    def GetBoundingBox(self):
        """GetBoundingBox(ZONE_CONTAINER self) -> EDA_RECT"""
        return _pcbnew.ZONE_CONTAINER_GetBoundingBox(self)


    def GetClearance(self, aItem=None):
        """
        GetClearance(ZONE_CONTAINER self, BOARD_CONNECTED_ITEM aItem=None) -> int
        GetClearance(ZONE_CONTAINER self) -> int
        """
        return _pcbnew.ZONE_CONTAINER_GetClearance(self, aItem)


    def TestForCopperIslandAndRemoveInsulatedIslands(self, aPcb):
        """TestForCopperIslandAndRemoveInsulatedIslands(ZONE_CONTAINER self, BOARD aPcb)"""
        return _pcbnew.ZONE_CONTAINER_TestForCopperIslandAndRemoveInsulatedIslands(self, aPcb)


    def IsOnCopperLayer(self):
        """IsOnCopperLayer(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_IsOnCopperLayer(self)


    def SetFillMode(self, aFillMode):
        """SetFillMode(ZONE_CONTAINER self, int aFillMode)"""
        return _pcbnew.ZONE_CONTAINER_SetFillMode(self, aFillMode)


    def GetFillMode(self):
        """GetFillMode(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetFillMode(self)


    def SetThermalReliefGap(self, aThermalReliefGap):
        """SetThermalReliefGap(ZONE_CONTAINER self, int aThermalReliefGap)"""
        return _pcbnew.ZONE_CONTAINER_SetThermalReliefGap(self, aThermalReliefGap)


    def GetThermalReliefGap(self, aPad=None):
        """
        GetThermalReliefGap(ZONE_CONTAINER self, D_PAD aPad=None) -> int
        GetThermalReliefGap(ZONE_CONTAINER self) -> int
        """
        return _pcbnew.ZONE_CONTAINER_GetThermalReliefGap(self, aPad)


    def SetThermalReliefCopperBridge(self, aThermalReliefCopperBridge):
        """SetThermalReliefCopperBridge(ZONE_CONTAINER self, int aThermalReliefCopperBridge)"""
        return _pcbnew.ZONE_CONTAINER_SetThermalReliefCopperBridge(self, aThermalReliefCopperBridge)


    def GetThermalReliefCopperBridge(self, aPad=None):
        """
        GetThermalReliefCopperBridge(ZONE_CONTAINER self, D_PAD aPad=None) -> int
        GetThermalReliefCopperBridge(ZONE_CONTAINER self) -> int
        """
        return _pcbnew.ZONE_CONTAINER_GetThermalReliefCopperBridge(self, aPad)


    def SetArcSegmentCount(self, aArcSegCount):
        """SetArcSegmentCount(ZONE_CONTAINER self, int aArcSegCount)"""
        return _pcbnew.ZONE_CONTAINER_SetArcSegmentCount(self, aArcSegCount)


    def GetArcSegmentCount(self):
        """GetArcSegmentCount(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetArcSegmentCount(self)


    def IsFilled(self):
        """IsFilled(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_IsFilled(self)


    def SetIsFilled(self, isFilled):
        """SetIsFilled(ZONE_CONTAINER self, bool isFilled)"""
        return _pcbnew.ZONE_CONTAINER_SetIsFilled(self, isFilled)


    def GetZoneClearance(self):
        """GetZoneClearance(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetZoneClearance(self)


    def SetZoneClearance(self, aZoneClearance):
        """SetZoneClearance(ZONE_CONTAINER self, int aZoneClearance)"""
        return _pcbnew.ZONE_CONTAINER_SetZoneClearance(self, aZoneClearance)


    def GetPadConnection(self, aPad=None):
        """
        GetPadConnection(ZONE_CONTAINER self, D_PAD aPad=None) -> ZoneConnection
        GetPadConnection(ZONE_CONTAINER self) -> ZoneConnection
        """
        return _pcbnew.ZONE_CONTAINER_GetPadConnection(self, aPad)


    def SetPadConnection(self, aPadConnection):
        """SetPadConnection(ZONE_CONTAINER self, ZoneConnection aPadConnection)"""
        return _pcbnew.ZONE_CONTAINER_SetPadConnection(self, aPadConnection)


    def GetMinThickness(self):
        """GetMinThickness(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetMinThickness(self)


    def SetMinThickness(self, aMinThickness):
        """SetMinThickness(ZONE_CONTAINER self, int aMinThickness)"""
        return _pcbnew.ZONE_CONTAINER_SetMinThickness(self, aMinThickness)


    def GetSelectedCorner(self):
        """GetSelectedCorner(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetSelectedCorner(self)


    def SetSelectedCorner(self, *args):
        """
        SetSelectedCorner(ZONE_CONTAINER self, int aCorner)
        SetSelectedCorner(ZONE_CONTAINER self, wxPoint aPosition)
        """
        return _pcbnew.ZONE_CONTAINER_SetSelectedCorner(self, *args)


    def GetLocalFlags(self):
        """GetLocalFlags(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetLocalFlags(self)


    def SetLocalFlags(self, aFlags):
        """SetLocalFlags(ZONE_CONTAINER self, int aFlags)"""
        return _pcbnew.ZONE_CONTAINER_SetLocalFlags(self, aFlags)


    def FillSegments(self, *args):
        """
        FillSegments(ZONE_CONTAINER self) -> std::vector< SEGMENT,std::allocator< SEGMENT > >
        FillSegments(ZONE_CONTAINER self) -> std::vector< SEGMENT,std::allocator< SEGMENT > > const &
        """
        return _pcbnew.ZONE_CONTAINER_FillSegments(self, *args)


    def Outline(self, *args):
        """
        Outline(ZONE_CONTAINER self) -> CPolyLine
        Outline(ZONE_CONTAINER self) -> CPolyLine
        """
        return _pcbnew.ZONE_CONTAINER_Outline(self, *args)


    def SetOutline(self, aOutline):
        """SetOutline(ZONE_CONTAINER self, CPolyLine aOutline)"""
        return _pcbnew.ZONE_CONTAINER_SetOutline(self, aOutline)


    def HitTestInsideZone(self, aPosition):
        """HitTestInsideZone(ZONE_CONTAINER self, wxPoint aPosition) -> bool"""
        return _pcbnew.ZONE_CONTAINER_HitTestInsideZone(self, aPosition)


    def HitTestFilledArea(self, aRefPos):
        """HitTestFilledArea(ZONE_CONTAINER self, wxPoint aRefPos) -> bool"""
        return _pcbnew.ZONE_CONTAINER_HitTestFilledArea(self, aRefPos)


    def TransformSolidAreasShapesToPolygonSet(self, aCornerBuffer, aCircleToSegmentsCount, aCorrectionFactor):
        """TransformSolidAreasShapesToPolygonSet(ZONE_CONTAINER self, SHAPE_POLY_SET & aCornerBuffer, int aCircleToSegmentsCount, double aCorrectionFactor)"""
        return _pcbnew.ZONE_CONTAINER_TransformSolidAreasShapesToPolygonSet(self, aCornerBuffer, aCircleToSegmentsCount, aCorrectionFactor)


    def BuildFilledSolidAreasPolygons(self, aPcb, aOutlineBuffer=None):
        """
        BuildFilledSolidAreasPolygons(ZONE_CONTAINER self, BOARD aPcb, SHAPE_POLY_SET * aOutlineBuffer=None) -> bool
        BuildFilledSolidAreasPolygons(ZONE_CONTAINER self, BOARD aPcb) -> bool
        """
        return _pcbnew.ZONE_CONTAINER_BuildFilledSolidAreasPolygons(self, aPcb, aOutlineBuffer)


    def AddClearanceAreasPolygonsToPolysList(self, aPcb):
        """AddClearanceAreasPolygonsToPolysList(ZONE_CONTAINER self, BOARD aPcb)"""
        return _pcbnew.ZONE_CONTAINER_AddClearanceAreasPolygonsToPolysList(self, aPcb)


    def AddClearanceAreasPolygonsToPolysList_NG(self, aPcb):
        """AddClearanceAreasPolygonsToPolysList_NG(ZONE_CONTAINER self, BOARD aPcb)"""
        return _pcbnew.ZONE_CONTAINER_AddClearanceAreasPolygonsToPolysList_NG(self, aPcb)


    def TransformOutlinesShapeWithClearanceToPolygon(self, aCornerBuffer, aMinClearanceValue, aUseNetClearance):
        """TransformOutlinesShapeWithClearanceToPolygon(ZONE_CONTAINER self, SHAPE_POLY_SET & aCornerBuffer, int aMinClearanceValue, bool aUseNetClearance)"""
        return _pcbnew.ZONE_CONTAINER_TransformOutlinesShapeWithClearanceToPolygon(self, aCornerBuffer, aMinClearanceValue, aUseNetClearance)


    def HitTestForCorner(self, refPos):
        """HitTestForCorner(ZONE_CONTAINER self, wxPoint refPos) -> int"""
        return _pcbnew.ZONE_CONTAINER_HitTestForCorner(self, refPos)


    def HitTestForEdge(self, refPos):
        """HitTestForEdge(ZONE_CONTAINER self, wxPoint refPos) -> int"""
        return _pcbnew.ZONE_CONTAINER_HitTestForEdge(self, refPos)


    def HitTest(self, *args):
        """
        HitTest(ZONE_CONTAINER self, wxPoint aPosition) -> bool
        HitTest(ZONE_CONTAINER self, EDA_RECT aRect, bool aContained=True, int aAccuracy=0) -> bool
        HitTest(ZONE_CONTAINER self, EDA_RECT aRect, bool aContained=True) -> bool
        HitTest(ZONE_CONTAINER self, EDA_RECT aRect) -> bool
        """
        return _pcbnew.ZONE_CONTAINER_HitTest(self, *args)


    def FillZoneAreasWithSegments(self):
        """FillZoneAreasWithSegments(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_FillZoneAreasWithSegments(self)


    def UnFill(self):
        """UnFill(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_UnFill(self)


    def Move(self, offset):
        """Move(ZONE_CONTAINER self, wxPoint offset)"""
        return _pcbnew.ZONE_CONTAINER_Move(self, offset)


    def MoveEdge(self, offset, aEdge):
        """MoveEdge(ZONE_CONTAINER self, wxPoint offset, int aEdge)"""
        return _pcbnew.ZONE_CONTAINER_MoveEdge(self, offset, aEdge)


    def Rotate(self, centre, angle):
        """Rotate(ZONE_CONTAINER self, wxPoint centre, double angle)"""
        return _pcbnew.ZONE_CONTAINER_Rotate(self, centre, angle)


    def Flip(self, aCentre):
        """Flip(ZONE_CONTAINER self, wxPoint aCentre)"""
        return _pcbnew.ZONE_CONTAINER_Flip(self, aCentre)


    def Mirror(self, mirror_ref):
        """Mirror(ZONE_CONTAINER self, wxPoint mirror_ref)"""
        return _pcbnew.ZONE_CONTAINER_Mirror(self, mirror_ref)


    def GetClass(self):
        """GetClass(ZONE_CONTAINER self) -> wxString"""
        return _pcbnew.ZONE_CONTAINER_GetClass(self)


    def GetNumCorners(self):
        """GetNumCorners(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetNumCorners(self)


    def RemoveAllContours(self):
        """RemoveAllContours(ZONE_CONTAINER self)"""
        return _pcbnew.ZONE_CONTAINER_RemoveAllContours(self)


    def GetCornerPosition(self, aCornerIndex):
        """GetCornerPosition(ZONE_CONTAINER self, int aCornerIndex) -> wxPoint"""
        return _pcbnew.ZONE_CONTAINER_GetCornerPosition(self, aCornerIndex)


    def SetCornerPosition(self, aCornerIndex, new_pos):
        """SetCornerPosition(ZONE_CONTAINER self, int aCornerIndex, wxPoint new_pos)"""
        return _pcbnew.ZONE_CONTAINER_SetCornerPosition(self, aCornerIndex, new_pos)


    def AppendCorner(self, position):
        """AppendCorner(ZONE_CONTAINER self, wxPoint position)"""
        return _pcbnew.ZONE_CONTAINER_AppendCorner(self, position)


    def GetHatchStyle(self):
        """GetHatchStyle(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetHatchStyle(self)


    def SetHatchStyle(self, aStyle):
        """SetHatchStyle(ZONE_CONTAINER self, CPolyLine::HATCH_STYLE aStyle)"""
        return _pcbnew.ZONE_CONTAINER_SetHatchStyle(self, aStyle)


    def IsSame(self, aZoneToCompare):
        """IsSame(ZONE_CONTAINER self, ZONE_CONTAINER aZoneToCompare) -> bool"""
        return _pcbnew.ZONE_CONTAINER_IsSame(self, aZoneToCompare)


    def ClearFilledPolysList(self):
        """ClearFilledPolysList(ZONE_CONTAINER self)"""
        return _pcbnew.ZONE_CONTAINER_ClearFilledPolysList(self)


    def GetFilledPolysList(self):
        """GetFilledPolysList(ZONE_CONTAINER self) -> SHAPE_POLY_SET const &"""
        return _pcbnew.ZONE_CONTAINER_GetFilledPolysList(self)


    def AddFilledPolysList(self, aPolysList):
        """AddFilledPolysList(ZONE_CONTAINER self, SHAPE_POLY_SET & aPolysList)"""
        return _pcbnew.ZONE_CONTAINER_AddFilledPolysList(self, aPolysList)


    def GetSmoothedPoly(self):
        """GetSmoothedPoly(ZONE_CONTAINER self) -> CPolyLine"""
        return _pcbnew.ZONE_CONTAINER_GetSmoothedPoly(self)


    def SetCornerSmoothingType(self, aType):
        """SetCornerSmoothingType(ZONE_CONTAINER self, int aType)"""
        return _pcbnew.ZONE_CONTAINER_SetCornerSmoothingType(self, aType)


    def GetCornerSmoothingType(self):
        """GetCornerSmoothingType(ZONE_CONTAINER self) -> int"""
        return _pcbnew.ZONE_CONTAINER_GetCornerSmoothingType(self)


    def SetCornerRadius(self, aRadius):
        """SetCornerRadius(ZONE_CONTAINER self, unsigned int aRadius)"""
        return _pcbnew.ZONE_CONTAINER_SetCornerRadius(self, aRadius)


    def GetCornerRadius(self):
        """GetCornerRadius(ZONE_CONTAINER self) -> unsigned int"""
        return _pcbnew.ZONE_CONTAINER_GetCornerRadius(self)


    def AddPolygon(self, aPolygon):
        """AddPolygon(ZONE_CONTAINER self, wxPoint_Vector aPolygon)"""
        return _pcbnew.ZONE_CONTAINER_AddPolygon(self, aPolygon)


    def AddFilledPolygon(self, aPolygon):
        """AddFilledPolygon(ZONE_CONTAINER self, SHAPE_POLY_SET & aPolygon)"""
        return _pcbnew.ZONE_CONTAINER_AddFilledPolygon(self, aPolygon)


    def AddFillSegments(self, aSegments):
        """AddFillSegments(ZONE_CONTAINER self, std::vector< SEGMENT,std::allocator< SEGMENT > > & aSegments)"""
        return _pcbnew.ZONE_CONTAINER_AddFillSegments(self, aSegments)


    def GetSelectMenuText(self):
        """GetSelectMenuText(ZONE_CONTAINER self) -> wxString"""
        return _pcbnew.ZONE_CONTAINER_GetSelectMenuText(self)


    def GetMenuImage(self):
        """GetMenuImage(ZONE_CONTAINER self) -> BITMAP_DEF"""
        return _pcbnew.ZONE_CONTAINER_GetMenuImage(self)


    def Clone(self):
        """Clone(ZONE_CONTAINER self) -> EDA_ITEM"""
        return _pcbnew.ZONE_CONTAINER_Clone(self)


    def GetIsKeepout(self):
        """GetIsKeepout(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_GetIsKeepout(self)


    def GetDoNotAllowCopperPour(self):
        """GetDoNotAllowCopperPour(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_GetDoNotAllowCopperPour(self)


    def GetDoNotAllowVias(self):
        """GetDoNotAllowVias(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_GetDoNotAllowVias(self)


    def GetDoNotAllowTracks(self):
        """GetDoNotAllowTracks(ZONE_CONTAINER self) -> bool"""
        return _pcbnew.ZONE_CONTAINER_GetDoNotAllowTracks(self)


    def SetIsKeepout(self, aEnable):
        """SetIsKeepout(ZONE_CONTAINER self, bool aEnable)"""
        return _pcbnew.ZONE_CONTAINER_SetIsKeepout(self, aEnable)


    def SetDoNotAllowCopperPour(self, aEnable):
        """SetDoNotAllowCopperPour(ZONE_CONTAINER self, bool aEnable)"""
        return _pcbnew.ZONE_CONTAINER_SetDoNotAllowCopperPour(self, aEnable)


    def SetDoNotAllowVias(self, aEnable):
        """SetDoNotAllowVias(ZONE_CONTAINER self, bool aEnable)"""
        return _pcbnew.ZONE_CONTAINER_SetDoNotAllowVias(self, aEnable)


    def SetDoNotAllowTracks(self, aEnable):
        """SetDoNotAllowTracks(ZONE_CONTAINER self, bool aEnable)"""
        return _pcbnew.ZONE_CONTAINER_SetDoNotAllowTracks(self, aEnable)

ZONE_CONTAINER_swigregister = _pcbnew.ZONE_CONTAINER_swigregister
ZONE_CONTAINER_swigregister(ZONE_CONTAINER)


_pcbnew.F_Cu_swigconstant(_pcbnew)
F_Cu = _pcbnew.F_Cu

_pcbnew.In1_Cu_swigconstant(_pcbnew)
In1_Cu = _pcbnew.In1_Cu

_pcbnew.In2_Cu_swigconstant(_pcbnew)
In2_Cu = _pcbnew.In2_Cu

_pcbnew.In3_Cu_swigconstant(_pcbnew)
In3_Cu = _pcbnew.In3_Cu

_pcbnew.In4_Cu_swigconstant(_pcbnew)
In4_Cu = _pcbnew.In4_Cu

_pcbnew.In5_Cu_swigconstant(_pcbnew)
In5_Cu = _pcbnew.In5_Cu

_pcbnew.In6_Cu_swigconstant(_pcbnew)
In6_Cu = _pcbnew.In6_Cu

_pcbnew.In7_Cu_swigconstant(_pcbnew)
In7_Cu = _pcbnew.In7_Cu

_pcbnew.In8_Cu_swigconstant(_pcbnew)
In8_Cu = _pcbnew.In8_Cu

_pcbnew.In9_Cu_swigconstant(_pcbnew)
In9_Cu = _pcbnew.In9_Cu

_pcbnew.In10_Cu_swigconstant(_pcbnew)
In10_Cu = _pcbnew.In10_Cu

_pcbnew.In11_Cu_swigconstant(_pcbnew)
In11_Cu = _pcbnew.In11_Cu

_pcbnew.In12_Cu_swigconstant(_pcbnew)
In12_Cu = _pcbnew.In12_Cu

_pcbnew.In13_Cu_swigconstant(_pcbnew)
In13_Cu = _pcbnew.In13_Cu

_pcbnew.In14_Cu_swigconstant(_pcbnew)
In14_Cu = _pcbnew.In14_Cu

_pcbnew.In15_Cu_swigconstant(_pcbnew)
In15_Cu = _pcbnew.In15_Cu

_pcbnew.In16_Cu_swigconstant(_pcbnew)
In16_Cu = _pcbnew.In16_Cu

_pcbnew.In17_Cu_swigconstant(_pcbnew)
In17_Cu = _pcbnew.In17_Cu

_pcbnew.In18_Cu_swigconstant(_pcbnew)
In18_Cu = _pcbnew.In18_Cu

_pcbnew.In19_Cu_swigconstant(_pcbnew)
In19_Cu = _pcbnew.In19_Cu

_pcbnew.In20_Cu_swigconstant(_pcbnew)
In20_Cu = _pcbnew.In20_Cu

_pcbnew.In21_Cu_swigconstant(_pcbnew)
In21_Cu = _pcbnew.In21_Cu

_pcbnew.In22_Cu_swigconstant(_pcbnew)
In22_Cu = _pcbnew.In22_Cu

_pcbnew.In23_Cu_swigconstant(_pcbnew)
In23_Cu = _pcbnew.In23_Cu

_pcbnew.In24_Cu_swigconstant(_pcbnew)
In24_Cu = _pcbnew.In24_Cu

_pcbnew.In25_Cu_swigconstant(_pcbnew)
In25_Cu = _pcbnew.In25_Cu

_pcbnew.In26_Cu_swigconstant(_pcbnew)
In26_Cu = _pcbnew.In26_Cu

_pcbnew.In27_Cu_swigconstant(_pcbnew)
In27_Cu = _pcbnew.In27_Cu

_pcbnew.In28_Cu_swigconstant(_pcbnew)
In28_Cu = _pcbnew.In28_Cu

_pcbnew.In29_Cu_swigconstant(_pcbnew)
In29_Cu = _pcbnew.In29_Cu

_pcbnew.In30_Cu_swigconstant(_pcbnew)
In30_Cu = _pcbnew.In30_Cu

_pcbnew.B_Cu_swigconstant(_pcbnew)
B_Cu = _pcbnew.B_Cu

_pcbnew.B_Adhes_swigconstant(_pcbnew)
B_Adhes = _pcbnew.B_Adhes

_pcbnew.F_Adhes_swigconstant(_pcbnew)
F_Adhes = _pcbnew.F_Adhes

_pcbnew.B_Paste_swigconstant(_pcbnew)
B_Paste = _pcbnew.B_Paste

_pcbnew.F_Paste_swigconstant(_pcbnew)
F_Paste = _pcbnew.F_Paste

_pcbnew.B_SilkS_swigconstant(_pcbnew)
B_SilkS = _pcbnew.B_SilkS

_pcbnew.F_SilkS_swigconstant(_pcbnew)
F_SilkS = _pcbnew.F_SilkS

_pcbnew.B_Mask_swigconstant(_pcbnew)
B_Mask = _pcbnew.B_Mask

_pcbnew.F_Mask_swigconstant(_pcbnew)
F_Mask = _pcbnew.F_Mask

_pcbnew.Dwgs_User_swigconstant(_pcbnew)
Dwgs_User = _pcbnew.Dwgs_User

_pcbnew.Cmts_User_swigconstant(_pcbnew)
Cmts_User = _pcbnew.Cmts_User

_pcbnew.Eco1_User_swigconstant(_pcbnew)
Eco1_User = _pcbnew.Eco1_User

_pcbnew.Eco2_User_swigconstant(_pcbnew)
Eco2_User = _pcbnew.Eco2_User

_pcbnew.Edge_Cuts_swigconstant(_pcbnew)
Edge_Cuts = _pcbnew.Edge_Cuts

_pcbnew.Margin_swigconstant(_pcbnew)
Margin = _pcbnew.Margin

_pcbnew.B_CrtYd_swigconstant(_pcbnew)
B_CrtYd = _pcbnew.B_CrtYd

_pcbnew.F_CrtYd_swigconstant(_pcbnew)
F_CrtYd = _pcbnew.F_CrtYd

_pcbnew.B_Fab_swigconstant(_pcbnew)
B_Fab = _pcbnew.B_Fab

_pcbnew.F_Fab_swigconstant(_pcbnew)
F_Fab = _pcbnew.F_Fab

_pcbnew.LAYER_ID_COUNT_swigconstant(_pcbnew)
LAYER_ID_COUNT = _pcbnew.LAYER_ID_COUNT
class LSEQ(base_seqVect):
    """Proxy of C++ LSEQ class"""
    __swig_setmethods__ = {}
    for _s in [base_seqVect]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, LSEQ, name, value)
    __swig_getmethods__ = {}
    for _s in [base_seqVect]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, LSEQ, name)
    __repr__ = _swig_repr

    def __init__(self):
        """__init__(LSEQ self) -> LSEQ"""
        this = _pcbnew.new_LSEQ()
        try:
            self.this.append(this)
        except:
            self.this = this

    def Rewind(self):
        """Rewind(LSEQ self)"""
        return _pcbnew.LSEQ_Rewind(self)


    def __nonzero__(self):
        return _pcbnew.LSEQ___nonzero__(self)
    __bool__ = __nonzero__



    def __ref__(self):
        """__ref__(LSEQ self) -> LAYER_ID"""
        return _pcbnew.LSEQ___ref__(self)

    __swig_destroy__ = _pcbnew.delete_LSEQ
    __del__ = lambda self: None
LSEQ_swigregister = _pcbnew.LSEQ_swigregister
LSEQ_swigregister(LSEQ)

class LSET(_object):
    """Proxy of C++ LSET class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, LSET, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, LSET, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        """
        __init__(LSET self) -> LSET
        __init__(LSET self, BASE_SET const & aOther) -> LSET
        __init__(LSET self, LAYER_ID aLayer) -> LSET
        __init__(LSET self, LAYER_ID const * aArray, unsigned int aCount) -> LSET
        __init__(LSET self, unsigned int aIdCount, LAYER_ID aFirst) -> LSET
        """
        this = _pcbnew.new_LSET(*args)
        try:
            self.this.append(this)
        except:
            self.this = this

    def Name(aLayerId):
        """Name(LAYER_ID aLayerId) -> wxChar const *"""
        return _pcbnew.LSET_Name(aLayerId)

    if _newclass:
        Name = staticmethod(Name)
    __swig_getmethods__["Name"] = lambda x: Name

    def InternalCuMask():
        """InternalCuMask() -> LSET"""
        return _pcbnew.LSET_InternalCuMask()

    if _newclass:
        InternalCuMask = staticmethod(InternalCuMask)
    __swig_getmethods__["InternalCuMask"] = lambda x: InternalCuMask

    def AllCuMask(*args):
        """
        AllCuMask(int aCuLayerCount) -> LSET
        AllCuMask() -> LSET
        """
        return _pcbnew.LSET_AllCuMask(*args)

    if _newclass:
        AllCuMask = staticmethod(AllCuMask)
    __swig_getmethods__["AllCuMask"] = lambda x: AllCuMask

    def AllNonCuMask():
        """AllNonCuMask() -> LSET"""
        return _pcbnew.LSET_AllNonCuMask()

    if _newclass:
        AllNonCuMask = staticmethod(AllNonCuMask)
    __swig_getmethods__["AllNonCuMask"] = lambda x: AllNonCuMask

    def AllLayersMask():
        """AllLayersMask() -> LSET"""
        return _pcbnew.LSET_AllLayersMask()

    if _newclass:
        AllLayersMask = staticmethod(AllLayersMask)
    __swig_getmethods__["AllLayersMask"] = lambda x: AllLayersMask

    def FrontTechMask():
        """FrontTechMask() -> LSET"""
        return _pcbnew.LSET_FrontTechMask()

    if _newclass:
        FrontTechMask = staticmethod(FrontTechMask)
    __swig_getmethods__["FrontTechMask"] = lambda x: FrontTechMask

    def BackTechMask():
        """BackTechMask() -> LSET"""
        return _pcbnew.LSET_BackTechMask()

    if _newclass:
        BackTechMask = staticmethod(BackTechMask)
    __swig_getmethods__["BackTechMask"] = lambda x: BackTechMask

    def AllTechMask():
        """AllTechMask() -> LSET"""
        return _pcbnew.LSET_AllTechMask()

    if _newclass:
        AllTechMask = staticmethod(AllTechMask)
    __swig_getmethods__["AllTechMask"] = lambda x: AllTechMask

    def FrontMask():
        """FrontMask() -> LSET"""
        return _pcbnew.LSET_FrontMask()

    if _newclass:
        FrontMask = staticmethod(FrontMask)
    __swig_getmethods__["FrontMask"] = lambda x: FrontMask

    def BackMask():
        """BackMask() -> LSET"""
        return _pcbnew.LSET_BackMask()

    if _newclass:
        BackMask = staticmethod(BackMask)
    __swig_getmethods__["BackMask"] = lambda x: BackMask

    def UserMask():
        """UserMask() -> LSET"""
        return _pcbnew.LSET_UserMask()

    if _newclass:
        UserMask = staticmethod(UserMask)
    __swig_getmethods__["UserMask"] = lambda x: UserMask

    def CuStack(self):
        """CuStack(LSET self) -> LSEQ"""
        return _pcbnew.LSET_CuStack(self)


    def Technicals(self, *args):
        """
        Technicals(LSET self, LSET aSubToOmit) -> LSEQ
        Technicals(LSET self) -> LSEQ
        """
        return _pcbnew.LSET_Technicals(self, *args)


    def Users(self):
        """Users(LSET self) -> LSEQ"""
        return _pcbnew.LSET_Users(self)


    def UIOrder(self):
        """UIOrder(LSET self) -> LSEQ"""
        return _pcbnew.LSET_UIOrder(self)


    def Seq(self, *args):
        """
        Seq(LSET self, LAYER_ID const * aWishListSequence, unsigned int aCount) -> LSEQ
        Seq(LSET self) -> LSEQ
        """
        return _pcbnew.LSET_Seq(self, *args)


    def SeqStackupBottom2Top(self):
        """SeqStackupBottom2Top(LSET self) -> LSEQ"""
        return _pcbnew.LSET_SeqStackupBottom2Top(self)


    def FmtHex(self):
        """FmtHex(LSET self) -> string"""
        return _pcbnew.LSET_FmtHex(self)


    def ParseHex(self, aStart, aCount):
        """ParseHex(LSET self, char const * aStart, int aCount) -> int"""
        return _pcbnew.LSET_ParseHex(self, aStart, aCount)


    def FmtBin(self):
        """FmtBin(LSET self) -> string"""
        return _pcbnew.LSET_FmtBin(self)


    def ExtractLayer(self):
        """ExtractLayer(LSET self) -> LAYER_ID"""
        return _pcbnew.LSET_ExtractLayer(self)

    __swig_destroy__ = _pcbnew.delete_LSET
    __del__ = lambda self: None
LSET_swigregister = _pcbnew.LSET_swigregister
LSET_swigregister(LSET)

def LSET_Name(aLayerId):
    """LSET_Name(LAYER_ID aLayerId) -> wxChar const *"""
    return _pcbnew.LSET_Name(aLayerId)

def LSET_InternalCuMask():
    """LSET_InternalCuMask() -> LSET"""
    return _pcbnew.LSET_InternalCuMask()

def LSET_AllCuMask(*args):
    """
    AllCuMask(int aCuLayerCount) -> LSET
    LSET_AllCuMask() -> LSET
    """
    return _pcbnew.LSET_AllCuMask(*args)

def LSET_AllNonCuMask():
    """LSET_AllNonCuMask() -> LSET"""
    return _pcbnew.LSET_AllNonCuMask()

def LSET_AllLayersMask():
    """LSET_AllLayersMask() -> LSET"""
    return _pcbnew.LSET_AllLayersMask()

def LSET_FrontTechMask():
    """LSET_FrontTechMask() -> LSET"""
    return _pcbnew.LSET_FrontTechMask()

def LSET_BackTechMask():
    """LSET_BackTechMask() -> LSET"""
    return _pcbnew.LSET_BackTechMask()

def LSET_AllTechMask():
    """LSET_AllTechMask() -> LSET"""
    return _pcbnew.LSET_AllTechMask()

def LSET_FrontMask():
    """LSET_FrontMask() -> LSET"""
    return _pcbnew.LSET_FrontMask()

def LSET_BackMask():
    """LSET_BackMask() -> LSET"""
    return _pcbnew.LSET_BackMask()

def LSET_UserMask():
    """LSET_UserMask() -> LSET"""
    return _pcbnew.LSET_UserMask()


_pcbnew.VIAS_VISIBLE_swigconstant(_pcbnew)
VIAS_VISIBLE = _pcbnew.VIAS_VISIBLE

_pcbnew.VIA_MICROVIA_VISIBLE_swigconstant(_pcbnew)
VIA_MICROVIA_VISIBLE = _pcbnew.VIA_MICROVIA_VISIBLE

_pcbnew.VIA_BBLIND_VISIBLE_swigconstant(_pcbnew)
VIA_BBLIND_VISIBLE = _pcbnew.VIA_BBLIND_VISIBLE

_pcbnew.VIA_THROUGH_VISIBLE_swigconstant(_pcbnew)
VIA_THROUGH_VISIBLE = _pcbnew.VIA_THROUGH_VISIBLE

_pcbnew.NON_PLATED_VISIBLE_swigconstant(_pcbnew)
NON_PLATED_VISIBLE = _pcbnew.NON_PLATED_VISIBLE

_pcbnew.MOD_TEXT_FR_VISIBLE_swigconstant(_pcbnew)
MOD_TEXT_FR_VISIBLE = _pcbnew.MOD_TEXT_FR_VISIBLE

_pcbnew.MOD_TEXT_BK_VISIBLE_swigconstant(_pcbnew)
MOD_TEXT_BK_VISIBLE = _pcbnew.MOD_TEXT_BK_VISIBLE

_pcbnew.MOD_TEXT_INVISIBLE_swigconstant(_pcbnew)
MOD_TEXT_INVISIBLE = _pcbnew.MOD_TEXT_INVISIBLE

_pcbnew.ANCHOR_VISIBLE_swigconstant(_pcbnew)
ANCHOR_VISIBLE = _pcbnew.ANCHOR_VISIBLE

_pcbnew.PAD_FR_VISIBLE_swigconstant(_pcbnew)
PAD_FR_VISIBLE = _pcbnew.PAD_FR_VISIBLE

_pcbnew.PAD_BK_VISIBLE_swigconstant(_pcbnew)
PAD_BK_VISIBLE = _pcbnew.PAD_BK_VISIBLE

_pcbnew.RATSNEST_VISIBLE_swigconstant(_pcbnew)
RATSNEST_VISIBLE = _pcbnew.RATSNEST_VISIBLE

_pcbnew.GRID_VISIBLE_swigconstant(_pcbnew)
GRID_VISIBLE = _pcbnew.GRID_VISIBLE

_pcbnew.NO_CONNECTS_VISIBLE_swigconstant(_pcbnew)
NO_CONNECTS_VISIBLE = _pcbnew.NO_CONNECTS_VISIBLE

_pcbnew.MOD_FR_VISIBLE_swigconstant(_pcbnew)
MOD_FR_VISIBLE = _pcbnew.MOD_FR_VISIBLE

_pcbnew.MOD_BK_VISIBLE_swigconstant(_pcbnew)
MOD_BK_VISIBLE = _pcbnew.MOD_BK_VISIBLE

_pcbnew.MOD_VALUES_VISIBLE_swigconstant(_pcbnew)
MOD_VALUES_VISIBLE = _pcbnew.MOD_VALUES_VISIBLE

_pcbnew.MOD_REFERENCES_VISIBLE_swigconstant(_pcbnew)
MOD_REFERENCES_VISIBLE = _pcbnew.MOD_REFERENCES_VISIBLE

_pcbnew.TRACKS_VISIBLE_swigconstant(_pcbnew)
TRACKS_VISIBLE = _pcbnew.TRACKS_VISIBLE

_pcbnew.PADS_VISIBLE_swigconstant(_pcbnew)
PADS_VISIBLE = _pcbnew.PADS_VISIBLE

_pcbnew.PADS_HOLES_VISIBLE_swigconstant(_pcbnew)
PADS_HOLES_VISIBLE = _pcbnew.PADS_HOLES_VISIBLE

_pcbnew.VIAS_HOLES_VISIBLE_swigconstant(_pcbnew)
VIAS_HOLES_VISIBLE = _pcbnew.VIAS_HOLES_VISIBLE

_pcbnew.DRC_VISIBLE_swigconstant(_pcbnew)
DRC_VISIBLE = _pcbnew.DRC_VISIBLE

_pcbnew.WORKSHEET_swigconstant(_pcbnew)
WORKSHEET = _pcbnew.WORKSHEET

_pcbnew.GP_OVERLAY_swigconstant(_pcbnew)
GP_OVERLAY = _pcbnew.GP_OVERLAY

_pcbnew.END_PCB_VISIBLE_LIST_swigconstant(_pcbnew)
END_PCB_VISIBLE_LIST = _pcbnew.END_PCB_VISIBLE_LIST

_pcbnew.PAD_FR_NETNAMES_VISIBLE_swigconstant(_pcbnew)
PAD_FR_NETNAMES_VISIBLE = _pcbnew.PAD_FR_NETNAMES_VISIBLE

_pcbnew.PAD_BK_NETNAMES_VISIBLE_swigconstant(_pcbnew)
PAD_BK_NETNAMES_VISIBLE = _pcbnew.PAD_BK_NETNAMES_VISIBLE

_pcbnew.PADS_NETNAMES_VISIBLE_swigconstant(_pcbnew)
PADS_NETNAMES_VISIBLE = _pcbnew.PADS_NETNAMES_VISIBLE

_pcbnew.END_NETNAMES_VISIBLE_LIST_swigconstant(_pcbnew)
END_NETNAMES_VISIBLE_LIST = _pcbnew.END_NETNAMES_VISIBLE_LIST

def IsValidLayer(aLayerId):
    """IsValidLayer(LAYER_NUM aLayerId) -> bool"""
    return _pcbnew.IsValidLayer(aLayerId)

def IsPcbLayer(aLayer):
    """IsPcbLayer(LAYER_NUM aLayer) -> bool"""
    return _pcbnew.IsPcbLayer(aLayer)

def IsCopperLayer(aLayerId):
    """IsCopperLayer(LAYER_NUM aLayerId) -> bool"""
    return _pcbnew.IsCopperLayer(aLayerId)

def IsNonCopperLayer(aLayerId):
    """IsNonCopperLayer(LAYER_NUM aLayerId) -> bool"""
    return _pcbnew.IsNonCopperLayer(aLayerId)

def IsUserLayer(aLayerId):
    """IsUserLayer(LAYER_ID aLayerId) -> bool"""
    return _pcbnew.IsUserLayer(aLayerId)

def IsFrontLayer(aLayerId):
    """IsFrontLayer(LAYER_ID aLayerId) -> bool"""
    return _pcbnew.IsFrontLayer(aLayerId)

def IsBackLayer(aLayerId):
    """IsBackLayer(LAYER_ID aLayerId) -> bool"""
    return _pcbnew.IsBackLayer(aLayerId)

def FlipLayer(oldlayer):
    """FlipLayer(LAYER_ID oldlayer) -> LAYER_ID"""
    return _pcbnew.FlipLayer(oldlayer)

def FlipLayerMask(aMask):
    """FlipLayerMask(LSET aMask) -> LSET"""
    return _pcbnew.FlipLayerMask(aMask)

def LayerMaskDescribe(aBoard, aMask):
    """LayerMaskDescribe(BOARD aBoard, LSET aMask) -> wxString"""
    return _pcbnew.LayerMaskDescribe(aBoard, aMask)

def GetNetnameLayer(aLayer):
    """GetNetnameLayer(int aLayer) -> int"""
    return _pcbnew.GetNetnameLayer(aLayer)

def IsNetnameLayer(aLayer):
    """IsNetnameLayer(LAYER_NUM aLayer) -> bool"""
    return _pcbnew.IsNetnameLayer(aLayer)

def ToLAYER_ID(aLayer):
    """ToLAYER_ID(int aLayer) -> LAYER_ID"""
    return _pcbnew.ToLAYER_ID(aLayer)
class PAD_DRAWINFO(_object):
    """Proxy of C++ PAD_DRAWINFO class"""
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PAD_DRAWINFO, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PAD_DRAWINFO, name)
    __repr__ = _swig_repr
    __swig_setmethods__["m_DrawPanel"] = _pcbnew.PAD_DRAWINFO_m_DrawPanel_set
    __swig_getmethods__["m_DrawPanel"] = _pcbnew.PAD_DRAWINFO_m_DrawPanel_get
    if _newclass:
        m_DrawPanel = _swig_property(_pcbnew.PAD_DRAWINFO_m_DrawPanel_get, _pcbnew.PAD_DRAWINFO_m_DrawPanel_set)
    __swig_setmethods__["m_DrawMode"] = _pcbnew.PAD_DRAWINFO_m_DrawMode_set
    __swig_getmethods__["m_DrawMode"] = _pcbnew.PAD_DRAWINFO_m_DrawMode_get
    if _newclass:
        m_DrawMode = _swig_property(_pcbnew.PAD_DRAWINFO_m_DrawMode_get, _pcbnew.PAD_DRAWINFO_m_DrawMode_set)
    __swig_setmethods__["m_Color"] = _pcbnew.PAD_DRAWINFO_m_Color_set
    __swig_getmethods__["m_Color"] = _pcbnew.PAD_DRAWINFO_m_Color_get
    if _newclass:
        m_Color = _swig_property(_pcbnew.PAD_DRAWINFO_m_Color_get, _pcbnew.PAD_DRAWINFO_m_Color_set)
    __swig_setmethods__["m_HoleColor"] = _pcbnew.PAD_DRAWINFO_m_HoleColor_set
    __swig_getmethods__["m_HoleColor"] = _pcbnew.PAD_DRAWINFO_m_HoleColor_get
    if _newclass:
        m_HoleColor = _swig_property(_pcbnew.PAD_DRAWINFO_m_HoleColor_get, _pcbnew.PAD_DRAWINFO_m_HoleColor_set)
    __swig_setmethods__["m_NPHoleColor"] = _pcbnew.PAD_DRAWINFO_m_NPHoleColor_set
    __swig_getmethods__["m_NPHoleColor"] = _pcbnew.PAD_DRAWINFO_m_NPHoleColor_get
    if _newclass:
        m_NPHoleColor = _swig_property(_pcbnew.PAD_DRAWINFO_m_NPHoleColor_get, _pcbnew.PAD_DRAWINFO_m_NPHoleColor_set)
    __swig_setmethods__["m_PadClearance"] = _pcbnew.PAD_DRAWINFO_m_PadClearance_set
    __swig_getmethods__["m_PadClearance"] = _pcbnew.PAD_DRAWINFO_m_PadClearance_get
    if _newclass:
        m_PadClearance = _swig_property(_pcbnew.PAD_DRAWINFO_m_PadClearance_get, _pcbnew.PAD_DRAWINFO_m_PadClearance_set)
    __swig_setmethods__["m_Mask_margin"] = _pcbnew.PAD_DRAWINFO_m_Mask_margin_set
    __swig_getmethods__["m_Mask_margin"] = _pcbnew.PAD_DRAWINFO_m_Mask_margin_get
    if _newclass:
        m_Mask_margin = _swig_property(_pcbnew.PAD_DRAWINFO_m_Mask_margin_get, _pcbnew.PAD_DRAWINFO_m_Mask_margin_set)