Skip to main content

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

Project description

PyPrimeMesh

pyansys GH-CI MIT black

Overview

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

Documentation and Issues

For information on PyPrimeMesh, refer to the documentation for the latest stable version.

For queries related to PyPrimeMesh, post on the PyPrimeMesh Discussions page.

For bugs or enhancement requests, post an issue on the PyPrimeMesh Issues page.

For assistance, reach out to the support team at 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

Launching 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 Acknowledgments

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.dev2.tar.gz (240.7 kB view details)

Uploaded Source

Built Distribution

ansys_meshing_prime-0.5.0.dev2-py3-none-any.whl (310.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ansys_meshing_prime-0.5.0.dev2.tar.gz
Algorithm Hash digest
SHA256 cd94edecb92a572209fad2c69f7521115c964329be41f6f68727df710d09ac42
MD5 52684a98e6a8f33f53e78686fb5704b4
BLAKE2b-256 dcbdca85768cbb2e5a50b21c9f9ecfe50f0906393c109de107a0274ce4867431

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ansys_meshing_prime-0.5.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b05deb8fa3ec9d4ac25e79d2b751edd27e02a93c691e77f87610f14077a179d
MD5 f0fdfdb706bd4d50ce123bf41958cff8
BLAKE2b-256 6a4ad779342c020205cc1dbf9106b0e1535e1329e6c89b7df086fa351f220fa4

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