Skip to main content

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

Project description

PyPrimeMesh

pyansys PyPI - Version PyPI - Python Version GH-CI MIT black PyPI - Downloads

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.

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 or download the PyPrimeMesh cheat sheet. This one-page reference provides syntax rules and commands for using PyPrimeMesh.

On the PyPrimeMesh Issues page, you can create issues to report bugs and request new features. On the PyPrimeMesh Discussions page or the Discussions 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.

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:

pip install ansys-meshing-prime[all]

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

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:

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:

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansys_meshing_prime-0.5.0.dev11.tar.gz (268.6 kB view details)

Uploaded Source

Built Distribution

ansys_meshing_prime-0.5.0.dev11-py3-none-any.whl (343.6 kB view details)

Uploaded Python 3

File details

Details for the file ansys_meshing_prime-0.5.0.dev11.tar.gz.

File metadata

File hashes

Hashes for ansys_meshing_prime-0.5.0.dev11.tar.gz
Algorithm Hash digest
SHA256 18a381a381e741fddb090131f806873412d1f31f0d2913d38ade8bf27dc31ac0
MD5 10c7948b1f21648042ba5837b1880dd9
BLAKE2b-256 da4e8dd3c2cf5eb2347d981a21a4fe01e51763ea16b38b8a8e61d6fd390f3079

See more details on using hashes here.

File details

Details for the file ansys_meshing_prime-0.5.0.dev11-py3-none-any.whl.

File metadata

File hashes

Hashes for ansys_meshing_prime-0.5.0.dev11-py3-none-any.whl
Algorithm Hash digest
SHA256 c49613d76e982409f1abf7b4a2a653e2dbe04627cf3ebd4220fd2f1a7ba98178
MD5 2a37b92c4a2f8cad4a2d8730d3361a9b
BLAKE2b-256 e7e7d9ebb7f1af26d09f260450a4fa9d9a89d385eef69bdc0ad730564935fb3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page