bluemira.geometry.shell

Wrapper for FreeCAD Part.Face objects

Classes

BluemiraShell

Bluemira Shell class.

Module Contents

class bluemira.geometry.shell.BluemiraShell(boundary: list[bluemira.geometry.face.BluemiraFace], label: str = '')

Bases: bluemira.geometry.base.BluemiraGeo

Inheritance diagram of bluemira.geometry.shell.BluemiraShell

Bluemira Shell class.

Parameters:
_create_shell(*, check_reverse: bool = True)

Creation of the shell

Returns:

FreeCAD shell.

Parameters:

check_reverse (bool)

_create_shape()
Returns:

Shape of the object as a primitive shell

Return type:

Part.Shell

classmethod _create(obj: bluemira.codes._freecadapi.apiShell, label='')
Parameters:

obj (bluemira.codes._freecadapi.apiShell)

property vertexes: bluemira.geometry.coordinates.Coordinates

The vertexes of the shell.

Return type:

bluemira.geometry.coordinates.Coordinates

property edges: tuple[bluemira.geometry.wire.BluemiraWire]

The edges of the shell.

Return type:

tuple[bluemira.geometry.wire.BluemiraWire]

property wires: tuple[bluemira.geometry.wire.BluemiraWire]

The wires of the shell.

Return type:

tuple[bluemira.geometry.wire.BluemiraWire]

property faces: tuple[bluemira.geometry.face.BluemiraFace]

The faces of the shell.

Return type:

tuple[bluemira.geometry.face.BluemiraFace]

property shells: tuple

The shells of the shell. By definition a tuple of itself.

Return type:

tuple

property solids: tuple

The solids of the shell. By definition an empty tuple.

Return type:

tuple