ConnectorAnchor
Kind: Class
Domain: Assembly
Canonical import: from cadflow import ConnectorAnchor
Signature
class ConnectorAnchor(anchor_kind: 'str', geometry_ref: 'Optional[GeometryRef]' = None, placement: 'Optional[Placement]' = None, source_component_id: 'Optional[str]' = None, source_connector_id: 'Optional[str]' = None, offset: 'Optional[Placement]' = None, _metadata: 'Dict[str, Any]' = <factory>, _runtime: 'Dict[str, Any]' = <factory>) -> None
Description
Serializable source for a connector datum frame.
Serializable source for a connector datum frame.
Supported anchor_kind values are geometry, placement, and forwarded.
Other public imports
from cadflow.assembly import ConnectorAnchor
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
anchor_kind | 'str' | yes | - | Not explicitly described in the source docstring. |
geometry_ref | 'Optional[GeometryRef]' | no | None | Not explicitly described in the source docstring. |
placement | 'Optional[Placement]' | no | None | Not explicitly described in the source docstring. |
source_component_id | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
source_connector_id | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
offset | 'Optional[Placement]' | no | None | Not explicitly described in the source docstring. |
_metadata | 'Dict[str, Any]' | no | <factory> | Not explicitly described in the source docstring. |
_runtime | 'Dict[str, Any]' | no | <factory> | 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
| Name | Type | Default |
|---|---|---|
anchor_kind | 'str' | required |
geometry_ref | 'Optional[GeometryRef]' | None |
placement | 'Optional[Placement]' | None |
source_component_id | 'Optional[str]' | None |
source_connector_id | 'Optional[str]' | None |
offset | 'Optional[Placement]' | None |
_metadata | 'Dict[str, Any]' | factory |
_runtime | 'Dict[str, Any]' | factory |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
to_dict | method | (self) -> '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 ConnectorAnchor