Skip to main content

create_cylinder

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

Signature

def create_cylinder(radius: 'ScalarLike', height: 'ScalarLike', bottom_face_center: 'Tuple[float, float, float]' = (0, 0, 0), axis: 'Tuple[float, float, float]' = (0, 0, 1), *, tag_prefix: 'Optional[str]' = None, result_tag: 'Optional[str]' = None, start_face_tag: 'Optional[str]' = None, end_face_tag: 'Optional[str]' = None, side_face_tag: 'Optional[str]' = None, start_edge_tag: 'Optional[str]' = None, end_edge_tag: 'Optional[str]' = None, seam_edge_tag: 'Optional[str]' = None) -> 'Solid'

Description

Create a cylinder with native kernel-backed Face and Edge topology tags.

Other public imports

  • from cadflow import make_cylinder_rsolid

Parameters

NameTypeRequiredDefaultSource description
radius'ScalarLike'yes-Not explicitly described in the source docstring.
height'ScalarLike'yes-Not explicitly described in the source docstring.
bottom_face_center'Tuple[float, float, float]'no(0, 0, 0)Not explicitly described in the source docstring.
axis'Tuple[float, float, float]'no(0, 0, 1)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_face_tag'Optional[str]'noNoneNot explicitly described in the source docstring.
start_edge_tag'Optional[str]'noNoneNot explicitly described in the source docstring.
end_edge_tag'Optional[str]'noNoneNot explicitly described in the source docstring.
seam_edge_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 create_cylinder

See also