:class:`Part` ============= .. py:class:: ansys.health.heart.objects.Part(name: str = None, part_type: PartType = PartType.UNDEFINED) Part class. .. !! processed by numpydoc !! .. py:currentmodule:: Part Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~get_point` - Get a point from the part. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~surfaces` - List of surfaces belonging to the part. * - :py:attr:`~surface_names` - List of surface names belonging to the part. .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~name` - Part name. * - :py:attr:`~pid` - Part ID. * - :py:attr:`~mid` - Material ID associated with the part. * - :py:attr:`~part_type` - Type of the part. * - :py:attr:`~element_ids` - Array holding element IDs that make up the part. * - :py:attr:`~points` - Points of interest belonging to the part. * - :py:attr:`~caps` - List of caps belonging to the part. * - :py:attr:`~cavity` - * - :py:attr:`~fiber` - Flag indicating if the part has fiber/sheet data. * - :py:attr:`~active` - Flag indicating if active stress is established. * - :py:attr:`~meca_material` - Material model to assign in the simulator. * - :py:attr:`~ep_material` - EP material model to assign in the simulator. Import detail ------------- .. code-block:: python from ansys.health.heart.objects import Part Property detail --------------- .. py:property:: surfaces :type: List[SurfaceMesh] List of surfaces belonging to the part. .. !! processed by numpydoc !! .. py:property:: surface_names :type: List[str] List of surface names belonging to the part. .. !! processed by numpydoc !! Attribute detail ---------------- .. py:attribute:: name :value: None Part name. .. !! processed by numpydoc !! .. py:attribute:: pid :value: None Part ID. .. !! processed by numpydoc !! .. py:attribute:: mid :value: None Material ID associated with the part. .. !! processed by numpydoc !! .. py:attribute:: part_type :type: PartType Type of the part. .. !! processed by numpydoc !! .. py:attribute:: element_ids :type: numpy.ndarray Array holding element IDs that make up the part. .. !! processed by numpydoc !! .. py:attribute:: points :type: List[Point] :value: [] Points of interest belonging to the part. .. !! processed by numpydoc !! .. py:attribute:: caps :type: List[Cap] :value: [] List of caps belonging to the part. .. !! processed by numpydoc !! .. py:attribute:: cavity :type: Cavity :value: None .. py:attribute:: fiber :type: bool :value: False Flag indicating if the part has fiber/sheet data. .. !! processed by numpydoc !! .. py:attribute:: active :type: bool :value: False Flag indicating if active stress is established. .. !! processed by numpydoc !! .. py:attribute:: meca_material :type: ansys.health.heart.settings.material.material.MechanicalMaterialModel Material model to assign in the simulator. .. !! processed by numpydoc !! .. py:attribute:: ep_material :type: ansys.health.heart.settings.material.ep_material.EPMaterial EP material model to assign in the simulator. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: get_point(pointname: str) -> Point Get a point from the part. .. !! processed by numpydoc !!