Skip to main content

revolve

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

Signature

def revolve(profile: 'Union[Wire, Face]', axis: 'Tuple[float, float, float]' = (0, 0, 1), angle: 'ScalarLike' = 360, origin: 'Tuple[float, float, float]' = (0, 0, 0), *, tag_prefix: 'Optional[str]' = None, result_tag: 'Optional[str]' = None, start_face_tag: 'Optional[str]' = None, end_face_tag: 'Optional[str]' = None, side_faces_tag: 'Optional[str]' = None) -> 'Solid'

Description

Create a revolved solid, with optional kernel-role-based tags.

Other public imports

  • from cadflow import revolve_rsolid

Parameters

NameTypeRequiredDefaultSource description
profile'Union[Wire, Face]'yes-Not explicitly described in the source docstring.
axis'Tuple[float, float, float]'no(0, 0, 1)Not explicitly described in the source docstring.
angle'ScalarLike'no360Not explicitly described in the source docstring.
origin'Tuple[float, float, float]'no(0, 0, 0)Not explicitly described in the source docstring.
tag_prefix'Optional[str]'noNoneNot explicitly described in the source docstring.
result_tag'Optional[str]'noNoneNot explicitly described in the source docstring.
start_face_tag'Optional[str]'noNoneNot explicitly described in the source docstring.
end_face_tag'Optional[str]'noNoneNot explicitly described in the source docstring.
side_faces_tag'Optional[str]'noNoneNot explicitly described in the source docstring.

Returns

Type: 'Solid'

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 revolve

See also