Implemented interface functions in base classes.
This commit is contained in:
committed by
Yorik van Havre
parent
18a3fc0580
commit
567f592d84
@@ -53,6 +53,16 @@ class ObjectPocket(PathAreaOp.ObjectOp):
|
||||
def pocketOpFeatures(self, obj):
|
||||
return 0
|
||||
|
||||
def initPocketOp(self, obj):
|
||||
'''initPocketOp(obj) ... overwrite to initialize subclass.
|
||||
Can safely be overwritten by subclass.'''
|
||||
pass
|
||||
|
||||
def pocketInvertExtraOffset(self):
|
||||
'''pocketInvertExtraOffset() ... return True if ExtraOffset's direction is inward.
|
||||
Can safely be overwritten by subclass.'''
|
||||
return False
|
||||
|
||||
def initAreaOp(self, obj):
|
||||
'''initAreaOp(obj) ... create pocket specific properties.
|
||||
Do not overwrite, implement initPocketOp(obj) instead.'''
|
||||
|
||||
Reference in New Issue
Block a user