PATH: Drilling: allow selection of partial circular edges

This commit is contained in:
sliptonic
2016-11-20 13:55:49 -06:00
parent 4c66748ade
commit 68d3e18ab4
3 changed files with 34 additions and 9 deletions

View File

@@ -105,7 +105,7 @@ class DRILLGate:
subobj = obj.getElement(sub)
drillable = isinstance(subobj.Edges[0].Curve, Part.Circle)
if str(subobj.Surface) == "<Cylinder object>":
drillable = True
drillable = subobj.isClosed()
if sub[0:4] == 'Edge':
o = obj.getElement(sub)