From e3f2b60e5ee43130d22ab7c616abd9bc54b6b837 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 db28b50..8d85419 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 753fdf83485a15d71b906fdfba6156eaa4121113 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 8d85419..db28b50 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 938487122ed69bffe7f621b88e39516f3fc6d6c2 Mon Sep 17 00:00:00 2001 From: Peter Krull Date: Mon, 12 Feb 2024 13:49:12 -0700 Subject: [PATCH 3/3] Change 3d microstructure flag from float to bool --- ansys/api/additive/VERSION | 2 +- ansys/api/additive/v0/additive_domain.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansys/api/additive/VERSION b/ansys/api/additive/VERSION index 2178b61..83b57fc 100644 --- a/ansys/api/additive/VERSION +++ b/ansys/api/additive/VERSION @@ -1 +1 @@ -1.6.0-dev3 \ No newline at end of file +1.6.0-dev4 \ 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 db28b50..cbcf86f 100644 --- a/ansys/api/additive/v0/additive_domain.proto +++ b/ansys/api/additive/v0/additive_domain.proto @@ -281,7 +281,7 @@ message Microstructure3DInput { optional InitialMicrostructureInput initial_microstructure_input = 28; optional MachineSettings machine = 29; optional AdditiveMaterial material = 30; - optional double use_provided_initial_microstructure_data = 31; + optional bool use_provided_initial_microstructure_data = 31; } message Microstructure3DResult {