Draft: changed Part::Polygon properties names

This commit is contained in:
Yorik van Havre 2013-11-16 14:22:03 -02:00
parent 8a26361c2b
commit 7651593ca3

View File

@ -1271,8 +1271,8 @@ class Polygon(Creator):
'pl.Rotation.Q=' + rot,
'pl.Base=' + DraftVecUtils.toString(self.center),
'pol = FreeCAD.ActiveDocument.addObject("Part::RegularPolygon","Polygon")',
'pol.NumberOfSides = ' + str(self.ui.numFaces.value()),
'pol.Radius = ' + str(self.rad),
'pol.Polygon = ' + str(self.ui.numFaces.value()),
'pol.Circumradius = ' + str(self.rad),
'pol.Placement = pl',
'FreeCAD.ActiveDocument.recompute()'])
else: