Skip to content

Commit 300a5c6

Browse files
authored
Rename material tuning result in simulation response (#56)
1 parent 8a1e935 commit 300a5c6

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

ansys/api/additive/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0-dev0
1+
5.0.1-dev0

ansys/api/additive/v0/additive_domain.proto

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -302,18 +302,3 @@ message DownloadFileResponse {
302302
string content_md5 = 4; // md5 hash of content
303303
Progress progress = 10; // download progress
304304
}
305-
306-
message SimulationResponse {
307-
string id = 1;
308-
bytes logs = 2;
309-
oneof ResponseType {
310-
Progress progress = 10;
311-
MeltPool melt_pool = 11;
312-
PorosityResult porosity_result = 13;
313-
MicrostructureResult microstructure_result = 14;
314-
ThermalHistoryResult thermal_history_result = 15;
315-
ThermalStrainResult thermal_strain_result = 16;
316-
Microstructure3DResult microstructure_3d_result = 17;
317-
MaterialTuningResult result = 18;
318-
}
319-
}

ansys/api/additive/v0/additive_simulation.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@ message SimulationRequest {
4141
}
4242
}
4343

44+
message SimulationResponse {
45+
string id = 1;
46+
bytes logs = 2; // zip file containing simulation logs
47+
oneof ResponseType {
48+
Progress progress = 10;
49+
MeltPool melt_pool = 11;
50+
PorosityResult porosity_result = 13;
51+
MicrostructureResult microstructure_result = 14;
52+
ThermalHistoryResult thermal_history_result = 15;
53+
ThermalStrainResult thermal_strain_result = 16;
54+
Microstructure3DResult microstructure_3d_result = 17;
55+
MaterialTuningResult material_tuning_result = 18;
56+
}
57+
}
58+
4459
// UploadFileRequest is used to transfer a file in chunks from
4560
// a client to the server. Each message should be <= 4MiB
4661
// unless the gRPC max receive message size has been changed.

0 commit comments

Comments
 (0)