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.0.1
1.0.2
57 changes: 26 additions & 31 deletions ansys/api/additive/v0/additive_domain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -109,37 +109,6 @@ enum ProgressState {
PROGRESS_STATE_ERROR = 4;
}

message PorosityResult {
double void_ratio = 1;
double powder_ratio = 2;
double solid_ratio = 3;
}

message GrainStatistics {
uint32 grain_number = 1;
float area_fraction = 2;
float diameter_um = 3; // microns
float orientation_angle = 4;
}

message MicrostructureResult {
repeated GrainStatistics xy_circle_equivalence = 1;
repeated GrainStatistics xz_circle_equivalence = 2;
repeated GrainStatistics yz_circle_equivalence = 3;
bytes xy_vtk = 4;
bytes xz_vtk = 5;
bytes yz_vtk = 6;
}

message VtkFile {
string name = 1;
bytes content = 2;
}

message ThermalHistoryResult {
repeated VtkFile vtk_files = 1;
}

message Range {
double min = 1;
double max = 2;
Expand Down Expand Up @@ -191,6 +160,12 @@ message PorosityInput {
AdditiveMaterial material = 11;
}

message PorosityResult {
double void_ratio = 1;
double powder_ratio = 2;
double solid_ratio = 3;
}

message MicrostructureInput {
double cube_min_x = 2;
double cube_min_y = 3;
Expand All @@ -212,6 +187,22 @@ message MicrostructureInput {
uint32 random_seed = 25;
}

message GrainStatistics {
uint32 grain_number = 1;
float area_fraction = 2;
float diameter_um = 3; // microns
float orientation_angle = 4;
}

message MicrostructureResult {
repeated GrainStatistics xy_circle_equivalence = 1;
repeated GrainStatistics xz_circle_equivalence = 2;
repeated GrainStatistics yz_circle_equivalence = 3;
bytes xy_vtk = 4;
bytes xz_vtk = 5;
bytes yz_vtk = 6;
}

message ThermalHistoryInput {
oneof FileType {
StlFile stl_file = 1;
Expand All @@ -221,3 +212,7 @@ message ThermalHistoryInput {
MachineSettings machine = 11;
AdditiveMaterial material = 12;
}

message ThermalHistoryResult {
string coax_ave_zip_file = 1;
}