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 @@
1.3.0
1.4.0
36 changes: 35 additions & 1 deletion ansys/api/additive/v0/additive_domain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,38 @@ message MaterialTuningResult {
bytes log = 1;
bytes optimized_parameters = 2;
bytes characteristic_width_lookup = 10;
}
}

enum ThermalSolveType {
THERMAL_SOLVE_TYPE_UNSPECIFIED = 0; // default value used in messages
THERMAL_SOLVE_TYPE_SCAN_PATTERN = 1;
}

message ThermalStrainInput {
oneof FileType {
StlFile stl_file = 1;
BuildFile build_file = 2;
}
ThermalSolveType solve_type = 3;
MachineSettings machine = 10;
AdditiveMaterial material = 11;
}

message ThermalStrainResult {
string shrinkage_file = 1; // name of zip archive on server
uint32 number_of_deposit_layers = 2;
float layer_thickness = 3;
}

message VoxelMeshInput {
oneof FileType {
StlFile stl_file = 1;
BuildFile build_file = 2;
}
float voxel_size = 3;
}

message VoxelMeshResult {
string voxel_file = 1; // name of voxel file on server
}

69 changes: 0 additions & 69 deletions ansys/api/additive/v0/additive_process_window_optimization.proto

This file was deleted.

17 changes: 17 additions & 0 deletions ansys/api/additive/v0/additive_simulation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ service SimulationService {
rpc Simulate(SimulationRequest) returns (stream SimulationResponse);
rpc UploadFile(stream UploadFileRequest) returns (stream UploadFileResponse);
rpc DownloadFile(DownloadFileRequest) returns (stream DownloadFileResponse);
rpc Mesh(MeshRequest) returns (stream MeshResponse);
}

message SimulationResponse {
Expand All @@ -21,6 +22,7 @@ message SimulationResponse {
PorosityResult porosity_result = 13;
MicrostructureResult microstructure_result = 14;
ThermalHistoryResult thermal_history_result = 15;
ThermalStrainResult thermal_strain_result = 16;
}
}

Expand All @@ -31,6 +33,7 @@ message SimulationRequest {
PorosityInput porosity_input = 11;
MicrostructureInput microstructure_input = 12;
ThermalHistoryInput thermal_history_input = 13;
ThermalStrainInput thermal_strain_input = 14;
}
}

Expand Down Expand Up @@ -63,3 +66,17 @@ message DownloadFileResponse {
string content_md5 = 4; // md5 hash of content
Progress progress = 10; // download progress
}

message MeshRequest {
string id = 1;
oneof Input {
VoxelMeshInput voxel_mesh_input = 10;
}
}

message MeshResponse {
string id = 1;
oneof ResponseType {
VoxelMeshResult voxel_mesh_result = 10;
}
}