Class renaming.

DRAWSEGMENT  -> PCB_SHAPE
EDGE_MODULE  -> FP_SHAPE
TEXTE_PCB    -> PCB_TEXT
TEXTE_MODULE -> FP_TEXT
This commit is contained in:
Jeff Young
2020-10-05 11:55:33 +01:00
parent a28a0e14ba
commit 37906511f5
142 changed files with 1763 additions and 1870 deletions
@@ -66,7 +66,7 @@ class QRCodeWizard(FootprintWizardBase.FootprintWizard):
self.qr.make()
def drawPixelSquareArea( self, layer, size, xposition, yposition):
# creates a EDGE_MODULE of polygon type. The polygon is a square
# creates a FP_SHAPE of polygon type. The polygon is a square
polygon = pcbnew.EDGE_MODULE(self.module)
polygon.SetShape(pcbnew.S_POLYGON)
polygon.SetWidth( 0 )