• emv's avatar
    0026917: 3D Offset algorithm produces incorrect result · ecf4f17c
    emv authored
    Extension on the 3D Offset algorithm (Mode="Complete", Join Type = "Intersection")
    for colliding cases to add support for new configurations of the shapes.
    In the previous approach the result of the offset operation was build from
    the offset faces using MakerVolume algorithm, without checking of the validity of these faces.
    The new extension is based on this approach, but now the offset faces are being checked
    on invalidity and rebuild in case of any. This allows (in case of successful rebuilding) to avoid creation
    of the unforeseen parts such as dangling parts, spikes, inverted faces in the result of offset operation.
    The main criteria for the validity of the faces is the coincidence of the normal
    direction of the offset face with the normal direction of the original face.
    Check for removal of invalid faces has been removed as obsolete.
    
    BRepOffset_Inter2D: Avoid excess trimming of the edges due to coincidence with other edges.
    BRepOffset_Inter3D: Careful treatment of the intersection of the faces connected only through vertices.
    
    Eliminating the compiler warning.
    
    Small corrections of test cases for issue CR26917
    ecf4f17c
BOPAlgo_PaveFiller_6.cxx 88.1 KB