The downloads.py
module#
Summary#
Container for the example material tuning process inputs. |
|
Holds the files associated with a custom material definition. |
Delete all downloaded examples to free space or update the files. |
|
Decompress a ZIP file to the |
|
Download an STL file describing a 10-millimeter cube. |
|
Download an SLM build file for a small wedge part. |
|
Download the input files for the material tuning example. |
|
Download the files describing a custom material. |
URI for the example data repository. |
|
Folder containing example parts. |
|
Folder containing example build files. |
|
Folder containing example material tuning input files. |
|
Folder containing example custom material data files. |
Description#
Provides functions for downloading sample datasets from the PyAdditive repository.
Module detail#
- downloads.delete_downloads()#
Delete all downloaded examples to free space or update the files.
- downloads.download_10mm_cube()#
Download an STL file describing a 10-millimeter cube.
- downloads.download_small_wedge_slm_build_file()#
Download an SLM build file for a small wedge part.
- downloads.download_material_tuning_input() MaterialTuningExampleInputFiles #
Download the input files for the material tuning example.
- downloads.download_custom_material() CustomMaterialExampleFiles #
Download the files describing a custom material.
- downloads.EXAMPLES_URI = 'https://github.com/ansys/example-data/raw/master'#
URI for the example data repository.
- downloads.PARTS_FOLDER = 'pyadditive/part-only'#
Folder containing example parts.
- downloads.BUILD_FILES_FOLDER = 'pyadditive/buildfiles'#
Folder containing example build files.
- downloads.MATERIAL_TUNING_FOLDER = 'pyadditive/material_tuning_input'#
Folder containing example material tuning input files.
- downloads.CUSTOM_MATERIAL_FOLDER = 'pyadditive/custom_material_data'#
Folder containing example custom material data files.