BuildFile#

class ansys.additive.core.geometry_file.BuildFile(type: MachineType, path: os.PathLike)#

Provides the build file description.

In the context of PyAdditive, a build file is a ZIP archive containing:

  • A part geometry file in STL format.

  • Zero or more support geometry files in STL format. Support file names must end in *_vless.stl for volumeless supports and *_solid.stl for solid supports.

  • One or more machine instruction files. The number and type of files depend upon the machine type.

These files must be placed in the root of the archive and not under a folder.

Parameters:
type: MachineType

Type of additive machine the build file is for.

path: os.PathLike

Path to the build file.

Overview#

type

Additive manufacturing machine type this file is for.

path

Path of the ZIP file.

Import detail#

from ansys.additive.core.geometry_file import BuildFile

Property detail#

property BuildFile.type: MachineType#

Additive manufacturing machine type this file is for.

property BuildFile.path: str#

Path of the ZIP file.

Method detail#

BuildFile.__repr__()#
BuildFile.__eq__(other: object) bool#