PyPrimeMesh is a Python client to Ansys Prime Server, which delivers core Ansys meshing technology.
Project description
PyPrimeMesh
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansys_meshing_prime-0.6.0.dev5.tar.gz
.
File metadata
- Download URL: ansys_meshing_prime-0.6.0.dev5.tar.gz
- Upload date:
- Size: 317.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a8b622d2774d66b4cb20896c6562762de85a08ce56944e07ef53ba21ad988ca |
|
MD5 | 642c086bca76fbf34cf372bbcbf4ad26 |
|
BLAKE2b-256 | c10eb5e68fa7ca0272e77d5ccaa51190762fa9789d4830082490aac30a2baf69 |
File details
Details for the file ansys_meshing_prime-0.6.0.dev5-py3-none-any.whl
.
File metadata
- Download URL: ansys_meshing_prime-0.6.0.dev5-py3-none-any.whl
- Upload date:
- Size: 396.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac6187404b2b5b0807b49fd4f7f6d8535c3b79ee8e80b31c92110830f29b03e |
|
MD5 | ac53ef0ddffa7f2eedb6ef2063b807cb |
|
BLAKE2b-256 | 8a6df77c3deee73def5dceb4cc7adcb8a30b279981c5463eef30c8c6d145c438 |