Skip to main content

create_segment

Kind: Function
Domain: Modeling and geometry
Canonical import: from cadflow import create_segment

Signature

def create_segment(start: 'Tuple[float, float, float]', end: 'Tuple[float, float, float]') -> 'Edge'

Description

Alias of make_line_redge that returns a straight edge.

Other public imports

  • from cadflow import make_segment_redge

Parameters

NameTypeRequiredDefaultSource description
start'Tuple[float, float, float]'yes-Not explicitly described in the source docstring.
end'Tuple[float, float, float]'yes-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_segment

See also