OCCBrep.overlap

OCCBrep.overlap(other, linear_deflection=None, angular_deflection=None, tolerance=0.0, relative=False)

Compute the overlap between this BRep and another.

Parameters:
otherOCCBrep

The other brep.

linear_deflectionfloat, optional

Maximum linear deflection for shape approximation.

angular_deflectionfloat, optional

Maximum angular deflection for shape approximation.

tolerancefloat, optional

Allowable deviation between shapes.

Returns:
tuple[list[OCCBrepFace], list[OCCBrepFace]]
Other Parameters:
relativebool, optional

If True, linear deflection used for faces is the maximum linear deflection of their edges.