From 77a630b6245f4f1a747b74afbd6f99e1ceb02d16 Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Fri, 7 Apr 2023 08:37:39 -0600 Subject: [PATCH 1/2] Remove bead type --- ansys/api/additive/VERSION | 2 +- ansys/api/additive/v0/additive_domain.proto | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index 8428158..867e524 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -1.1.2 \ No newline at end of file +1.2.0 \ No newline at end of file diff --git a/ansys/api/additive/v0/additive_domain.proto b/ansys/api/additive/v0/additive_domain.proto index 2c15bc4..b957eeb 100644 --- a/ansys/api/additive/v0/additive_domain.proto +++ b/ansys/api/additive/v0/additive_domain.proto @@ -133,17 +133,10 @@ message StlFile { message SingleBeadInput { double bead_length = 2; - BeadType bead_type = 3; MachineSettings machine = 10; AdditiveMaterial material = 11; } -enum BeadType { - BEAD_TYPE_UNSPECIFIED = 0; - BEAD_TYPE_BEAD_ON_POWDER_LAYER = 1; - BEAD_TYPE_BEAD_ON_BASE_PLATE = 2; -} - message PorosityInput { double size_x = 2; double size_y = 3; From a804c6bb0fee66c95f66ca5a89beed02433d1fdd Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Fri, 7 Apr 2023 09:38:30 -0600 Subject: [PATCH 2/2] Decrement protobuf version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 13ec299..1957d82 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ url=f"https://github.com/ansys/{package_name}", license="MIT", python_requires=">=3.7", - install_requires=["grpcio~=1.47", "protobuf~=3.20"], + install_requires=["grpcio~=1.47", "protobuf~=3.19"], packages=setuptools.find_namespace_packages(".", include=("ansys.*",)), package_data={ "": ["*.proto", "*.pyi", "py.typed", "VERSION"],