+ fixes #0001617: typo in importCSG.py
This commit is contained in:
parent
f4d8b0ff54
commit
7120279ec0
|
@ -986,7 +986,7 @@ def p_circle_action(p) :
|
||||||
else :
|
else :
|
||||||
#mycircle = Draft.makePolygon(n,r) # would call doc.recompute
|
#mycircle = Draft.makePolygon(n,r) # would call doc.recompute
|
||||||
mycircle = FreeCAD.ActiveDocument.addObject("Part::Part2DObjectPython",'polygon')
|
mycircle = FreeCAD.ActiveDocument.addObject("Part::Part2DObjectPython",'polygon')
|
||||||
Draft._Polygon(mycricle)
|
Draft._Polygon(mycircle)
|
||||||
mycircle.FacesNumber = n
|
mycircle.FacesNumber = n
|
||||||
mycircle.Radius = r
|
mycircle.Radius = r
|
||||||
mycircle.DrawMode = "inscribed"
|
mycircle.DrawMode = "inscribed"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user