bluemira.geometry.solid
Wrapper for FreeCAD Part.Face objects
Classes
Bluemira Solid class. |
Module Contents
- class bluemira.geometry.solid.BluemiraSolid(boundary: list[bluemira.geometry.shell.BluemiraShell], label: str = '')
Bases:
bluemira.geometry.base.BluemiraGeoBluemira Solid class.
- Parameters:
boundary (list[bluemira.geometry.shell.BluemiraShell]) – List of shells from which to make the BluemiraSolid
label (str) – Label to assign to the solid
- _create_solid(*, check_reverse: bool = True)
Creation of the solid
- Returns:
Created FreeCAD solid.
- Raises:
DisjointedSolidError – Solid is disjointed (2 solids created)
- Parameters:
check_reverse (bool)
- _create_shape()
- Returns:
shape of the object as a single solid
- Return type:
Part.Solid
- classmethod _create(obj: bluemira.codes._freecadapi.apiSolid, label: str = '') BluemiraSolid
- Parameters:
obj (bluemira.codes._freecadapi.apiSolid)
label (str)
- Return type:
- property vertexes: bluemira.geometry.coordinates.Coordinates
The vertexes of the solid.
- Return type:
- property edges: tuple[bluemira.geometry.wire.BluemiraWire]
The edges of the solid.
- Return type:
- property wires: tuple[bluemira.geometry.wire.BluemiraWire]
The wires of the solid.
- Return type:
- property faces: tuple[bluemira.geometry.face.BluemiraFace]
The faces of the solid.
- Return type:
- property shells: tuple[bluemira.geometry.shell.BluemiraShell]
The shells of the solid.
- Return type:
- property solids: tuple[BluemiraSolid]
The solids of the solid. By definition a tuple of itself.
- Return type:
tuple[BluemiraSolid]