extrude
Kind: Function
Domain: Modeling and geometry
Canonical import: from cadflow import extrude
Signature
def extrude(profile: 'Union[Wire, Face]', direction: 'Tuple[float, float, float]', distance: 'ScalarLike', *, 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 solid by extruding a profile, with optional role-based tags.
Other public imports
from cadflow import extrude_rsolid
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
profile | 'Union[Wire, Face]' | yes | - | Not explicitly described in the source docstring. |
direction | 'Tuple[float, float, float]' | yes | - | Not explicitly described in the source docstring. |
distance | 'ScalarLike' | yes | - | Not explicitly described in the source docstring. |
tag_prefix | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
result_tag | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
start_face_tag | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
end_face_tag | 'Optional[str]' | no | None | Not explicitly described in the source docstring. |
side_faces_tag | 'Optional[str]' | no | None | Not 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 extrude