Skip to main content

inspect_section_rdescriptor

Kind: Function
Domain: Inspection
Canonical import: from cadflow.inspect.brep import inspect_section_rdescriptor

Signature

def inspect_section_rdescriptor(model_or_path: 'BRepModel | TopoDS_Shape | str | Path', origin: 'Sequence[float]', normal: 'Sequence[float]', tolerance: 'float' = 1e-07, samples_per_edge: 'int' = 16, connection_tolerance: 'float | None' = None, compact: 'bool' = False) -> 'dict[str, Any]'

Description

Intersect a model with an unbounded plane and assemble sampled contours.

Parameters

NameTypeRequiredDefaultSource description
model_or_path'BRepModel | TopoDS_Shape | str | Path'yes-Not explicitly described in the source docstring.
origin'Sequence[float]'yes-Not explicitly described in the source docstring.
normal'Sequence[float]'yes-Not explicitly described in the source docstring.
tolerance'float'no1e-07Not explicitly described in the source docstring.
samples_per_edge'int'no16Not explicitly described in the source docstring.
connection_tolerance'float | None'noNoneNot explicitly described in the source docstring.
compact'bool'noFalseNot explicitly described in the source docstring.

Returns

Type: 'dict[str, Any]'

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow.inspect.brep import inspect_section_rdescriptor

See also