Skip to main content

load_step_rshape

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

Signature

def load_step_rshape(path: 'str | Path', *, require_single_root: 'bool' = True, require_valid: 'bool' = True) -> 'TopoDS_Shape'

Description

Load one transferred STEP shape and optionally require a valid BREP.

Parameters

NameTypeRequiredDefaultSource description
path'str | Path'yes-Not explicitly described in the source docstring.
require_single_root'bool'noTrueNot explicitly described in the source docstring.
require_valid'bool'noTrueNot explicitly described in the source docstring.

Returns

Type: 'TopoDS_Shape'

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

  • This operation reads external data and may reject missing, malformed, or unsupported input.

Import check

from cadflow.inspect.brep import load_step_rshape

See also