create_line
Kind: Function
Domain: Modeling and geometry
Canonical import: from cadflow import create_line
Signature
def create_line(start: 'Tuple[ScalarLike, ScalarLike, ScalarLike]', end: 'Tuple[ScalarLike, ScalarLike, ScalarLike]', *, tag_prefix: 'Optional[str]' = None) -> 'Edge'
Description
Create a straight edge between two points.
Other public imports
from cadflow import make_line_redge
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
start | 'Tuple[ScalarLike, ScalarLike, ScalarLike]' | yes | - | Not explicitly described in the source docstring. |
end | 'Tuple[ScalarLike, ScalarLike, ScalarLike]' | yes | - | Not explicitly described in the source docstring. |
tag_prefix | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
Returns
Type: 'Edge'
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 import create_line