luminarycloud 0.20.0__py3-none-any.whl → 0.22.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. luminarycloud/__init__.py +5 -1
  2. luminarycloud/_client/client.py +5 -0
  3. luminarycloud/_client/http_client.py +10 -8
  4. luminarycloud/_feature_flag.py +22 -0
  5. luminarycloud/_helpers/_create_simulation.py +7 -2
  6. luminarycloud/_helpers/_upload_mesh.py +1 -0
  7. luminarycloud/_helpers/download.py +3 -1
  8. luminarycloud/_helpers/pagination.py +62 -0
  9. luminarycloud/_helpers/proto_decorator.py +13 -5
  10. luminarycloud/_helpers/upload.py +18 -12
  11. luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2.py +55 -0
  12. luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2.pyi +52 -0
  13. luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2_grpc.py +72 -0
  14. luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2_grpc.pyi +35 -0
  15. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +168 -124
  16. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +133 -4
  17. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +66 -0
  18. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +20 -0
  19. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
  20. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +5 -5
  21. luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +74 -73
  22. luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +17 -3
  23. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +33 -20
  24. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +21 -1
  25. luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.py +16 -16
  26. luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.pyi +7 -3
  27. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +97 -61
  28. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +72 -3
  29. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +34 -0
  30. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +12 -0
  31. luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.py +33 -31
  32. luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.pyi +23 -2
  33. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +68 -19
  34. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +98 -0
  35. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.py +33 -0
  36. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.pyi +10 -0
  37. luminarycloud/_proto/assistant/assistant_pb2.py +74 -41
  38. luminarycloud/_proto/assistant/assistant_pb2.pyi +64 -2
  39. luminarycloud/_proto/assistant/assistant_pb2_grpc.py +33 -0
  40. luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +10 -0
  41. luminarycloud/_proto/base/base_pb2.py +20 -7
  42. luminarycloud/_proto/base/base_pb2.pyi +38 -0
  43. luminarycloud/_proto/cad/shape_pb2.py +39 -19
  44. luminarycloud/_proto/cad/shape_pb2.pyi +86 -34
  45. luminarycloud/_proto/cad/transformation_pb2.py +60 -16
  46. luminarycloud/_proto/cad/transformation_pb2.pyi +138 -32
  47. luminarycloud/_proto/client/simulation_pb2.py +490 -348
  48. luminarycloud/_proto/client/simulation_pb2.pyi +570 -8
  49. luminarycloud/_proto/geometry/geometry_pb2.py +77 -63
  50. luminarycloud/_proto/geometry/geometry_pb2.pyi +42 -3
  51. luminarycloud/_proto/hexmesh/hexmesh_pb2.py +24 -18
  52. luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +23 -2
  53. luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
  54. luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +5 -5
  55. luminarycloud/_proto/quantity/quantity_options_pb2.py +6 -6
  56. luminarycloud/_proto/quantity/quantity_options_pb2.pyi +10 -1
  57. luminarycloud/_proto/quantity/quantity_pb2.py +176 -167
  58. luminarycloud/_proto/quantity/quantity_pb2.pyi +11 -5
  59. luminarycloud/enum/__init__.py +1 -0
  60. luminarycloud/enum/gpu_type.py +2 -0
  61. luminarycloud/enum/quantity_type.py +9 -0
  62. luminarycloud/enum/vis_enums.py +23 -3
  63. luminarycloud/feature_modification.py +45 -35
  64. luminarycloud/geometry.py +104 -8
  65. luminarycloud/geometry_version.py +57 -3
  66. luminarycloud/meshing/mesh_generation_params.py +8 -8
  67. luminarycloud/params/enum/_enum_wrappers.py +537 -30
  68. luminarycloud/params/simulation/adaptive_mesh_refinement_.py +4 -0
  69. luminarycloud/params/simulation/physics/__init__.py +0 -1
  70. luminarycloud/params/simulation/physics/periodic_pair_.py +12 -31
  71. luminarycloud/physics_ai/architectures.py +5 -5
  72. luminarycloud/physics_ai/inference.py +13 -13
  73. luminarycloud/physics_ai/solution.py +3 -1
  74. luminarycloud/pipelines/__init__.py +11 -3
  75. luminarycloud/pipelines/api.py +240 -4
  76. luminarycloud/pipelines/arguments.py +15 -0
  77. luminarycloud/pipelines/core.py +113 -96
  78. luminarycloud/pipelines/{operators.py → stages.py} +96 -39
  79. luminarycloud/project.py +15 -47
  80. luminarycloud/simulation.py +66 -3
  81. luminarycloud/simulation_param.py +0 -9
  82. luminarycloud/types/matrix3.py +12 -0
  83. luminarycloud/vis/__init__.py +2 -0
  84. luminarycloud/vis/interactive_report.py +79 -93
  85. luminarycloud/vis/report.py +219 -65
  86. luminarycloud/vis/visualization.py +60 -0
  87. luminarycloud/volume_selection.py +132 -69
  88. {luminarycloud-0.20.0.dist-info → luminarycloud-0.22.0.dist-info}/METADATA +1 -1
  89. {luminarycloud-0.20.0.dist-info → luminarycloud-0.22.0.dist-info}/RECORD +90 -89
  90. luminarycloud/params/simulation/physics/periodic_pair/__init__.py +0 -2
  91. luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/__init__.py +0 -2
  92. luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/rotational_periodicity_.py +0 -31
  93. luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/translational_periodicity_.py +0 -29
  94. luminarycloud/params/simulation/physics/periodic_pair/periodicity_type_.py +0 -25
  95. {luminarycloud-0.20.0.dist-info → luminarycloud-0.22.0.dist-info}/WHEEL +0 -0
@@ -125,11 +125,21 @@ class GeometryServiceStub(object):
125
125
  request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsRequest.SerializeToString,
126
126
  response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsResponse.FromString,
127
127
  )
128
+ self.ListGeometryVersions = channel.unary_unary(
129
+ '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/ListGeometryVersions',
130
+ request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsRequest.SerializeToString,
131
+ response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsResponse.FromString,
132
+ )
128
133
  self.GetGeometryVersion = channel.unary_unary(
129
134
  '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/GetGeometryVersion',
130
135
  request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionRequest.SerializeToString,
131
136
  response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionResponse.FromString,
132
137
  )
138
+ self.UpdateGeometryVersion = channel.unary_unary(
139
+ '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/UpdateGeometryVersion',
140
+ request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionRequest.SerializeToString,
141
+ response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionResponse.FromString,
142
+ )
133
143
  self.GetSdkCode = channel.unary_unary(
134
144
  '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/GetSdkCode',
135
145
  request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetSdkCodeRequest.SerializeToString,
@@ -306,12 +316,24 @@ class GeometryServiceServicer(object):
306
316
  context.set_details('Method not implemented!')
307
317
  raise NotImplementedError('Method not implemented!')
308
318
 
319
+ def ListGeometryVersions(self, request, context):
320
+ """Missing associated documentation comment in .proto file."""
321
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
322
+ context.set_details('Method not implemented!')
323
+ raise NotImplementedError('Method not implemented!')
324
+
309
325
  def GetGeometryVersion(self, request, context):
310
326
  """Missing associated documentation comment in .proto file."""
311
327
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
312
328
  context.set_details('Method not implemented!')
313
329
  raise NotImplementedError('Method not implemented!')
314
330
 
331
+ def UpdateGeometryVersion(self, request, context):
332
+ """Missing associated documentation comment in .proto file."""
333
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
334
+ context.set_details('Method not implemented!')
335
+ raise NotImplementedError('Method not implemented!')
336
+
315
337
  def GetSdkCode(self, request, context):
316
338
  """Get the SDK code to generate all the geometry versions of a given geometry.
317
339
  """
@@ -432,11 +454,21 @@ def add_GeometryServiceServicer_to_server(servicer, server):
432
454
  request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsRequest.FromString,
433
455
  response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListTagsResponse.SerializeToString,
434
456
  ),
457
+ 'ListGeometryVersions': grpc.unary_unary_rpc_method_handler(
458
+ servicer.ListGeometryVersions,
459
+ request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsRequest.FromString,
460
+ response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsResponse.SerializeToString,
461
+ ),
435
462
  'GetGeometryVersion': grpc.unary_unary_rpc_method_handler(
436
463
  servicer.GetGeometryVersion,
437
464
  request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionRequest.FromString,
438
465
  response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetGeometryVersionResponse.SerializeToString,
439
466
  ),
467
+ 'UpdateGeometryVersion': grpc.unary_unary_rpc_method_handler(
468
+ servicer.UpdateGeometryVersion,
469
+ request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionRequest.FromString,
470
+ response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionResponse.SerializeToString,
471
+ ),
440
472
  'GetSdkCode': grpc.unary_unary_rpc_method_handler(
441
473
  servicer.GetSdkCode,
442
474
  request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.GetSdkCodeRequest.FromString,
@@ -826,6 +858,23 @@ class GeometryService(object):
826
858
  options, channel_credentials,
827
859
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
828
860
 
861
+ @staticmethod
862
+ def ListGeometryVersions(request,
863
+ target,
864
+ options=(),
865
+ channel_credentials=None,
866
+ call_credentials=None,
867
+ insecure=False,
868
+ compression=None,
869
+ wait_for_ready=None,
870
+ timeout=None,
871
+ metadata=None):
872
+ return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/ListGeometryVersions',
873
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsRequest.SerializeToString,
874
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.ListGeometryVersionsResponse.FromString,
875
+ options, channel_credentials,
876
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
877
+
829
878
  @staticmethod
830
879
  def GetGeometryVersion(request,
831
880
  target,
@@ -843,6 +892,23 @@ class GeometryService(object):
843
892
  options, channel_credentials,
844
893
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
845
894
 
895
+ @staticmethod
896
+ def UpdateGeometryVersion(request,
897
+ target,
898
+ options=(),
899
+ channel_credentials=None,
900
+ call_credentials=None,
901
+ insecure=False,
902
+ compression=None,
903
+ wait_for_ready=None,
904
+ timeout=None,
905
+ metadata=None):
906
+ return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.geometry.GeometryService/UpdateGeometryVersion',
907
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionRequest.SerializeToString,
908
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_geometry_dot_geometry__pb2.UpdateGeometryVersionResponse.FromString,
909
+ options, channel_credentials,
910
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
911
+
846
912
  @staticmethod
847
913
  def GetSdkCode(request,
848
914
  target,
@@ -140,10 +140,18 @@ class GeometryServiceStub:
140
140
  contains more carefully crafted datastructures since SDK clients expose
141
141
  raw response protos for their usage.
142
142
  """
143
+ ListGeometryVersions: grpc.UnaryUnaryMultiCallable[
144
+ luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsRequest,
145
+ luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsResponse,
146
+ ]
143
147
  GetGeometryVersion: grpc.UnaryUnaryMultiCallable[
144
148
  luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionRequest,
145
149
  luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionResponse,
146
150
  ]
151
+ UpdateGeometryVersion: grpc.UnaryUnaryMultiCallable[
152
+ luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionRequest,
153
+ luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionResponse,
154
+ ]
147
155
  GetSdkCode: grpc.UnaryUnaryMultiCallable[
148
156
  luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetSdkCodeRequest,
149
157
  luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetSdkCodeResponse,
@@ -326,12 +334,24 @@ class GeometryServiceServicer(metaclass=abc.ABCMeta):
326
334
  raw response protos for their usage.
327
335
  """
328
336
  @abc.abstractmethod
337
+ def ListGeometryVersions(
338
+ self,
339
+ request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsRequest,
340
+ context: grpc.ServicerContext,
341
+ ) -> luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.ListGeometryVersionsResponse: ...
342
+ @abc.abstractmethod
329
343
  def GetGeometryVersion(
330
344
  self,
331
345
  request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionRequest,
332
346
  context: grpc.ServicerContext,
333
347
  ) -> luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetGeometryVersionResponse: ...
334
348
  @abc.abstractmethod
349
+ def UpdateGeometryVersion(
350
+ self,
351
+ request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionRequest,
352
+ context: grpc.ServicerContext,
353
+ ) -> luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.UpdateGeometryVersionResponse: ...
354
+ @abc.abstractmethod
335
355
  def GetSdkCode(
336
356
  self,
337
357
  request: luminarycloud._proto.api.v0.luminarycloud.geometry.geometry_pb2.GetSdkCodeRequest,
@@ -18,7 +18,7 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
18
18
  from luminarycloud._proto.inferenceservice import inferenceservice_pb2 as proto_dot_inferenceservice_dot_inferenceservice__pb2
19
19
 
20
20
 
21
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4proto/api/v0/luminarycloud/inference/inference.proto\x12-luminary.proto.api.v0.luminarycloud.inference\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a-proto/inferenceservice/inferenceservice.proto\"\xab\x01\n CreateInferenceServiceJobRequest\x12\x14\n\x0c\x61rtifact_url\x18\x01 \x01(\t\x12\x0f\n\x07stl_url\x18\x02 \x01(\t\x12\x10\n\x08settings\x18\x07 \x01(\x0c\x12\x12\n\nconditions\x18\x03 \x01(\x0c\x12\x12\n\nproject_id\x18\x05 \x01(\t\x12 \n\x18write_visualization_data\x18\x06 \x01(\x08J\x04\x08\x04\x10\x05\"\x8e\x01\n!CreateInferenceServiceJobResponse\x12\x45\n\x06status\x18\x01 \x01(\x0e\x32\x35.luminary.proto.api.v0.luminarycloud.inference.Status\x12\x15\n\x08response\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_response*D\n\x06Status\x12\x12\n\x0eSTATUS_PENDING\x10\x00\x12\x12\n\x0eSTATUS_SUCCESS\x10\x01\x12\x12\n\x0eSTATUS_FAILURE\x10\x02\x32\xea\x01\n\x10InferenceService\x12\xd5\x01\n\x19\x43reateInferenceServiceJob\x12O.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobRequest\x1aP.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\r/v0/inferenceB=Z;luminarycloud.com/core/proto/api/v0/luminarycloud/inferenceb\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4proto/api/v0/luminarycloud/inference/inference.proto\x12-luminary.proto.api.v0.luminarycloud.inference\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a-proto/inferenceservice/inferenceservice.proto\"\xaf\x01\n CreateInferenceServiceJobRequest\x12\x18\n\x10model_version_id\x18\x08 \x01(\t\x12\x0f\n\x07stl_url\x18\x02 \x01(\t\x12\x10\n\x08settings\x18\x07 \x01(\x0c\x12\x12\n\nconditions\x18\x03 \x01(\x0c\x12\x12\n\nproject_id\x18\x05 \x01(\t\x12 \n\x18write_visualization_data\x18\x06 \x01(\x08J\x04\x08\x04\x10\x05\"\x8e\x01\n!CreateInferenceServiceJobResponse\x12\x45\n\x06status\x18\x01 \x01(\x0e\x32\x35.luminary.proto.api.v0.luminarycloud.inference.Status\x12\x15\n\x08response\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x42\x0b\n\t_response*D\n\x06Status\x12\x12\n\x0eSTATUS_PENDING\x10\x00\x12\x12\n\x0eSTATUS_SUCCESS\x10\x01\x12\x12\n\x0eSTATUS_FAILURE\x10\x02\x32\xea\x01\n\x10InferenceService\x12\xd5\x01\n\x19\x43reateInferenceServiceJob\x12O.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobRequest\x1aP.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\r/v0/inferenceB=Z;luminarycloud.com/core/proto/api/v0/luminarycloud/inferenceb\x06proto3')
22
22
 
23
23
  _STATUS = DESCRIPTOR.enum_types_by_name['Status']
24
24
  Status = enum_type_wrapper.EnumTypeWrapper(_STATUS)
@@ -50,12 +50,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
50
50
  DESCRIPTOR._serialized_options = b'Z;luminarycloud.com/core/proto/api/v0/luminarycloud/inference'
51
51
  _INFERENCESERVICE.methods_by_name['CreateInferenceServiceJob']._options = None
52
52
  _INFERENCESERVICE.methods_by_name['CreateInferenceServiceJob']._serialized_options = b'\202\323\344\223\002\017\"\r/v0/inference'
53
- _STATUS._serialized_start=528
54
- _STATUS._serialized_end=596
53
+ _STATUS._serialized_start=532
54
+ _STATUS._serialized_end=600
55
55
  _CREATEINFERENCESERVICEJOBREQUEST._serialized_start=210
56
- _CREATEINFERENCESERVICEJOBREQUEST._serialized_end=381
57
- _CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=384
58
- _CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=526
59
- _INFERENCESERVICE._serialized_start=599
60
- _INFERENCESERVICE._serialized_end=833
56
+ _CREATEINFERENCESERVICEJOBREQUEST._serialized_end=385
57
+ _CREATEINFERENCESERVICEJOBRESPONSE._serialized_start=388
58
+ _CREATEINFERENCESERVICEJOBRESPONSE._serialized_end=530
59
+ _INFERENCESERVICE._serialized_start=603
60
+ _INFERENCESERVICE._serialized_end=837
61
61
  # @@protoc_insertion_point(module_scope)
@@ -36,14 +36,14 @@ global___Status = Status
36
36
  class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
37
37
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
38
38
 
39
- ARTIFACT_URL_FIELD_NUMBER: builtins.int
39
+ MODEL_VERSION_ID_FIELD_NUMBER: builtins.int
40
40
  STL_URL_FIELD_NUMBER: builtins.int
41
41
  SETTINGS_FIELD_NUMBER: builtins.int
42
42
  CONDITIONS_FIELD_NUMBER: builtins.int
43
43
  PROJECT_ID_FIELD_NUMBER: builtins.int
44
44
  WRITE_VISUALIZATION_DATA_FIELD_NUMBER: builtins.int
45
- artifact_url: builtins.str
46
- """Eventually should be a model version id"""
45
+ model_version_id: builtins.str
46
+ """ID of the trained model version to use for inference"""
47
47
  stl_url: builtins.str
48
48
  settings: builtins.bytes
49
49
  """JSON encoded settings, like stencil_size."""
@@ -54,14 +54,14 @@ class CreateInferenceServiceJobRequest(google.protobuf.message.Message):
54
54
  def __init__(
55
55
  self,
56
56
  *,
57
- artifact_url: builtins.str = ...,
57
+ model_version_id: builtins.str = ...,
58
58
  stl_url: builtins.str = ...,
59
59
  settings: builtins.bytes = ...,
60
60
  conditions: builtins.bytes = ...,
61
61
  project_id: builtins.str = ...,
62
62
  write_visualization_data: builtins.bool = ...,
63
63
  ) -> None: ...
64
- def ClearField(self, field_name: typing_extensions.Literal["artifact_url", b"artifact_url", "conditions", b"conditions", "project_id", b"project_id", "settings", b"settings", "stl_url", b"stl_url", "write_visualization_data", b"write_visualization_data"]) -> None: ...
64
+ def ClearField(self, field_name: typing_extensions.Literal["conditions", b"conditions", "model_version_id", b"model_version_id", "project_id", b"project_id", "settings", b"settings", "stl_url", b"stl_url", "write_visualization_data", b"write_visualization_data"]) -> None: ...
65
65
 
66
66
  global___CreateInferenceServiceJobRequest = CreateInferenceServiceJobRequest
67
67
 
@@ -19,10 +19,11 @@ from luminarycloud._proto.cad import shape_pb2 as proto_dot_cad_dot_shape__pb2
19
19
  from luminarycloud._proto.hexmesh import hexmesh_pb2 as proto_dot_hexmesh_dot_hexmesh__pb2
20
20
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
21
21
  from luminarycloud._proto.api.v0.luminarycloud.common import common_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_common_dot_common__pb2
22
+ from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
22
23
  from luminarycloud._proto.upload import upload_pb2 as proto_dot_upload_dot_upload__pb2
23
24
 
24
25
 
25
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/api/v0/luminarycloud/mesh/mesh.proto\x12(luminary.proto.api.v0.luminarycloud.mesh\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x15proto/cad/shape.proto\x1a\x1bproto/hexmesh/hexmesh.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\x1a\x19proto/upload/upload.proto\"\xe2\x02\n\x04Mesh\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x06status\x18\x04 \x01(\x0e\x32\x39.luminary.proto.api.v0.luminarycloud.mesh.Mesh.MeshStatus\x12 \n\x13geometry_version_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nproject_id\x18\x06 \x01(\t\"v\n\nMeshStatus\x12\x1b\n\x17MESH_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14MESH_STATUS_CREATING\x10\x01\x12\x19\n\x15MESH_STATUS_COMPLETED\x10\x02\x12\x16\n\x12MESH_STATUS_FAILED\x10\x03\x42\x16\n\x14_geometry_version_id\"\x1c\n\x0eGetMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"O\n\x0fGetMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"$\n\x16GetMeshMetadataRequest\x12\n\n\x02id\x18\x01 \x01(\t\"h\n\x17GetMeshMetadataResponse\x12M\n\rmesh_metadata\x18\x01 \x01(\x0b\x32\x36.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata\"\xd2\x04\n\x0cMeshMetadata\x12J\n\x05zones\x18\x01 \x03(\x0b\x32;.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Zone\x1a\xcd\x01\n\tMeshStats\x12\x10\n\x08n_points\x18\x01 \x01(\x03\x12\x0f\n\x07n_faces\x18\x02 \x01(\x03\x12\r\n\x05n_cvs\x18\x03 \x01(\x03\x12\x46\n\tmin_coord\x18\x05 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12\x46\n\tmax_coord\x18\x06 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x1ai\n\x08\x42oundary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x1a\xba\x01\n\x04Zone\x12S\n\nboundaries\x18\x01 \x03(\x0b\x32?.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Boundary\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x12\x0c\n\x04name\x18\x03 \x01(\t\"\'\n\x11ListMeshesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"T\n\x12ListMeshesResponse\x12>\n\x06meshes\x18\x01 \x03(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"-\n\x11UpdateMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"R\n\x12UpdateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xab\x02\n\x11\x43reateMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12`\n\x16mesh_adaptation_params\x18\x03 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshAdaptationParamsH\x00\x12`\n\x16mesh_generation_params\x18\x04 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParamsH\x00\x12\x17\n\nrequest_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06paramsB\r\n\x0b_request_id\"R\n\x12\x43reateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xff\x01\n\x11UploadMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07scaling\x18\x03 \x01(\x01\x12\x14\n\x0cupload_token\x18\x04 \x01(\t\x12I\n\nfile_chunk\x18\x05 \x01(\x0b\x32\x35.luminary.proto.api.v0.luminarycloud.common.FileChunk\x12\x32\n\tmesh_type\x18\x06 \x01(\x0e\x32\x1f.luminary.proto.upload.MeshType\x12\"\n\x1a\x64o_not_read_zones_openfoam\x18\x07 \x01(\x08\"h\n\x12UploadMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\x12\x14\n\x0cupload_token\x18\x02 \x01(\t\"\x1f\n\x11\x44\x65leteMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"t\n\x14MeshAdaptationParams\x12\x1c\n\x14source_simulation_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_cv_count\x18\x02 \x01(\x04\x12\x0f\n\x07h_ratio\x18\x03 \x01(\x01\x12\x14\n\x0c\x61spect_ratio\x18\x04 \x01(\x01\"\xcd\x10\n\x14MeshGenerationParams\x12\x33\n\x0b\x62ody_x_axis\x18\x01 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12\x33\n\x0b\x62ody_y_axis\x18\x02 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12\x16\n\x0e\x61\x64\x64_refinement\x18\x03 \x01(\x08\x12\x18\n\x10proximity_layers\x18\x04 \x01(\r\x12\x62\n\rvolume_params\x18\x05 \x03(\x0b\x32K.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.VolumeParams\x12`\n\x0cmodel_params\x18\x06 \x03(\x0b\x32J.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.ModelParams\x12\x65\n\tbl_params\x18\x07 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.BoundaryLayerParams\x12l\n\rrefine_params\x18\x08 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.RefinementRegionParams\x12\x13\n\x0bgeometry_id\x18\t \x01(\t\x12s\n\x16mesh_complexity_params\x18\n \x01(\x0b\x32S.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshComplexityParams\x12\x64\n\x0eoverset_params\x18\x0b \x01(\x0b\x32L.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.OversetParams\x12`\n\x0cmeshing_mode\x18\x0c \x01(\x0b\x32J.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode\x12\x10\n\x08use_wrap\x18\r \x01(\x08\x1a`\n\x0cVolumeParams\x12\x10\n\x08min_size\x18\x01 \x01(\x01\x12\x10\n\x08max_size\x18\x02 \x01(\x01\x12\x13\n\x07volumes\x18\x03 \x03(\x03\x42\x02\x18\x01\x12\x17\n\x0fvolume_entities\x18\x04 \x03(\t\x1a\x44\n\x0bModelParams\x12\x11\n\tcurvature\x18\x01 \x01(\x01\x12\x10\n\x08max_size\x18\x02 \x01(\x01\x12\x10\n\x08surfaces\x18\x03 \x03(\t\x1a\x64\n\x13\x42oundaryLayerParams\x12\x10\n\x08n_layers\x18\x01 \x01(\r\x12\x14\n\x0cinitial_size\x18\x02 \x01(\x01\x12\x13\n\x0bgrowth_rate\x18\x03 \x01(\x01\x12\x10\n\x08surfaces\x18\x04 \x03(\t\x1a\x8b\x03\n\x16RefinementRegionParams\x12\x0f\n\x07h_limit\x18\x01 \x01(\x01\x12,\n\x06sphere\x18\x02 \x01(\x0b\x32\x1a.luminary.proto.cad.SphereH\x00\x12\x37\n\x0csphere_shell\x18\x03 \x01(\x0b\x32\x1f.luminary.proto.cad.SphereShellH\x00\x12(\n\x04\x63ube\x18\x04 \x01(\x0b\x32\x18.luminary.proto.cad.CubeH\x00\x12\x39\n\roriented_cube\x18\x05 \x01(\x0b\x32 .luminary.proto.cad.OrientedCubeH\x00\x12\x30\n\x08\x63ylinder\x18\x06 \x01(\x0b\x32\x1c.luminary.proto.cad.CylinderH\x00\x12?\n\x10\x61nnular_cylinder\x18\x07 \x01(\x0b\x32#.luminary.proto.cad.AnnularCylinderH\x00\x12\n\n\x02id\x18\x08 \x01(\t\x12\x0c\n\x04name\x18\t \x01(\tB\x07\n\x05shape\x1a\xe7\x01\n\x14MeshComplexityParams\x12\x14\n\x0ctarget_cells\x18\x01 \x01(\x04\x12\x17\n\x0flimit_max_cells\x18\x02 \x01(\x04\x12p\n\x04type\x18\x03 \x01(\x0e\x32\x62.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshComplexityParams.ComplexityType\".\n\x0e\x43omplexityType\x12\x07\n\x03MAX\x10\x00\x12\n\n\x06TARGET\x10\x01\x12\x07\n\x03MIN\x10\x02\x1a!\n\rOversetParams\x12\x10\n\x08surfaces\x18\x01 \x03(\t\x1a\xf0\x01\n\x0bMeshingMode\x12\x65\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32R.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode.DefaultH\x00\x12_\n\x04\x62\x61se\x18\x02 \x01(\x0b\x32O.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode.BaseH\x00\x1a\t\n\x07\x44\x65\x66\x61ult\x1a\x06\n\x04\x42\x61seB\x06\n\x04mode\"h\n\x14\x43reateHexMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12<\n\x0fhex_mesh_config\x18\x02 \x01(\x0b\x32#.luminary.proto.hexmesh.HexMeshSpec\"(\n\x15\x43reateHexMeshResponse\x12\x0f\n\x07mesh_id\x18\x01 \x01(\t\"-\n\x1fGetMeshGenerationSdkCodeRequest\x12\n\n\x02id\x18\x01 \x01(\t\"4\n GetMeshGenerationSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t2\x8b\x0c\n\x0bMeshService\x12\x97\x01\n\x07GetMesh\x12\x38.luminary.proto.api.v0.luminarycloud.mesh.GetMeshRequest\x1a\x39.luminary.proto.api.v0.luminarycloud.mesh.GetMeshResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v0/meshes/{id}\x12\xba\x01\n\x0fGetMeshMetadata\x12@.luminary.proto.api.v0.luminarycloud.mesh.GetMeshMetadataRequest\x1a\x41.luminary.proto.api.v0.luminarycloud.mesh.GetMeshMetadataResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v0/meshes:getmeshmetadata\x12\xb1\x01\n\nListMeshes\x12;.luminary.proto.api.v0.luminarycloud.mesh.ListMeshesRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.ListMeshesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v0/projects/{project_id}/meshes\x12\xa3\x01\n\nUpdateMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.UpdateMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.UpdateMeshResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x32\x0f/v0/meshes/{id}:\x01*\x12\xbb\x01\n\nUploadMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.UploadMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.UploadMeshResponse\"2\x82\xd3\xe4\x93\x02,\"\'/v0/projects/{project_id}/meshes:upload:\x01*\x12z\n\nDeleteMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.DeleteMeshRequest\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11*\x0f/v0/meshes/{id}\x12\x9e\x01\n\nCreateMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.CreateMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.CreateMeshResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/v0/meshes:\x01*\x12\x90\x01\n\rCreateHexMesh\x12>.luminary.proto.api.v0.luminarycloud.mesh.CreateHexMeshRequest\x1a?.luminary.proto.api.v0.luminarycloud.mesh.CreateHexMeshResponse\x12\xdc\x01\n\x18GetMeshGenerationSdkCode\x12I.luminary.proto.api.v0.luminarycloud.mesh.GetMeshGenerationSdkCodeRequest\x1aJ.luminary.proto.api.v0.luminarycloud.mesh.GetMeshGenerationSdkCodeResponse\")\x82\xd3\xe4\x93\x02#\x12!/v0/meshes/{id}:generate-sdk-codeB8Z6luminarycloud.com/core/proto/api/v0/luminarycloud/meshb\x06proto3')
26
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*proto/api/v0/luminarycloud/mesh/mesh.proto\x12(luminary.proto.api.v0.luminarycloud.mesh\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x15proto/cad/shape.proto\x1a\x1bproto/hexmesh/hexmesh.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\x1a\x1dproto/client/simulation.proto\x1a\x19proto/upload/upload.proto\"\xe2\x02\n\x04Mesh\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x06status\x18\x04 \x01(\x0e\x32\x39.luminary.proto.api.v0.luminarycloud.mesh.Mesh.MeshStatus\x12 \n\x13geometry_version_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nproject_id\x18\x06 \x01(\t\"v\n\nMeshStatus\x12\x1b\n\x17MESH_STATUS_UNSPECIFIED\x10\x00\x12\x18\n\x14MESH_STATUS_CREATING\x10\x01\x12\x19\n\x15MESH_STATUS_COMPLETED\x10\x02\x12\x16\n\x12MESH_STATUS_FAILED\x10\x03\x42\x16\n\x14_geometry_version_id\"\x1c\n\x0eGetMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"O\n\x0fGetMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"$\n\x16GetMeshMetadataRequest\x12\n\n\x02id\x18\x01 \x01(\t\"h\n\x17GetMeshMetadataResponse\x12M\n\rmesh_metadata\x18\x01 \x01(\x0b\x32\x36.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata\"\xd2\x04\n\x0cMeshMetadata\x12J\n\x05zones\x18\x01 \x03(\x0b\x32;.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Zone\x1a\xcd\x01\n\tMeshStats\x12\x10\n\x08n_points\x18\x01 \x01(\x03\x12\x0f\n\x07n_faces\x18\x02 \x01(\x03\x12\r\n\x05n_cvs\x18\x03 \x01(\x03\x12\x46\n\tmin_coord\x18\x05 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12\x46\n\tmax_coord\x18\x06 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x1ai\n\x08\x42oundary\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x1a\xba\x01\n\x04Zone\x12S\n\nboundaries\x18\x01 \x03(\x0b\x32?.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.Boundary\x12O\n\x05stats\x18\x02 \x01(\x0b\x32@.luminary.proto.api.v0.luminarycloud.mesh.MeshMetadata.MeshStats\x12\x0c\n\x04name\x18\x03 \x01(\t\"\'\n\x11ListMeshesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"T\n\x12ListMeshesResponse\x12>\n\x06meshes\x18\x01 \x03(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"-\n\x11UpdateMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"R\n\x12UpdateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xab\x02\n\x11\x43reateMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12`\n\x16mesh_adaptation_params\x18\x03 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshAdaptationParamsH\x00\x12`\n\x16mesh_generation_params\x18\x04 \x01(\x0b\x32>.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParamsH\x00\x12\x17\n\nrequest_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06paramsB\r\n\x0b_request_id\"R\n\x12\x43reateMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\"\xff\x01\n\x11UploadMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07scaling\x18\x03 \x01(\x01\x12\x14\n\x0cupload_token\x18\x04 \x01(\t\x12I\n\nfile_chunk\x18\x05 \x01(\x0b\x32\x35.luminary.proto.api.v0.luminarycloud.common.FileChunk\x12\x32\n\tmesh_type\x18\x06 \x01(\x0e\x32\x1f.luminary.proto.upload.MeshType\x12\"\n\x1a\x64o_not_read_zones_openfoam\x18\x07 \x01(\x08\"h\n\x12UploadMeshResponse\x12<\n\x04mesh\x18\x01 \x01(\x0b\x32..luminary.proto.api.v0.luminarycloud.mesh.Mesh\x12\x14\n\x0cupload_token\x18\x02 \x01(\t\"\x1f\n\x11\x44\x65leteMeshRequest\x12\n\n\x02id\x18\x01 \x01(\t\"t\n\x14MeshAdaptationParams\x12\x1c\n\x14source_simulation_id\x18\x01 \x01(\t\x12\x17\n\x0ftarget_cv_count\x18\x02 \x01(\x04\x12\x0f\n\x07h_ratio\x18\x03 \x01(\x01\x12\x14\n\x0c\x61spect_ratio\x18\x04 \x01(\x01\"\x85\x11\n\x14MeshGenerationParams\x12\x33\n\x0b\x62ody_x_axis\x18\x01 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12\x33\n\x0b\x62ody_y_axis\x18\x02 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12\x16\n\x0e\x61\x64\x64_refinement\x18\x03 \x01(\x08\x12\x18\n\x10proximity_layers\x18\x04 \x01(\r\x12\x62\n\rvolume_params\x18\x05 \x03(\x0b\x32K.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.VolumeParams\x12`\n\x0cmodel_params\x18\x06 \x03(\x0b\x32J.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.ModelParams\x12\x65\n\tbl_params\x18\x07 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.BoundaryLayerParams\x12l\n\rrefine_params\x18\x08 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.RefinementRegionParams\x12\x13\n\x0bgeometry_id\x18\t \x01(\t\x12s\n\x16mesh_complexity_params\x18\n \x01(\x0b\x32S.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshComplexityParams\x12\x64\n\x0eoverset_params\x18\x0b \x01(\x0b\x32L.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.OversetParams\x12`\n\x0cmeshing_mode\x18\x0c \x01(\x0b\x32J.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode\x12\x10\n\x08use_wrap\x18\r \x01(\x08\x12\x36\n\x0blength_unit\x18\x0e \x01(\x0e\x32!.luminary.proto.client.LengthUnit\x1a`\n\x0cVolumeParams\x12\x10\n\x08min_size\x18\x01 \x01(\x01\x12\x10\n\x08max_size\x18\x02 \x01(\x01\x12\x13\n\x07volumes\x18\x03 \x03(\x03\x42\x02\x18\x01\x12\x17\n\x0fvolume_entities\x18\x04 \x03(\t\x1a\x44\n\x0bModelParams\x12\x11\n\tcurvature\x18\x01 \x01(\x01\x12\x10\n\x08max_size\x18\x02 \x01(\x01\x12\x10\n\x08surfaces\x18\x03 \x03(\t\x1a\x64\n\x13\x42oundaryLayerParams\x12\x10\n\x08n_layers\x18\x01 \x01(\r\x12\x14\n\x0cinitial_size\x18\x02 \x01(\x01\x12\x13\n\x0bgrowth_rate\x18\x03 \x01(\x01\x12\x10\n\x08surfaces\x18\x04 \x03(\t\x1a\x8b\x03\n\x16RefinementRegionParams\x12\x0f\n\x07h_limit\x18\x01 \x01(\x01\x12,\n\x06sphere\x18\x02 \x01(\x0b\x32\x1a.luminary.proto.cad.SphereH\x00\x12\x37\n\x0csphere_shell\x18\x03 \x01(\x0b\x32\x1f.luminary.proto.cad.SphereShellH\x00\x12(\n\x04\x63ube\x18\x04 \x01(\x0b\x32\x18.luminary.proto.cad.CubeH\x00\x12\x39\n\roriented_cube\x18\x05 \x01(\x0b\x32 .luminary.proto.cad.OrientedCubeH\x00\x12\x30\n\x08\x63ylinder\x18\x06 \x01(\x0b\x32\x1c.luminary.proto.cad.CylinderH\x00\x12?\n\x10\x61nnular_cylinder\x18\x07 \x01(\x0b\x32#.luminary.proto.cad.AnnularCylinderH\x00\x12\n\n\x02id\x18\x08 \x01(\t\x12\x0c\n\x04name\x18\t \x01(\tB\x07\n\x05shape\x1a\xe7\x01\n\x14MeshComplexityParams\x12\x14\n\x0ctarget_cells\x18\x01 \x01(\x04\x12\x17\n\x0flimit_max_cells\x18\x02 \x01(\x04\x12p\n\x04type\x18\x03 \x01(\x0e\x32\x62.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshComplexityParams.ComplexityType\".\n\x0e\x43omplexityType\x12\x07\n\x03MAX\x10\x00\x12\n\n\x06TARGET\x10\x01\x12\x07\n\x03MIN\x10\x02\x1a!\n\rOversetParams\x12\x10\n\x08surfaces\x18\x01 \x03(\t\x1a\xf0\x01\n\x0bMeshingMode\x12\x65\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32R.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode.DefaultH\x00\x12_\n\x04\x62\x61se\x18\x02 \x01(\x0b\x32O.luminary.proto.api.v0.luminarycloud.mesh.MeshGenerationParams.MeshingMode.BaseH\x00\x1a\t\n\x07\x44\x65\x66\x61ult\x1a\x06\n\x04\x42\x61seB\x06\n\x04mode\"\x9e\x01\n\x14\x43reateHexMeshRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12<\n\x0fhex_mesh_config\x18\x02 \x01(\x0b\x32#.luminary.proto.hexmesh.HexMeshSpec\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12\x14\n\x07n_vcpus\x18\x04 \x01(\x05H\x00\x88\x01\x01\x42\n\n\x08_n_vcpus\"(\n\x15\x43reateHexMeshResponse\x12\x0f\n\x07mesh_id\x18\x01 \x01(\t\"-\n\x1fGetMeshGenerationSdkCodeRequest\x12\n\n\x02id\x18\x01 \x01(\t\"4\n GetMeshGenerationSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t2\x8b\x0c\n\x0bMeshService\x12\x97\x01\n\x07GetMesh\x12\x38.luminary.proto.api.v0.luminarycloud.mesh.GetMeshRequest\x1a\x39.luminary.proto.api.v0.luminarycloud.mesh.GetMeshResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v0/meshes/{id}\x12\xba\x01\n\x0fGetMeshMetadata\x12@.luminary.proto.api.v0.luminarycloud.mesh.GetMeshMetadataRequest\x1a\x41.luminary.proto.api.v0.luminarycloud.mesh.GetMeshMetadataResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v0/meshes:getmeshmetadata\x12\xb1\x01\n\nListMeshes\x12;.luminary.proto.api.v0.luminarycloud.mesh.ListMeshesRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.ListMeshesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v0/projects/{project_id}/meshes\x12\xa3\x01\n\nUpdateMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.UpdateMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.UpdateMeshResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x32\x0f/v0/meshes/{id}:\x01*\x12\xbb\x01\n\nUploadMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.UploadMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.UploadMeshResponse\"2\x82\xd3\xe4\x93\x02,\"\'/v0/projects/{project_id}/meshes:upload:\x01*\x12z\n\nDeleteMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.DeleteMeshRequest\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11*\x0f/v0/meshes/{id}\x12\x9e\x01\n\nCreateMesh\x12;.luminary.proto.api.v0.luminarycloud.mesh.CreateMeshRequest\x1a<.luminary.proto.api.v0.luminarycloud.mesh.CreateMeshResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/v0/meshes:\x01*\x12\x90\x01\n\rCreateHexMesh\x12>.luminary.proto.api.v0.luminarycloud.mesh.CreateHexMeshRequest\x1a?.luminary.proto.api.v0.luminarycloud.mesh.CreateHexMeshResponse\x12\xdc\x01\n\x18GetMeshGenerationSdkCode\x12I.luminary.proto.api.v0.luminarycloud.mesh.GetMeshGenerationSdkCodeRequest\x1aJ.luminary.proto.api.v0.luminarycloud.mesh.GetMeshGenerationSdkCodeResponse\")\x82\xd3\xe4\x93\x02#\x12!/v0/meshes/{id}:generate-sdk-codeB8Z6luminarycloud.com/core/proto/api/v0/luminarycloud/meshb\x06proto3')
26
27
 
27
28
 
28
29
 
@@ -327,76 +328,76 @@ if _descriptor._USE_C_DESCRIPTORS == False:
327
328
  _MESHSERVICE.methods_by_name['CreateMesh']._serialized_options = b'\202\323\344\223\002\017\"\n/v0/meshes:\001*'
328
329
  _MESHSERVICE.methods_by_name['GetMeshGenerationSdkCode']._options = None
329
330
  _MESHSERVICE.methods_by_name['GetMeshGenerationSdkCode']._serialized_options = b'\202\323\344\223\002#\022!/v0/meshes/{id}:generate-sdk-code'
330
- _MESH._serialized_start=331
331
- _MESH._serialized_end=685
332
- _MESH_MESHSTATUS._serialized_start=543
333
- _MESH_MESHSTATUS._serialized_end=661
334
- _GETMESHREQUEST._serialized_start=687
335
- _GETMESHREQUEST._serialized_end=715
336
- _GETMESHRESPONSE._serialized_start=717
337
- _GETMESHRESPONSE._serialized_end=796
338
- _GETMESHMETADATAREQUEST._serialized_start=798
339
- _GETMESHMETADATAREQUEST._serialized_end=834
340
- _GETMESHMETADATARESPONSE._serialized_start=836
341
- _GETMESHMETADATARESPONSE._serialized_end=940
342
- _MESHMETADATA._serialized_start=943
343
- _MESHMETADATA._serialized_end=1537
344
- _MESHMETADATA_MESHSTATS._serialized_start=1036
345
- _MESHMETADATA_MESHSTATS._serialized_end=1241
346
- _MESHMETADATA_BOUNDARY._serialized_start=1243
347
- _MESHMETADATA_BOUNDARY._serialized_end=1348
348
- _MESHMETADATA_ZONE._serialized_start=1351
349
- _MESHMETADATA_ZONE._serialized_end=1537
350
- _LISTMESHESREQUEST._serialized_start=1539
351
- _LISTMESHESREQUEST._serialized_end=1578
352
- _LISTMESHESRESPONSE._serialized_start=1580
353
- _LISTMESHESRESPONSE._serialized_end=1664
354
- _UPDATEMESHREQUEST._serialized_start=1666
355
- _UPDATEMESHREQUEST._serialized_end=1711
356
- _UPDATEMESHRESPONSE._serialized_start=1713
357
- _UPDATEMESHRESPONSE._serialized_end=1795
358
- _CREATEMESHREQUEST._serialized_start=1798
359
- _CREATEMESHREQUEST._serialized_end=2097
360
- _CREATEMESHRESPONSE._serialized_start=2099
361
- _CREATEMESHRESPONSE._serialized_end=2181
362
- _UPLOADMESHREQUEST._serialized_start=2184
363
- _UPLOADMESHREQUEST._serialized_end=2439
364
- _UPLOADMESHRESPONSE._serialized_start=2441
365
- _UPLOADMESHRESPONSE._serialized_end=2545
366
- _DELETEMESHREQUEST._serialized_start=2547
367
- _DELETEMESHREQUEST._serialized_end=2578
368
- _MESHADAPTATIONPARAMS._serialized_start=2580
369
- _MESHADAPTATIONPARAMS._serialized_end=2696
370
- _MESHGENERATIONPARAMS._serialized_start=2699
371
- _MESHGENERATIONPARAMS._serialized_end=4824
372
- _MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_start=3646
373
- _MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_end=3742
374
- _MESHGENERATIONPARAMS_MODELPARAMS._serialized_start=3744
375
- _MESHGENERATIONPARAMS_MODELPARAMS._serialized_end=3812
376
- _MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_start=3814
377
- _MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_end=3914
378
- _MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_start=3917
379
- _MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_end=4312
380
- _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_start=4315
381
- _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_end=4546
382
- _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_start=4500
383
- _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_end=4546
384
- _MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_start=4548
385
- _MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_end=4581
386
- _MESHGENERATIONPARAMS_MESHINGMODE._serialized_start=4584
387
- _MESHGENERATIONPARAMS_MESHINGMODE._serialized_end=4824
388
- _MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_start=4799
389
- _MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_end=4808
390
- _MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_start=4810
391
- _MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_end=4816
392
- _CREATEHEXMESHREQUEST._serialized_start=4826
393
- _CREATEHEXMESHREQUEST._serialized_end=4930
394
- _CREATEHEXMESHRESPONSE._serialized_start=4932
395
- _CREATEHEXMESHRESPONSE._serialized_end=4972
396
- _GETMESHGENERATIONSDKCODEREQUEST._serialized_start=4974
397
- _GETMESHGENERATIONSDKCODEREQUEST._serialized_end=5019
398
- _GETMESHGENERATIONSDKCODERESPONSE._serialized_start=5021
399
- _GETMESHGENERATIONSDKCODERESPONSE._serialized_end=5073
400
- _MESHSERVICE._serialized_start=5076
401
- _MESHSERVICE._serialized_end=6623
331
+ _MESH._serialized_start=362
332
+ _MESH._serialized_end=716
333
+ _MESH_MESHSTATUS._serialized_start=574
334
+ _MESH_MESHSTATUS._serialized_end=692
335
+ _GETMESHREQUEST._serialized_start=718
336
+ _GETMESHREQUEST._serialized_end=746
337
+ _GETMESHRESPONSE._serialized_start=748
338
+ _GETMESHRESPONSE._serialized_end=827
339
+ _GETMESHMETADATAREQUEST._serialized_start=829
340
+ _GETMESHMETADATAREQUEST._serialized_end=865
341
+ _GETMESHMETADATARESPONSE._serialized_start=867
342
+ _GETMESHMETADATARESPONSE._serialized_end=971
343
+ _MESHMETADATA._serialized_start=974
344
+ _MESHMETADATA._serialized_end=1568
345
+ _MESHMETADATA_MESHSTATS._serialized_start=1067
346
+ _MESHMETADATA_MESHSTATS._serialized_end=1272
347
+ _MESHMETADATA_BOUNDARY._serialized_start=1274
348
+ _MESHMETADATA_BOUNDARY._serialized_end=1379
349
+ _MESHMETADATA_ZONE._serialized_start=1382
350
+ _MESHMETADATA_ZONE._serialized_end=1568
351
+ _LISTMESHESREQUEST._serialized_start=1570
352
+ _LISTMESHESREQUEST._serialized_end=1609
353
+ _LISTMESHESRESPONSE._serialized_start=1611
354
+ _LISTMESHESRESPONSE._serialized_end=1695
355
+ _UPDATEMESHREQUEST._serialized_start=1697
356
+ _UPDATEMESHREQUEST._serialized_end=1742
357
+ _UPDATEMESHRESPONSE._serialized_start=1744
358
+ _UPDATEMESHRESPONSE._serialized_end=1826
359
+ _CREATEMESHREQUEST._serialized_start=1829
360
+ _CREATEMESHREQUEST._serialized_end=2128
361
+ _CREATEMESHRESPONSE._serialized_start=2130
362
+ _CREATEMESHRESPONSE._serialized_end=2212
363
+ _UPLOADMESHREQUEST._serialized_start=2215
364
+ _UPLOADMESHREQUEST._serialized_end=2470
365
+ _UPLOADMESHRESPONSE._serialized_start=2472
366
+ _UPLOADMESHRESPONSE._serialized_end=2576
367
+ _DELETEMESHREQUEST._serialized_start=2578
368
+ _DELETEMESHREQUEST._serialized_end=2609
369
+ _MESHADAPTATIONPARAMS._serialized_start=2611
370
+ _MESHADAPTATIONPARAMS._serialized_end=2727
371
+ _MESHGENERATIONPARAMS._serialized_start=2730
372
+ _MESHGENERATIONPARAMS._serialized_end=4911
373
+ _MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_start=3733
374
+ _MESHGENERATIONPARAMS_VOLUMEPARAMS._serialized_end=3829
375
+ _MESHGENERATIONPARAMS_MODELPARAMS._serialized_start=3831
376
+ _MESHGENERATIONPARAMS_MODELPARAMS._serialized_end=3899
377
+ _MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_start=3901
378
+ _MESHGENERATIONPARAMS_BOUNDARYLAYERPARAMS._serialized_end=4001
379
+ _MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_start=4004
380
+ _MESHGENERATIONPARAMS_REFINEMENTREGIONPARAMS._serialized_end=4399
381
+ _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_start=4402
382
+ _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS._serialized_end=4633
383
+ _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_start=4587
384
+ _MESHGENERATIONPARAMS_MESHCOMPLEXITYPARAMS_COMPLEXITYTYPE._serialized_end=4633
385
+ _MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_start=4635
386
+ _MESHGENERATIONPARAMS_OVERSETPARAMS._serialized_end=4668
387
+ _MESHGENERATIONPARAMS_MESHINGMODE._serialized_start=4671
388
+ _MESHGENERATIONPARAMS_MESHINGMODE._serialized_end=4911
389
+ _MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_start=4886
390
+ _MESHGENERATIONPARAMS_MESHINGMODE_DEFAULT._serialized_end=4895
391
+ _MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_start=4897
392
+ _MESHGENERATIONPARAMS_MESHINGMODE_BASE._serialized_end=4903
393
+ _CREATEHEXMESHREQUEST._serialized_start=4914
394
+ _CREATEHEXMESHREQUEST._serialized_end=5072
395
+ _CREATEHEXMESHRESPONSE._serialized_start=5074
396
+ _CREATEHEXMESHRESPONSE._serialized_end=5114
397
+ _GETMESHGENERATIONSDKCODEREQUEST._serialized_start=5116
398
+ _GETMESHGENERATIONSDKCODEREQUEST._serialized_end=5161
399
+ _GETMESHGENERATIONSDKCODERESPONSE._serialized_start=5163
400
+ _GETMESHGENERATIONSDKCODERESPONSE._serialized_end=5215
401
+ _MESHSERVICE._serialized_start=5218
402
+ _MESHSERVICE._serialized_end=6765
402
403
  # @@protoc_insertion_point(module_scope)
@@ -12,6 +12,7 @@ import google.protobuf.timestamp_pb2
12
12
  import luminarycloud._proto.api.v0.luminarycloud.common.common_pb2
13
13
  import luminarycloud._proto.base.base_pb2
14
14
  import luminarycloud._proto.cad.shape_pb2
15
+ import luminarycloud._proto.client.simulation_pb2
15
16
  import luminarycloud._proto.hexmesh.hexmesh_pb2
16
17
  import luminarycloud._proto.upload.upload_pb2
17
18
  import sys
@@ -773,6 +774,7 @@ class MeshGenerationParams(google.protobuf.message.Message):
773
774
  OVERSET_PARAMS_FIELD_NUMBER: builtins.int
774
775
  MESHING_MODE_FIELD_NUMBER: builtins.int
775
776
  USE_WRAP_FIELD_NUMBER: builtins.int
777
+ LENGTH_UNIT_FIELD_NUMBER: builtins.int
776
778
  @property
777
779
  def body_x_axis(self) -> luminarycloud._proto.base.base_pb2.AdVector3:
778
780
  """Body x-axis (used for refinement boxes)"""
@@ -804,6 +806,10 @@ class MeshGenerationParams(google.protobuf.message.Message):
804
806
  @property
805
807
  def meshing_mode(self) -> global___MeshGenerationParams.MeshingMode: ...
806
808
  use_wrap: builtins.bool
809
+ length_unit: luminarycloud._proto.client.simulation_pb2.LengthUnit.ValueType
810
+ """Defines the unit used for length
811
+ TODO(LC-25962) add units for angle?
812
+ """
807
813
  def __init__(
808
814
  self,
809
815
  *,
@@ -820,9 +826,10 @@ class MeshGenerationParams(google.protobuf.message.Message):
820
826
  overset_params: global___MeshGenerationParams.OversetParams | None = ...,
821
827
  meshing_mode: global___MeshGenerationParams.MeshingMode | None = ...,
822
828
  use_wrap: builtins.bool = ...,
829
+ length_unit: luminarycloud._proto.client.simulation_pb2.LengthUnit.ValueType = ...,
823
830
  ) -> None: ...
824
831
  def HasField(self, field_name: typing_extensions.Literal["body_x_axis", b"body_x_axis", "body_y_axis", b"body_y_axis", "mesh_complexity_params", b"mesh_complexity_params", "meshing_mode", b"meshing_mode", "overset_params", b"overset_params"]) -> builtins.bool: ...
825
- def ClearField(self, field_name: typing_extensions.Literal["add_refinement", b"add_refinement", "bl_params", b"bl_params", "body_x_axis", b"body_x_axis", "body_y_axis", b"body_y_axis", "geometry_id", b"geometry_id", "mesh_complexity_params", b"mesh_complexity_params", "meshing_mode", b"meshing_mode", "model_params", b"model_params", "overset_params", b"overset_params", "proximity_layers", b"proximity_layers", "refine_params", b"refine_params", "use_wrap", b"use_wrap", "volume_params", b"volume_params"]) -> None: ...
832
+ def ClearField(self, field_name: typing_extensions.Literal["add_refinement", b"add_refinement", "bl_params", b"bl_params", "body_x_axis", b"body_x_axis", "body_y_axis", b"body_y_axis", "geometry_id", b"geometry_id", "length_unit", b"length_unit", "mesh_complexity_params", b"mesh_complexity_params", "meshing_mode", b"meshing_mode", "model_params", b"model_params", "overset_params", b"overset_params", "proximity_layers", b"proximity_layers", "refine_params", b"refine_params", "use_wrap", b"use_wrap", "volume_params", b"volume_params"]) -> None: ...
826
833
 
827
834
  global___MeshGenerationParams = MeshGenerationParams
828
835
 
@@ -831,17 +838,24 @@ class CreateHexMeshRequest(google.protobuf.message.Message):
831
838
 
832
839
  PROJECT_ID_FIELD_NUMBER: builtins.int
833
840
  HEX_MESH_CONFIG_FIELD_NUMBER: builtins.int
841
+ REQUEST_ID_FIELD_NUMBER: builtins.int
842
+ N_VCPUS_FIELD_NUMBER: builtins.int
834
843
  project_id: builtins.str
835
844
  @property
836
845
  def hex_mesh_config(self) -> luminarycloud._proto.hexmesh.hexmesh_pb2.HexMeshSpec: ...
846
+ request_id: builtins.str
847
+ n_vcpus: builtins.int
837
848
  def __init__(
838
849
  self,
839
850
  *,
840
851
  project_id: builtins.str = ...,
841
852
  hex_mesh_config: luminarycloud._proto.hexmesh.hexmesh_pb2.HexMeshSpec | None = ...,
853
+ request_id: builtins.str = ...,
854
+ n_vcpus: builtins.int | None = ...,
842
855
  ) -> None: ...
843
- def HasField(self, field_name: typing_extensions.Literal["hex_mesh_config", b"hex_mesh_config"]) -> builtins.bool: ...
844
- def ClearField(self, field_name: typing_extensions.Literal["hex_mesh_config", b"hex_mesh_config", "project_id", b"project_id"]) -> None: ...
856
+ def HasField(self, field_name: typing_extensions.Literal["_n_vcpus", b"_n_vcpus", "hex_mesh_config", b"hex_mesh_config", "n_vcpus", b"n_vcpus"]) -> builtins.bool: ...
857
+ def ClearField(self, field_name: typing_extensions.Literal["_n_vcpus", b"_n_vcpus", "hex_mesh_config", b"hex_mesh_config", "n_vcpus", b"n_vcpus", "project_id", b"project_id", "request_id", b"request_id"]) -> None: ...
858
+ def WhichOneof(self, oneof_group: typing_extensions.Literal["_n_vcpus", b"_n_vcpus"]) -> typing_extensions.Literal["n_vcpus"] | None: ...
845
859
 
846
860
  global___CreateHexMeshRequest = CreateHexMeshRequest
847
861