diff --git a/utils.py b/utils.py index b22202a..188e8f4 100644 --- a/utils.py +++ b/utils.py @@ -264,9 +264,11 @@ def isLinearEdge(obj): def isVertex(obj): return getElementShape(obj,Part.Vertex) is not None -def hasCenter(obj): - return isVertex(obj) or isCircularEdge(obj) or \ - isAxisOfPlane(obj) or isSphericalSurface(obj) +def hasCenter(_obj): + # Any shape has no center? + # return isVertex(obj) or isCircularEdge(obj) or \ + # isAxisOfPlane(obj) or isSphericalSurface(obj) + return True def isSphericalSurface(obj): face = getElementShape(obj,Part.Face)