Metadata-Version: 2.1
Name: ansys-meshing-prime
Version: 0.5.0.dev11
Summary: PyPrimeMesh is a Python client to Ansys Prime Server, which delivers core Ansys meshing technology.
Author-email: "ANSYS, Inc." <pyansys.core@ansys.com>
Maintainer-email: "ANSYS, Inc." <pyansys.core@ansys.com>
Requires-Python: >=3.8,<4
Description-Content-Type: text/markdown
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: ansys-api-meshing-prime==0.1.2.dev1
Requires-Dist: numpy>=1.14.0
Requires-Dist: appdirs>=1.4.0
Requires-Dist: importlib-metadata>=4.0,<5; python_version<='3.8'
Requires-Dist: pyvista>=0.32.0 ; extra == "all"
Requires-Dist: ansys-sphinx-theme==0.12.5 ; extra == "doc"
Requires-Dist: jupyter-sphinx==0.5.3 ; extra == "doc"
Requires-Dist: numpydoc==1.6.0 ; extra == "doc"
Requires-Dist: Sphinx==7.2.6 ; extra == "doc"
Requires-Dist: pyvista==0.43.1 ; extra == "doc"
Requires-Dist: sphinx-autodoc-typehints==1.25.2 ; extra == "doc"
Requires-Dist: sphinx-copybutton==0.5.2 ; extra == "doc"
Requires-Dist: sphinx-gallery==0.15.0 ; extra == "doc"
Requires-Dist: sphinx-notfound-page==1.0.0 ; extra == "doc"
Requires-Dist: sphinxemoji==0.2.0 ; extra == "doc"
Requires-Dist: pyvista>=0.32.0 ; extra == "graphics"
Requires-Dist: pytest==7.4.4 ; extra == "tests"
Requires-Dist: pytest-cov==4.1.0 ; extra == "tests"
Requires-Dist: pytest-pyvista==0.1.9 ; extra == "tests"
Requires-Dist: pytest-xvfb==3.0.0 ; extra == "tests"
Requires-Dist: pyvista[trame]==0.43.1 ; extra == "tests"
Project-URL: Documentation, https://prime.docs.pyansys.com
Project-URL: Source, https://github.com/ansys/pyprimemesh
Provides-Extra: all
Provides-Extra: doc
Provides-Extra: graphics
Provides-Extra: tests

# PyPrimeMesh

[![pyansys](https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC)](https://docs.pyansys.com/)
[![PyPI - Version](https://img.shields.io/pypi/v/ansys-meshing-prime)](https://pypi.org/project/ansys-meshing-prime/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ansys-meshing-prime)](https://pypi.org/project/ansys-meshing-prime/)
[![GH-CI](https://github.com/ansys/pyprimemesh/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/ansys/pyprimemesh/actions/workflows/ci_cd.yml)
[![MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat)](https://github.com/psf/black)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/ansys-meshing-prime)](https://pypi.org/project/ansys-meshing-prime/)

## Overview

PyPrimeMesh is a Python client to Ansys Prime Server, which
delivers core Ansys meshing technology.

## Documentation and issues

Documentation for the latest stable release of PyPrimeMesh is hosted at
[PyPrimeMesh documentation](https://prime.docs.pyansys.com/version/stable/).

In the upper right corner of the documentation's title bar, there is an option
for switching from viewing the documentation for the latest stable release
to viewing the documentation for the development version or previously
released versions.

You can also [view](https://cheatsheets.docs.pyansys.com/pyprimemesh_cheat_sheet.png) or
[download](https://cheatsheets.docs.pyansys.com/pyprimemesh_cheat_sheet.pdf) the
PyPrimeMesh cheat sheet. This one-page reference provides syntax rules and commands
for using PyPrimeMesh.

On the [PyPrimeMesh Issues](https://github.com/ansys/pyprimemesh/issues) page,
you can create issues to report bugs and request new features. On the
[PyPrimeMesh Discussions](https://github.com/ansys/pyprimemesh/discussions) page or the
[Discussions](https://discuss.ansys.com/) page on the Ansys Developer portal,
you can post questions, share ideas, and get community feedback. 

To reach the project support team, email [pyansys.core@ansys.com](mailtto:pyansys.core@ansys.com).

## Installation

The `ansys-meshing-prime` package supports Python 3.8 to Python 3.11 on the Windows and Linux
operating systems.


PyPrimeMesh can be installed with all dependencies directly from PyPi by running
this command:

```bash
pip install ansys-meshing-prime[all]
```

Alternatively, you can clone this repository and install the client using
these commands:

```bash
git clone https://github.com/ansys/pyprimemesh
cd pyprimemesh
pip install -e .[all]
```

The preceding commands install all functionality that is important to development.
To install a basic version of the client, use this command instead:

```bash
pip install -e .
```

## Dependencies

You must have Ansys 2023 R1 or later installed for access to Ansys Prime Server.
Optionally, CAD readers can be configured. Ansys Prime Server requires
an Ansys Mechanical PrepPost or Fluids PrepPost (CFD) license to run.

## Get started

### Launch PyPrimeMesh

To launch PyPrimeMesh, use this code:

```python
import ansys.meshing.prime as prime

with prime.launch_prime() as prime_client:
    model = prime_client.model
```

## License and aknowledgments

PyPrimeMesh is licensed under the MIT license.

PyPrimeMesh makes no commercial claim over Ansys whatsoever. This library extends the functionality of
Ansys Prime Server by adding a Python interface without changing the core behavior or license
of the original software. The use of Ansys Prime Server requires a legally licensed copy of Ansys
2023 R1 or later.

