From 184476421f7cb3eac589bbf1026b3d8332f4ed61 Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Sat, 22 Jun 2024 12:53:54 -0600 Subject: [PATCH] Add remove material service --- ansys/api/additive/VERSION | 2 +- ansys/api/additive/v0/additive_materials.proto | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index b38f36d..a6a6927 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -1.7.0-dev5 \ No newline at end of file +1.7.0-dev6 \ No newline at end of file diff --git a/ansys/api/additive/v0/additive_materials.proto b/ansys/api/additive/v0/additive_materials.proto index b5d42a1..45f3569 100644 --- a/ansys/api/additive/v0/additive_materials.proto +++ b/ansys/api/additive/v0/additive_materials.proto @@ -12,6 +12,8 @@ service MaterialsService { rpc AddMaterial(AddMaterialRequest) returns (AddMaterialResponse); + rpc RemoveMaterial(RemoveMaterialRequest) returns (google.protobuf.Empty); + rpc GetMaterialsList (google.protobuf.Empty) returns (GetMaterialsListResponse); rpc GetMaterial (GetMaterialRequest) returns (AdditiveMaterial); @@ -32,6 +34,10 @@ message AddMaterialResponse { } } +message RemoveMaterialRequest { + string name = 1; +} + message GetMaterialRequest { string name = 1; }