Skip to main content

create_spline_wire

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

Signature

def create_spline_wire(*, control_points: 'Sequence[Sequence[ScalarLike]]', degree: 'int' = 3, knots: 'Optional[Sequence[ScalarLike]]' = None, multiplicities: 'Optional[Sequence[int]]' = None, weights: 'Optional[Sequence[ScalarLike]]' = None, periodic: 'bool' = False) -> 'Wire'

Description

Create a wire containing one exact B-spline edge.

Other public imports

  • from cadflow import make_spline_rwire

Parameters

NameTypeRequiredDefaultSource description
control_points'Sequence[Sequence[ScalarLike]]'yes-Not explicitly described in the source docstring.
degree'int'no3Not explicitly described in the source docstring.
knots'Optional[Sequence[ScalarLike]]'noNoneNot explicitly described in the source docstring.
multiplicities'Optional[Sequence[int]]'noNoneNot explicitly described in the source docstring.
weights'Optional[Sequence[ScalarLike]]'noNoneNot explicitly described in the source docstring.
periodic'bool'noFalseNot explicitly described in the source docstring.

Returns

Type: 'Wire'

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_spline_wire

See also