Skip to main content

rebuild_displaced_blends

Function rebuild_displaced_blends 

Source
pub fn rebuild_displaced_blends<E>(
    solid: &BrepSolid,
    moved: &[u64],
    entry: &str,
    edit: E,
) -> Option<Result<(BrepSolid, Vec<String>), KernelRefusal>>
Expand description

Run a face edit past the variable-radius fillets beside the selection.

edit is the caller’s whole road for this motion — re-solve, acceptance, re-cut — taking the body to edit and returning the edited body with its notes; ids_kept is told from the faces it returns. It has already refused solid itself when this is called.

  • None: no variable-radius fillet borders the selection, so this road has nothing to offer and the caller’s refusal stands as it is.
  • Some(Err(_)): there is one, and the edit still could not be made without it; the refusal says which step declined.
  • Some(Ok((body, notes))): the edited body, each fillet re-made under its radius law, or named in notes with the reason where it could not be.