The geometry_file.py
module#
Summary#
Provides the build file description. |
|
|
Container for the STL file definition. |
|
Machine type values. |
Description#
Provides a container for part geometry files.
Module detail#
- class 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#
Import detail#
from ansys.additive.core.geometry_file import BuildFile
Property detail#
- property BuildFile.type: MachineType#
Additive manufacturing machine type this file is for.
Overview#
Path of the STL file. |
Import detail#
from ansys.additive.core.geometry_file import StlFile
Property detail#
- class StlFile.MachineType#
Bases:
enum.IntEnum
Machine type values.
Overview#
Import detail#
from ansys.additive.core.geometry_file import MachineType
Attribute detail#
- MachineType.NONE#
- MachineType.ADDITIVE_INDUSTRIES#
- MachineType.SLM#
- MachineType.RENISHAW#
- MachineType.EOS#
- MachineType.TRUMPF#
- MachineType.HB3D#
- MachineType.SISMA#