File tree Expand file tree Collapse file tree 4 files changed +53
-71
lines changed Expand file tree Collapse file tree 4 files changed +53
-71
lines changed Original file line number Diff line number Diff line change 1- 1.3 .0
1+ 1.4 .0
Original file line number Diff line number Diff line change @@ -216,4 +216,38 @@ message MaterialTuningResult {
216216 bytes log = 1 ;
217217 bytes optimized_parameters = 2 ;
218218 bytes characteristic_width_lookup = 10 ;
219- }
219+ }
220+
221+ enum ThermalSolveType {
222+ THERMAL_SOLVE_TYPE_UNSPECIFIED = 0 ; // default value used in messages
223+ THERMAL_SOLVE_TYPE_SCAN_PATTERN = 1 ;
224+ }
225+
226+ message ThermalStrainInput {
227+ oneof FileType {
228+ StlFile stl_file = 1 ;
229+ BuildFile build_file = 2 ;
230+ }
231+ ThermalSolveType solve_type = 3 ;
232+ MachineSettings machine = 10 ;
233+ AdditiveMaterial material = 11 ;
234+ }
235+
236+ message ThermalStrainResult {
237+ string shrinkage_file = 1 ; // name of zip archive on server
238+ uint32 number_of_deposit_layers = 2 ;
239+ float layer_thickness = 3 ;
240+ }
241+
242+ message VoxelMeshInput {
243+ oneof FileType {
244+ StlFile stl_file = 1 ;
245+ BuildFile build_file = 2 ;
246+ }
247+ float voxel_size = 3 ;
248+ }
249+
250+ message VoxelMeshResult {
251+ string voxel_file = 1 ; // name of voxel file on server
252+ }
253+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ service SimulationService {
1111 rpc Simulate (SimulationRequest ) returns (stream SimulationResponse );
1212 rpc UploadFile (stream UploadFileRequest ) returns (stream UploadFileResponse );
1313 rpc DownloadFile (DownloadFileRequest ) returns (stream DownloadFileResponse );
14+ rpc Mesh (MeshRequest ) returns (stream MeshResponse );
1415}
1516
1617message SimulationResponse {
@@ -21,6 +22,7 @@ message SimulationResponse {
2122 PorosityResult porosity_result = 13 ;
2223 MicrostructureResult microstructure_result = 14 ;
2324 ThermalHistoryResult thermal_history_result = 15 ;
25+ ThermalStrainResult thermal_strain_result = 16 ;
2426 }
2527}
2628
@@ -31,6 +33,7 @@ message SimulationRequest {
3133 PorosityInput porosity_input = 11 ;
3234 MicrostructureInput microstructure_input = 12 ;
3335 ThermalHistoryInput thermal_history_input = 13 ;
36+ ThermalStrainInput thermal_strain_input = 14 ;
3437 }
3538}
3639
@@ -63,3 +66,17 @@ message DownloadFileResponse {
6366 string content_md5 = 4 ; // md5 hash of content
6467 Progress progress = 10 ; // download progress
6568}
69+
70+ message MeshRequest {
71+ string id = 1 ;
72+ oneof Input {
73+ VoxelMeshInput voxel_mesh_input = 10 ;
74+ }
75+ }
76+
77+ message MeshResponse {
78+ string id = 1 ;
79+ oneof ResponseType {
80+ VoxelMeshResult voxel_mesh_result = 10 ;
81+ }
82+ }
You can’t perform that action at this time.
0 commit comments