PyAdditive documentation 0.17.2#

PyAnsys Python PyPI GH-CI Codecov MIT Black

Overview#

PyAdditive is a Python client library for the Ansys Additive service.

Installation#

You can use pip to install PyAdditive.

pip install ansys-additive-core

To install the latest development version, run these commands:

git clone https://github.com/ansys/pyadditive
cd pyadditive
pip install -e .

For more information, see Getting Started.

Basic usage#

This code shows how to import PyAdditive and use some basic capabilities:

import ansys.additive.core as pyadditive

additive = pyadditive.Additive()

input = pyadditive.SingleBeadInput(
    machine=pyadditive.AdditiveMachine(),
    material=additive.material("Ti64"),
    id="bead1",
    bead_length=0.001,  # meters
)

summary = additive.simulate(input)

For comprehensive usage information, see Examples in the PyAdditive Documentation.

Documentation and issues#

Documentation for the latest stable release of PyAdditive is hosted at PyAdditive 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.

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