Skip to main content

Face

Kind: Class
Domain: Modeling and geometry
Canonical import: from cadflow import Face

Signature

class Face(face: 'Any', cache: 'Optional[_TopologyEntityCache]' = None)

Description

OCP-native face wrapper with tag support.

Parameters

NameTypeRequiredDefaultSource description
face'Any'yes-Not explicitly described in the source docstring.
cache'Optional[_TopologyEntityCache]'noNoneNot explicitly described in the source docstring.

Returns

Type: Any

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.

Public members

MemberKindSignatureDescription
get_adjacent_facesmethod(self) -> "List['Face']"See the member signature.
get_areamethod(self) -> 'float'See the member signature.
get_centermethod(self) -> 'Vec3'See the member signature.
get_edgesmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Edge], Edge]'See the member signature.
get_inner_wiresmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Wire], Wire]'See the member signature.
get_normal_atmethod(self, u: 'float' = 0.5, v: 'float' = 0.5) -> 'Vec3'See the member signature.
get_outer_wiremethod(self) -> 'Wire'See the member signature.
get_wiresmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Wire], Wire]'See the member signature.

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 Face

See also