Skip to main content

ConnectionRegion

Kind: Class
Domain: Physical connections
Canonical import: from cadflow import ConnectionRegion

Signature

class ConnectionRegion(region_id: 'str', component_id: 'str', geometry_ref: 'GeometryRef', role: 'ConnectionRegionRole | str' = <ConnectionRegionRole.CONTACT: 'contact'>, metadata: 'dict[str, Any]' = <factory>) -> None

Description

Component-local BREP region participating in a physical connection.

Other public imports

  • from cadflow.physical import ConnectionRegion

Parameters

NameTypeRequiredDefaultSource description
region_id'str'yes-Not explicitly described in the source docstring.
component_id'str'yes-Not explicitly described in the source docstring.
geometry_ref'GeometryRef'yes-Not explicitly described in the source docstring.
role'ConnectionRegionRole | str'no&lt;ConnectionRegionRole.CONTACT: 'contact'&gt;Not explicitly described in the source docstring.
metadata'dict[str, Any]'no&lt;factory&gt;Not explicitly described in the source docstring.

Returns

Type: None

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.

Data fields

NameTypeDefault
region_id'str'required
component_id'str'required
geometry_ref'GeometryRef'required
role'ConnectionRegionRole | str'&lt;ConnectionRegionRole.CONTACT: 'contact'&gt;
metadata'dict[str, Any]'factory

Public members

MemberKindSignatureDescription
from_dictclass method(cls, data: 'Mapping[str, Any]') -&gt; "'ConnectionRegion'"See the member signature.
to_dictmethod(self) -&gt; 'dict[str, Any]'See the member signature.

Behavior and constraints

  • Instances are immutable dataclass values; update workflows return a replacement value.

Import check

from cadflow import ConnectionRegion

See also