Fix incorrect arguments list
This commit fixes the error reported in the forum at https://forum.freecadweb.org/viewtopic.php?f=15&t=33121&start=50#p537787. This error was introduced when another user replaced the `extractFaceOffset()` method from the PathSurfaceSupport.py module with an improved `getOffsetArea()` function in the PathUtils.py module. The two instances of the improved `getOffsetArea()` calls here in this fix did not get corrected when that improvement was originally made.
This commit is contained in:
@@ -1290,8 +1290,7 @@ class ObjectWaterline(PathOp.ObjectOp):
|
||||
self.showDebugObject(activeArea, 'ActiveArea_{}'.format(caCnt))
|
||||
ofstArea = PathUtils.getOffsetArea(activeArea,
|
||||
ofst,
|
||||
self.wpc,
|
||||
makeComp=False)
|
||||
self.wpc)
|
||||
if not ofstArea:
|
||||
data = FreeCAD.Units.Quantity(csHght, FreeCAD.Units.Length).UserString
|
||||
PathLog.debug('No offset area returned for cut area depth at {}.'.format(data))
|
||||
@@ -1467,8 +1466,7 @@ class ObjectWaterline(PathOp.ObjectOp):
|
||||
while cont:
|
||||
ofstArea = PathUtils.getOffsetArea(shape,
|
||||
ofst,
|
||||
self.wpc,
|
||||
makeComp=True)
|
||||
self.wpc)
|
||||
if not ofstArea:
|
||||
break
|
||||
for F in ofstArea.Faces:
|
||||
|
||||
Reference in New Issue
Block a user