Skip to main content

Compound

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

Signature

class Compound(compound: 'Any', cache: 'Optional[_TopologyEntityCache]' = None)

Description

OCP-native compound wrapper for explicit multi-shape projections.

Parameters

NameTypeRequiredDefaultSource description
compound'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_edgesmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Edge], Edge]'See the member signature.
get_facesmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Face], Face]'See the member signature.
get_solidsmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Solid], Solid]'See the member signature.
get_volumemethod(self) -> 'float'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 Compound

See also