From 980381d5e127b863b1ca75efbc8ef44c8f0c5598 Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Fri, 9 Feb 2024 15:41:48 -0700 Subject: [PATCH 1/3] Revise 3D microstructure message --- ansys/api/additive/v0/additive_domain.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansys/api/additive/v0/additive_domain.proto b/ansys/api/additive/v0/additive_domain.proto index cbcf86f..c31845d 100644 --- a/ansys/api/additive/v0/additive_domain.proto +++ b/ansys/api/additive/v0/additive_domain.proto @@ -266,9 +266,9 @@ message Microstructure3DInput { double z_length = 3; // length of the domain cuboid in the z direction optional bytes initial_grain_data = 4; optional bytes initial_euler_angle_data = 5; - optional double x_origin = 16; // domain offset from base plate origin in x direction - optional double y_origin = 17; // domain offset from base plate origin in y direction - optional double z_origin = 18; // domain offset from base plate origin in z direction + optional double x_origin = 16; // offset from base plate origin in x direction + optional double y_origin = 17; // offset from base plate origin in y direction + optional double z_origin = 18; // offset from base plate origin in z direction optional double deposit_layer_thickness = 19; optional uint32 num_deposit_layers = 20; optional uint32 first_deposit_layer = 21; From 1184585e663dcd97a574d23daa31d74cf08eb07a Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Fri, 9 Feb 2024 15:44:50 -0700 Subject: [PATCH 2/3] Update comments --- ansys/api/additive/v0/additive_domain.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansys/api/additive/v0/additive_domain.proto b/ansys/api/additive/v0/additive_domain.proto index c31845d..cbcf86f 100644 --- a/ansys/api/additive/v0/additive_domain.proto +++ b/ansys/api/additive/v0/additive_domain.proto @@ -266,9 +266,9 @@ message Microstructure3DInput { double z_length = 3; // length of the domain cuboid in the z direction optional bytes initial_grain_data = 4; optional bytes initial_euler_angle_data = 5; - optional double x_origin = 16; // offset from base plate origin in x direction - optional double y_origin = 17; // offset from base plate origin in y direction - optional double z_origin = 18; // offset from base plate origin in z direction + optional double x_origin = 16; // domain offset from base plate origin in x direction + optional double y_origin = 17; // domain offset from base plate origin in y direction + optional double z_origin = 18; // domain offset from base plate origin in z direction optional double deposit_layer_thickness = 19; optional uint32 num_deposit_layers = 20; optional uint32 first_deposit_layer = 21; From 2acf875a6826fe72b31bdd017dc2bd6e1c3c6594 Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Fri, 16 Feb 2024 14:50:57 -0700 Subject: [PATCH 3/3] Remove initial microstructure message --- ansys/api/additive/VERSION | 2 +- ansys/api/additive/v0/additive_domain.proto | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index 83b57fc..a4591ab 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -1.6.0-dev4 \ No newline at end of file +1.6.0-dev5 \ No newline at end of file diff --git a/ansys/api/additive/v0/additive_domain.proto b/ansys/api/additive/v0/additive_domain.proto index cbcf86f..89a7ddc 100644 --- a/ansys/api/additive/v0/additive_domain.proto +++ b/ansys/api/additive/v0/additive_domain.proto @@ -252,13 +252,6 @@ message VoxelMeshResult { string voxel_file = 1; // name of voxel file on server } -message InitialMicrostructureInput { - uint32 number_of_random_nuclei = 1; - double x_length = 2; // length of the domain cuboid in the x direction - double y_length = 3; // length of the domain cuboid in the y direction - double z_length = 4; // length of the domain cuboid in the z direction -} - message Microstructure3DInput { // Thermal and microstructure domains are assumed to be coincident. double x_length = 1; // length of the domain cuboid in the x direction @@ -278,7 +271,7 @@ message Microstructure3DInput { optional bool use_transient_bulk_nucleation = 25; optional double max_bulk_nucleation_density = 26; optional bool run_initial_microstructure = 27; - optional InitialMicrostructureInput initial_microstructure_input = 28; + optional uint32 number_of_random_nuclei = 28; // only used if run_initial_microstructure is true optional MachineSettings machine = 29; optional AdditiveMaterial material = 30; optional bool use_provided_initial_microstructure_data = 31;