Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansys/api/additive/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0-dev0
4.0.0-dev0
17 changes: 16 additions & 1 deletion ansys/api/additive/v0/additive_domain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,19 @@ message DownloadFileResponse {
bytes content = 3; // chunk of file content
string content_md5 = 4; // md5 hash of content
Progress progress = 10; // download progress
}
}

message SimulationResponse {
string id = 1;
bytes logs = 2;
oneof ResponseType {
Progress progress = 10;
MeltPool melt_pool = 11;
PorosityResult porosity_result = 13;
MicrostructureResult microstructure_result = 14;
ThermalHistoryResult thermal_history_result = 15;
ThermalStrainResult thermal_strain_result = 16;
Microstructure3DResult microstructure_3d_result = 17;
MaterialTuningResult result = 18;
}
}
9 changes: 1 addition & 8 deletions ansys/api/additive/v0/additive_materials.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ service MaterialsService {

rpc TuneMaterial (TuneMaterialRequest) returns (google.longrunning.Operation) {
option (google.longrunning.operation_info) = {
response_type: "TuneMaterialResponse"
response_type: "SimulationResponse"
metadata_type: "OperationMetadata"
};
}
Expand Down Expand Up @@ -57,11 +57,4 @@ message TuneMaterialRequest {
MaterialTuningInput input = 2;
}

message TuneMaterialResponse {
string id = 1;
oneof ResponseType {
Progress progress = 10;
MaterialTuningResult result = 11;
}
}

Loading