luminarycloud 0.22.0__py3-none-any.whl → 0.22.2__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 (86) hide show
  1. luminarycloud/_client/authentication_plugin.py +49 -0
  2. luminarycloud/_client/client.py +38 -11
  3. luminarycloud/_client/http_client.py +1 -1
  4. luminarycloud/_client/retry_interceptor.py +64 -2
  5. luminarycloud/_helpers/__init__.py +9 -0
  6. luminarycloud/_helpers/_inference_jobs.py +227 -0
  7. luminarycloud/_helpers/_parse_iso_datetime.py +54 -0
  8. luminarycloud/_helpers/download.py +11 -0
  9. luminarycloud/_helpers/proto_decorator.py +38 -7
  10. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +152 -132
  11. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +66 -8
  12. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +34 -0
  13. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +12 -0
  14. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +142 -39
  15. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +300 -3
  16. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.py +34 -0
  17. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.pyi +12 -0
  18. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.py +255 -0
  19. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.pyi +466 -0
  20. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.py +242 -0
  21. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.pyi +95 -0
  22. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +29 -7
  23. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +39 -0
  24. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +36 -0
  25. luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +18 -0
  26. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -65
  27. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +42 -0
  28. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +34 -0
  29. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +12 -0
  30. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +163 -153
  31. luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +37 -3
  32. luminarycloud/_proto/base/base_pb2.py +7 -6
  33. luminarycloud/_proto/base/base_pb2.pyi +4 -0
  34. luminarycloud/_proto/client/simulation_pb2.py +358 -339
  35. luminarycloud/_proto/client/simulation_pb2.pyi +89 -3
  36. luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.py +35 -0
  37. luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.pyi +7 -0
  38. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.py +6 -3
  39. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.py +68 -0
  40. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.pyi +24 -0
  41. luminarycloud/_wrapper.py +53 -7
  42. luminarycloud/enum/vis_enums.py +6 -0
  43. luminarycloud/feature_modification.py +25 -32
  44. luminarycloud/geometry.py +10 -6
  45. luminarycloud/geometry_version.py +4 -0
  46. luminarycloud/mesh.py +4 -0
  47. luminarycloud/meshing/mesh_generation_params.py +5 -6
  48. luminarycloud/meshing/sizing_strategy/sizing_strategies.py +1 -2
  49. luminarycloud/outputs/__init__.py +2 -0
  50. luminarycloud/outputs/output_definitions.py +3 -3
  51. luminarycloud/outputs/stopping_conditions.py +94 -0
  52. luminarycloud/params/enum/_enum_wrappers.py +16 -0
  53. luminarycloud/params/geometry/shapes.py +33 -33
  54. luminarycloud/params/simulation/adaptive_mesh_refinement/__init__.py +1 -0
  55. luminarycloud/params/simulation/adaptive_mesh_refinement/active_region_.py +83 -0
  56. luminarycloud/params/simulation/adaptive_mesh_refinement/boundary_layer_profile_.py +1 -1
  57. luminarycloud/params/simulation/adaptive_mesh_refinement_.py +8 -1
  58. luminarycloud/physics_ai/__init__.py +7 -0
  59. luminarycloud/physics_ai/inference.py +166 -199
  60. luminarycloud/physics_ai/models.py +22 -0
  61. luminarycloud/physics_ai/solution.py +4 -0
  62. luminarycloud/pipelines/api.py +143 -16
  63. luminarycloud/pipelines/core.py +1 -1
  64. luminarycloud/pipelines/stages.py +22 -9
  65. luminarycloud/project.py +61 -8
  66. luminarycloud/simulation.py +25 -0
  67. luminarycloud/types/__init__.py +2 -0
  68. luminarycloud/types/ids.py +2 -0
  69. luminarycloud/types/vector3.py +1 -2
  70. luminarycloud/vis/__init__.py +1 -0
  71. luminarycloud/vis/data_extraction.py +7 -7
  72. luminarycloud/vis/filters.py +97 -0
  73. luminarycloud/vis/interactive_report.py +163 -7
  74. luminarycloud/vis/report.py +113 -1
  75. luminarycloud/vis/visualization.py +3 -0
  76. luminarycloud/volume_selection.py +16 -8
  77. luminarycloud/workflow_utils.py +149 -0
  78. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/METADATA +1 -1
  79. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/RECORD +80 -76
  80. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/WHEEL +1 -1
  81. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +0 -61
  82. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +0 -85
  83. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.py +0 -67
  84. luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.pyi +0 -26
  85. luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +0 -69
  86. luminarycloud/pipeline_util/dictable.py +0 -27
@@ -13,11 +13,12 @@ from google.protobuf import symbol_database as _symbol_database
13
13
  _sym_db = _symbol_database.Default()
14
14
 
15
15
 
16
+ from luminarycloud._proto.api.v0.luminarycloud.physicsaiinference import physicsaiinference_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_physicsaiinference_dot_physicsaiinference__pb2
16
17
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
17
18
  from luminarycloud._proto.ratelimit import ratelimit_pb2 as proto_dot_ratelimit_dot_ratelimit__pb2
18
19
 
19
20
 
20
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"m\n\x14ListDocumentsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x13\n\x0bsearch_term\x18\x04 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xa9\x01\n\x12ListDocumentsReply\x12i\n\tdocuments\x18\x01 \x03(\x0b\x32V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentOnly\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\x80\x01\n ListWorkspacesAndVersionsRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xfe\x01\n\x1eListWorkspacesAndVersionsReply\x12o\n\nworkspaces\x18\x01 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12k\n\x08versions\x18\x02 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\"p\n,ListDocumentsWithWorkspaceAndVersionsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xbd\x01\n*ListDocumentsWithWorkspaceAndVersionsReply\x12\x65\n\tdocuments\x18\x01 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocument\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\xb5\x01\n\x0eOnshapeElement\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x63\n\x04type\x18\x03 \x01(\x0e\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElementType\x12\x16\n\tthumbnail\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"\x82\x01\n\"ListImportablesForSelectionRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x87\x01\n ListImportablesForSelectionReply\x12\x63\n\x08\x65lements\x18\x01 \x03(\x0b\x32Q.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElement\"}\n\x1dListPartsForImportableRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xbd\x01\n\x0bOnshapePart\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x65\n\x04type\x18\x04 \x01(\x0e\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePartTypeH\x01\x88\x01\x01\x42\x0c\n\n_thumbnailB\x07\n\x05_type\"|\n\x1bListPartsForImportableReply\x12]\n\x05parts\x18\x01 \x03(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart\"\x1b\n\x19GetCompanyPrefixesRequest\"\x83\x01\n\x17GetCompanyPrefixesReply\x12h\n\tcompanies\x18\x01 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeCompanyInfo\"u\n\x15\x46\x65tchVariablesRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x82\x01\n\x13\x46\x65tchVariablesReply\x12\x65\n\tvariables\x18\x02 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeVariableJ\x04\x08\x01\x10\x02\"u\n\x15GetElementNameRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"#\n\x13GetElementNameReply\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x15GetFeatureNameRequest\x12\x17\n\x0fweb_geometry_id\x18\x01 \x01(\t\"*\n\x13GetFeatureNameReply\x12\x13\n\x0b\x66\x65\x61tureName\x18\x01 \x01(\t*3\n\x12OnshapeElementType\x12\x0f\n\x0bPART_STUDIO\x10\x00\x12\x0c\n\x08\x41SSEMBLY\x10\x01*W\n\x0fOnshapePartType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05SHEET\x10\x01\x12\x08\n\x04WIRE\x10\x02\x12\r\n\tCOMPOSITE\x10\x03\x12\x08\n\x04MESH\x10\x04\x12\t\n\x05SOLID\x10\x05\x32\xaf\x14\n\x0eOnshapeService\x12\xa8\x02\n\x17GetAuthenticationStatus\x12\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusRequest\x1a_.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusReply\"I\x82\xd3\xe4\x93\x02\x39\x12\x37/v0/thirdpartyintegration/onshape/authentication-status\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x8a\x02\n\x0e\x46\x65tchVariables\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesReply\"F\x82\xd3\xe4\x93\x02\x36\"1/v0/thirdpartyintegration/onshape/fetch-variables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xc6\x02\n%ListDocumentsWithWorkspaceAndVersions\x12o.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsRequest\x1am.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/documents\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x83\x02\n\rListDocuments\x12W.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsRequest\x1aU.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsReply\"B\x82\xd3\xe4\x93\x02\x32\x12\x30/v0/thirdpartyintegration/onshape/documents-only\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xb0\x02\n\x19ListWorkspacesAndVersions\x12\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsRequest\x1a\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsReply\"K\x82\xd3\xe4\x93\x02;\x12\x39/v0/thirdpartyintegration/onshape/workspaces-and-versions\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xad\x02\n\x1bListImportablesForSelection\x12\x65.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionRequest\x1a\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionReply\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/thirdpartyintegration/onshape/importables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x98\x02\n\x16ListPartsForImportable\x12`.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest\x1a^.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply\"<\x82\xd3\xe4\x93\x02,\"\'/v0/thirdpartyintegration/onshape/parts:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x8d\x02\n\x12GetCompanyPrefixes\x12\\.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesRequest\x1aZ.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/companies\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x87\x02\n\x0eGetElementName\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply\"C\x82\xd3\xe4\x93\x02\x33\"./v0/thirdpartyintegration/onshape/element-name:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x42QZOluminarycloud.com/core/proto/api/v0/luminarycloud/thirdpartyintegration/onshapeb\x06proto3')
21
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x46proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"m\n\x14ListDocumentsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x13\n\x0bsearch_term\x18\x04 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xa9\x01\n\x12ListDocumentsReply\x12i\n\tdocuments\x18\x01 \x03(\x0b\x32V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentOnly\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\x80\x01\n ListWorkspacesAndVersionsRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xfe\x01\n\x1eListWorkspacesAndVersionsReply\x12o\n\nworkspaces\x18\x01 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12k\n\x08versions\x18\x02 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\"p\n,ListDocumentsWithWorkspaceAndVersionsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xbd\x01\n*ListDocumentsWithWorkspaceAndVersionsReply\x12\x65\n\tdocuments\x18\x01 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocument\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\xb5\x01\n\x0eOnshapeElement\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x63\n\x04type\x18\x03 \x01(\x0e\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElementType\x12\x16\n\tthumbnail\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"\x82\x01\n\"ListImportablesForSelectionRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x87\x01\n ListImportablesForSelectionReply\x12\x63\n\x08\x65lements\x18\x01 \x03(\x0b\x32Q.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElement\"}\n\x1dListPartsForImportableRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xbd\x01\n\x0bOnshapePart\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x65\n\x04type\x18\x04 \x01(\x0e\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePartTypeH\x01\x88\x01\x01\x42\x0c\n\n_thumbnailB\x07\n\x05_type\"|\n\x1bListPartsForImportableReply\x12]\n\x05parts\x18\x01 \x03(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart\"\x1b\n\x19GetCompanyPrefixesRequest\"\x83\x01\n\x17GetCompanyPrefixesReply\x12h\n\tcompanies\x18\x01 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeCompanyInfo\"u\n\x15\x46\x65tchVariablesRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x82\x01\n\x13\x46\x65tchVariablesReply\x12\x65\n\tvariables\x18\x02 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeVariableJ\x04\x08\x01\x10\x02\"u\n\x15GetElementNameRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"#\n\x13GetElementNameReply\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x15GetFeatureNameRequest\x12\x17\n\x0fweb_geometry_id\x18\x01 \x01(\t\"*\n\x13GetFeatureNameReply\x12\x13\n\x0b\x66\x65\x61tureName\x18\x01 \x01(\t\"\xe8\x01\n\x13RunInferenceRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\x12s\n\x11inference_request\x18\x02 \x01(\x0b\x32X.luminary.proto.api.v0.luminarycloud.physicsaiinference.CreateInferenceServiceJobRequest\"\x9c\x01\n\x11RunInferenceReply\x12\x13\n\x0bstl_file_id\x18\x01 \x01(\t\x12r\n\x12inference_response\x18\x02 \x01(\x0b\x32V.luminary.proto.api.v0.luminarycloud.physicsaiinference.GetInferenceServiceJobResponse*3\n\x12OnshapeElementType\x12\x0f\n\x0bPART_STUDIO\x10\x00\x12\x0c\n\x08\x41SSEMBLY\x10\x01*W\n\x0fOnshapePartType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05SHEET\x10\x01\x12\x08\n\x04WIRE\x10\x02\x12\r\n\tCOMPOSITE\x10\x03\x12\x08\n\x04MESH\x10\x04\x12\t\n\x05SOLID\x10\x05\x32\xb4\x16\n\x0eOnshapeService\x12\xa8\x02\n\x17GetAuthenticationStatus\x12\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusRequest\x1a_.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusReply\"I\x82\xd3\xe4\x93\x02\x39\x12\x37/v0/thirdpartyintegration/onshape/authentication-status\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x8a\x02\n\x0e\x46\x65tchVariables\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesReply\"F\x82\xd3\xe4\x93\x02\x36\"1/v0/thirdpartyintegration/onshape/fetch-variables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xc6\x02\n%ListDocumentsWithWorkspaceAndVersions\x12o.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsRequest\x1am.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/documents\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x83\x02\n\rListDocuments\x12W.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsRequest\x1aU.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsReply\"B\x82\xd3\xe4\x93\x02\x32\x12\x30/v0/thirdpartyintegration/onshape/documents-only\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xb0\x02\n\x19ListWorkspacesAndVersions\x12\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsRequest\x1a\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsReply\"K\x82\xd3\xe4\x93\x02;\x12\x39/v0/thirdpartyintegration/onshape/workspaces-and-versions\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xad\x02\n\x1bListImportablesForSelection\x12\x65.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionRequest\x1a\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionReply\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/thirdpartyintegration/onshape/importables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x98\x02\n\x16ListPartsForImportable\x12`.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest\x1a^.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply\"<\x82\xd3\xe4\x93\x02,\"\'/v0/thirdpartyintegration/onshape/parts:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x8d\x02\n\x12GetCompanyPrefixes\x12\\.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesRequest\x1aZ.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/companies\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x87\x02\n\x0eGetElementName\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply\"C\x82\xd3\xe4\x93\x02\x33\"./v0/thirdpartyintegration/onshape/element-name:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x82\x02\n\x0cRunInference\x12V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceRequest\x1aT.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceReply\"D\x82\xd3\xe4\x93\x02\x34\"//v0/thirdpartyintegration/onshape/run-inference:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x42QZOluminarycloud.com/core/proto/api/v0/luminarycloud/thirdpartyintegration/onshapeb\x06proto3')
21
22
 
22
23
  _ONSHAPEELEMENTTYPE = DESCRIPTOR.enum_types_by_name['OnshapeElementType']
23
24
  OnshapeElementType = enum_type_wrapper.EnumTypeWrapper(_ONSHAPEELEMENTTYPE)
@@ -62,6 +63,8 @@ _GETELEMENTNAMEREQUEST = DESCRIPTOR.message_types_by_name['GetElementNameRequest
62
63
  _GETELEMENTNAMEREPLY = DESCRIPTOR.message_types_by_name['GetElementNameReply']
63
64
  _GETFEATURENAMEREQUEST = DESCRIPTOR.message_types_by_name['GetFeatureNameRequest']
64
65
  _GETFEATURENAMEREPLY = DESCRIPTOR.message_types_by_name['GetFeatureNameReply']
66
+ _RUNINFERENCEREQUEST = DESCRIPTOR.message_types_by_name['RunInferenceRequest']
67
+ _RUNINFERENCEREPLY = DESCRIPTOR.message_types_by_name['RunInferenceReply']
65
68
  GetAuthenticationStatusRequest = _reflection.GeneratedProtocolMessageType('GetAuthenticationStatusRequest', (_message.Message,), {
66
69
  'DESCRIPTOR' : _GETAUTHENTICATIONSTATUSREQUEST,
67
70
  '__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
@@ -265,6 +268,20 @@ GetFeatureNameReply = _reflection.GeneratedProtocolMessageType('GetFeatureNameRe
265
268
  })
266
269
  _sym_db.RegisterMessage(GetFeatureNameReply)
267
270
 
271
+ RunInferenceRequest = _reflection.GeneratedProtocolMessageType('RunInferenceRequest', (_message.Message,), {
272
+ 'DESCRIPTOR' : _RUNINFERENCEREQUEST,
273
+ '__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
274
+ # @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceRequest)
275
+ })
276
+ _sym_db.RegisterMessage(RunInferenceRequest)
277
+
278
+ RunInferenceReply = _reflection.GeneratedProtocolMessageType('RunInferenceReply', (_message.Message,), {
279
+ 'DESCRIPTOR' : _RUNINFERENCEREPLY,
280
+ '__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
281
+ # @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceReply)
282
+ })
283
+ _sym_db.RegisterMessage(RunInferenceReply)
284
+
268
285
  _ONSHAPESERVICE = DESCRIPTOR.services_by_name['OnshapeService']
269
286
  if _descriptor._USE_C_DESCRIPTORS == False:
270
287
 
@@ -288,68 +305,74 @@ if _descriptor._USE_C_DESCRIPTORS == False:
288
305
  _ONSHAPESERVICE.methods_by_name['GetCompanyPrefixes']._serialized_options = b'\202\323\344\223\002-\022+/v0/thirdpartyintegration/onshape/companies\212\265\030\006\010<\022\002\010\001'
289
306
  _ONSHAPESERVICE.methods_by_name['GetElementName']._options = None
290
307
  _ONSHAPESERVICE.methods_by_name['GetElementName']._serialized_options = b'\202\323\344\223\0023\"./v0/thirdpartyintegration/onshape/element-name:\001*\212\265\030\006\010\n\022\002\010\005'
291
- _ONSHAPEELEMENTTYPE._serialized_start=3795
292
- _ONSHAPEELEMENTTYPE._serialized_end=3846
293
- _ONSHAPEPARTTYPE._serialized_start=3848
294
- _ONSHAPEPARTTYPE._serialized_end=3935
295
- _GETAUTHENTICATIONSTATUSREQUEST._serialized_start=204
296
- _GETAUTHENTICATIONSTATUSREQUEST._serialized_end=236
297
- _GETAUTHENTICATIONSTATUSREPLY._serialized_start=238
298
- _GETAUTHENTICATIONSTATUSREPLY._serialized_end=289
299
- _ONSHAPEPATH._serialized_start=291
300
- _ONSHAPEPATH._serialized_end=400
301
- _ONSHAPEVARIABLE._serialized_start=402
302
- _ONSHAPEVARIABLE._serialized_end=503
303
- _ONSHAPECOMPANYINFO._serialized_start=505
304
- _ONSHAPECOMPANYINFO._serialized_end=567
305
- _ONSHAPEDOCUMENTVERSION._serialized_start=569
306
- _ONSHAPEDOCUMENTVERSION._serialized_end=665
307
- _ONSHAPEDOCUMENTWORKSPACE._serialized_start=667
308
- _ONSHAPEDOCUMENTWORKSPACE._serialized_end=765
309
- _ONSHAPEDOCUMENT._serialized_start=768
310
- _ONSHAPEDOCUMENT._serialized_end=1117
311
- _ONSHAPEDOCUMENTONLY._serialized_start=1120
312
- _ONSHAPEDOCUMENTONLY._serialized_end=1251
313
- _LISTDOCUMENTSREQUEST._serialized_start=1253
314
- _LISTDOCUMENTSREQUEST._serialized_end=1362
315
- _LISTDOCUMENTSREPLY._serialized_start=1365
316
- _LISTDOCUMENTSREPLY._serialized_end=1534
317
- _LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=1537
318
- _LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=1665
319
- _LISTWORKSPACESANDVERSIONSREPLY._serialized_start=1668
320
- _LISTWORKSPACESANDVERSIONSREPLY._serialized_end=1922
321
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=1924
322
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=2036
323
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=2039
324
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=2228
325
- _ONSHAPEELEMENT._serialized_start=2231
326
- _ONSHAPEELEMENT._serialized_end=2412
327
- _LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=2415
328
- _LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=2545
329
- _LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=2548
330
- _LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=2683
331
- _LISTPARTSFORIMPORTABLEREQUEST._serialized_start=2685
332
- _LISTPARTSFORIMPORTABLEREQUEST._serialized_end=2810
333
- _ONSHAPEPART._serialized_start=2813
334
- _ONSHAPEPART._serialized_end=3002
335
- _LISTPARTSFORIMPORTABLEREPLY._serialized_start=3004
336
- _LISTPARTSFORIMPORTABLEREPLY._serialized_end=3128
337
- _GETCOMPANYPREFIXESREQUEST._serialized_start=3130
338
- _GETCOMPANYPREFIXESREQUEST._serialized_end=3157
339
- _GETCOMPANYPREFIXESREPLY._serialized_start=3160
340
- _GETCOMPANYPREFIXESREPLY._serialized_end=3291
341
- _FETCHVARIABLESREQUEST._serialized_start=3293
342
- _FETCHVARIABLESREQUEST._serialized_end=3410
343
- _FETCHVARIABLESREPLY._serialized_start=3413
344
- _FETCHVARIABLESREPLY._serialized_end=3543
345
- _GETELEMENTNAMEREQUEST._serialized_start=3545
346
- _GETELEMENTNAMEREQUEST._serialized_end=3662
347
- _GETELEMENTNAMEREPLY._serialized_start=3664
348
- _GETELEMENTNAMEREPLY._serialized_end=3699
349
- _GETFEATURENAMEREQUEST._serialized_start=3701
350
- _GETFEATURENAMEREQUEST._serialized_end=3749
351
- _GETFEATURENAMEREPLY._serialized_start=3751
352
- _GETFEATURENAMEREPLY._serialized_end=3793
353
- _ONSHAPESERVICE._serialized_start=3938
354
- _ONSHAPESERVICE._serialized_end=6545
308
+ _ONSHAPESERVICE.methods_by_name['RunInference']._options = None
309
+ _ONSHAPESERVICE.methods_by_name['RunInference']._serialized_options = b'\202\323\344\223\0024\"//v0/thirdpartyintegration/onshape/run-inference:\001*\212\265\030\006\010\n\022\002\010\005'
310
+ _ONSHAPEELEMENTTYPE._serialized_start=4261
311
+ _ONSHAPEELEMENTTYPE._serialized_end=4312
312
+ _ONSHAPEPARTTYPE._serialized_start=4314
313
+ _ONSHAPEPARTTYPE._serialized_end=4401
314
+ _GETAUTHENTICATIONSTATUSREQUEST._serialized_start=276
315
+ _GETAUTHENTICATIONSTATUSREQUEST._serialized_end=308
316
+ _GETAUTHENTICATIONSTATUSREPLY._serialized_start=310
317
+ _GETAUTHENTICATIONSTATUSREPLY._serialized_end=361
318
+ _ONSHAPEPATH._serialized_start=363
319
+ _ONSHAPEPATH._serialized_end=472
320
+ _ONSHAPEVARIABLE._serialized_start=474
321
+ _ONSHAPEVARIABLE._serialized_end=575
322
+ _ONSHAPECOMPANYINFO._serialized_start=577
323
+ _ONSHAPECOMPANYINFO._serialized_end=639
324
+ _ONSHAPEDOCUMENTVERSION._serialized_start=641
325
+ _ONSHAPEDOCUMENTVERSION._serialized_end=737
326
+ _ONSHAPEDOCUMENTWORKSPACE._serialized_start=739
327
+ _ONSHAPEDOCUMENTWORKSPACE._serialized_end=837
328
+ _ONSHAPEDOCUMENT._serialized_start=840
329
+ _ONSHAPEDOCUMENT._serialized_end=1189
330
+ _ONSHAPEDOCUMENTONLY._serialized_start=1192
331
+ _ONSHAPEDOCUMENTONLY._serialized_end=1323
332
+ _LISTDOCUMENTSREQUEST._serialized_start=1325
333
+ _LISTDOCUMENTSREQUEST._serialized_end=1434
334
+ _LISTDOCUMENTSREPLY._serialized_start=1437
335
+ _LISTDOCUMENTSREPLY._serialized_end=1606
336
+ _LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=1609
337
+ _LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=1737
338
+ _LISTWORKSPACESANDVERSIONSREPLY._serialized_start=1740
339
+ _LISTWORKSPACESANDVERSIONSREPLY._serialized_end=1994
340
+ _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=1996
341
+ _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=2108
342
+ _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=2111
343
+ _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=2300
344
+ _ONSHAPEELEMENT._serialized_start=2303
345
+ _ONSHAPEELEMENT._serialized_end=2484
346
+ _LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=2487
347
+ _LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=2617
348
+ _LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=2620
349
+ _LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=2755
350
+ _LISTPARTSFORIMPORTABLEREQUEST._serialized_start=2757
351
+ _LISTPARTSFORIMPORTABLEREQUEST._serialized_end=2882
352
+ _ONSHAPEPART._serialized_start=2885
353
+ _ONSHAPEPART._serialized_end=3074
354
+ _LISTPARTSFORIMPORTABLEREPLY._serialized_start=3076
355
+ _LISTPARTSFORIMPORTABLEREPLY._serialized_end=3200
356
+ _GETCOMPANYPREFIXESREQUEST._serialized_start=3202
357
+ _GETCOMPANYPREFIXESREQUEST._serialized_end=3229
358
+ _GETCOMPANYPREFIXESREPLY._serialized_start=3232
359
+ _GETCOMPANYPREFIXESREPLY._serialized_end=3363
360
+ _FETCHVARIABLESREQUEST._serialized_start=3365
361
+ _FETCHVARIABLESREQUEST._serialized_end=3482
362
+ _FETCHVARIABLESREPLY._serialized_start=3485
363
+ _FETCHVARIABLESREPLY._serialized_end=3615
364
+ _GETELEMENTNAMEREQUEST._serialized_start=3617
365
+ _GETELEMENTNAMEREQUEST._serialized_end=3734
366
+ _GETELEMENTNAMEREPLY._serialized_start=3736
367
+ _GETELEMENTNAMEREPLY._serialized_end=3771
368
+ _GETFEATURENAMEREQUEST._serialized_start=3773
369
+ _GETFEATURENAMEREQUEST._serialized_end=3821
370
+ _GETFEATURENAMEREPLY._serialized_start=3823
371
+ _GETFEATURENAMEREPLY._serialized_end=3865
372
+ _RUNINFERENCEREQUEST._serialized_start=3868
373
+ _RUNINFERENCEREQUEST._serialized_end=4100
374
+ _RUNINFERENCEREPLY._serialized_start=4103
375
+ _RUNINFERENCEREPLY._serialized_end=4259
376
+ _ONSHAPESERVICE._serialized_start=4404
377
+ _ONSHAPESERVICE._serialized_end=7272
355
378
  # @@protoc_insertion_point(module_scope)
@@ -8,6 +8,7 @@ import google.protobuf.descriptor
8
8
  import google.protobuf.internal.containers
9
9
  import google.protobuf.internal.enum_type_wrapper
10
10
  import google.protobuf.message
11
+ import luminarycloud._proto.api.v0.luminarycloud.physicsaiinference.physicsaiinference_pb2
11
12
  import sys
12
13
  import typing
13
14
 
@@ -656,3 +657,44 @@ class GetFeatureNameReply(google.protobuf.message.Message):
656
657
  def ClearField(self, field_name: typing_extensions.Literal["featureName", b"featureName"]) -> None: ...
657
658
 
658
659
  global___GetFeatureNameReply = GetFeatureNameReply
660
+
661
+ class RunInferenceRequest(google.protobuf.message.Message):
662
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
663
+
664
+ PATH_FIELD_NUMBER: builtins.int
665
+ INFERENCE_REQUEST_FIELD_NUMBER: builtins.int
666
+ @property
667
+ def path(self) -> global___OnshapePath:
668
+ """Path must point to a PartStudio or Assembly element in Onshape."""
669
+ @property
670
+ def inference_request(self) -> luminarycloud._proto.api.v0.luminarycloud.physicsaiinference.physicsaiinference_pb2.CreateInferenceServiceJobRequest:
671
+ """In this request, stl_url is not needed and is ignored if provided."""
672
+ def __init__(
673
+ self,
674
+ *,
675
+ path: global___OnshapePath | None = ...,
676
+ inference_request: luminarycloud._proto.api.v0.luminarycloud.physicsaiinference.physicsaiinference_pb2.CreateInferenceServiceJobRequest | None = ...,
677
+ ) -> None: ...
678
+ def HasField(self, field_name: typing_extensions.Literal["inference_request", b"inference_request", "path", b"path"]) -> builtins.bool: ...
679
+ def ClearField(self, field_name: typing_extensions.Literal["inference_request", b"inference_request", "path", b"path"]) -> None: ...
680
+
681
+ global___RunInferenceRequest = RunInferenceRequest
682
+
683
+ class RunInferenceReply(google.protobuf.message.Message):
684
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
685
+
686
+ STL_FILE_ID_FIELD_NUMBER: builtins.int
687
+ INFERENCE_RESPONSE_FIELD_NUMBER: builtins.int
688
+ stl_file_id: builtins.str
689
+ @property
690
+ def inference_response(self) -> luminarycloud._proto.api.v0.luminarycloud.physicsaiinference.physicsaiinference_pb2.GetInferenceServiceJobResponse: ...
691
+ def __init__(
692
+ self,
693
+ *,
694
+ stl_file_id: builtins.str = ...,
695
+ inference_response: luminarycloud._proto.api.v0.luminarycloud.physicsaiinference.physicsaiinference_pb2.GetInferenceServiceJobResponse | None = ...,
696
+ ) -> None: ...
697
+ def HasField(self, field_name: typing_extensions.Literal["inference_response", b"inference_response"]) -> builtins.bool: ...
698
+ def ClearField(self, field_name: typing_extensions.Literal["inference_response", b"inference_response", "stl_file_id", b"stl_file_id"]) -> None: ...
699
+
700
+ global___RunInferenceReply = RunInferenceReply
@@ -61,6 +61,11 @@ class OnshapeServiceStub(object):
61
61
  request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.SerializeToString,
62
62
  response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.FromString,
63
63
  )
64
+ self.RunInference = channel.unary_unary(
65
+ '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/RunInference',
66
+ request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceRequest.SerializeToString,
67
+ response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceReply.FromString,
68
+ )
64
69
 
65
70
 
66
71
  class OnshapeServiceServicer(object):
@@ -132,6 +137,13 @@ class OnshapeServiceServicer(object):
132
137
  context.set_details('Method not implemented!')
133
138
  raise NotImplementedError('Method not implemented!')
134
139
 
140
+ def RunInference(self, request, context):
141
+ """Runs inference on the specified Onshape element, which must be a PartStudio
142
+ """
143
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
144
+ context.set_details('Method not implemented!')
145
+ raise NotImplementedError('Method not implemented!')
146
+
135
147
 
136
148
  def add_OnshapeServiceServicer_to_server(servicer, server):
137
149
  rpc_method_handlers = {
@@ -180,6 +192,11 @@ def add_OnshapeServiceServicer_to_server(servicer, server):
180
192
  request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.FromString,
181
193
  response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.SerializeToString,
182
194
  ),
195
+ 'RunInference': grpc.unary_unary_rpc_method_handler(
196
+ servicer.RunInference,
197
+ request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceRequest.FromString,
198
+ response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceReply.SerializeToString,
199
+ ),
183
200
  }
184
201
  generic_handler = grpc.method_handlers_generic_handler(
185
202
  'luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService', rpc_method_handlers)
@@ -344,3 +361,20 @@ class OnshapeService(object):
344
361
  proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.FromString,
345
362
  options, channel_credentials,
346
363
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
364
+
365
+ @staticmethod
366
+ def RunInference(request,
367
+ target,
368
+ options=(),
369
+ channel_credentials=None,
370
+ call_credentials=None,
371
+ insecure=False,
372
+ compression=None,
373
+ wait_for_ready=None,
374
+ timeout=None,
375
+ metadata=None):
376
+ return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/RunInference',
377
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceRequest.SerializeToString,
378
+ proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceReply.FromString,
379
+ options, channel_credentials,
380
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -59,6 +59,11 @@ class OnshapeServiceStub:
59
59
  luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameReply,
60
60
  ]
61
61
  """Gets the human-readable name of an Onshape element."""
62
+ RunInference: grpc.UnaryUnaryMultiCallable[
63
+ luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceRequest,
64
+ luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceReply,
65
+ ]
66
+ """Runs inference on the specified Onshape element, which must be a PartStudio"""
62
67
 
63
68
  class OnshapeServiceServicer(metaclass=abc.ABCMeta):
64
69
  """Public API service for Onshape third-party integration functionality.
@@ -130,5 +135,12 @@ class OnshapeServiceServicer(metaclass=abc.ABCMeta):
130
135
  context: grpc.ServicerContext,
131
136
  ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameReply:
132
137
  """Gets the human-readable name of an Onshape element."""
138
+ @abc.abstractmethod
139
+ def RunInference(
140
+ self,
141
+ request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceRequest,
142
+ context: grpc.ServicerContext,
143
+ ) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceReply:
144
+ """Runs inference on the specified Onshape element, which must be a PartStudio"""
133
145
 
134
146
  def add_OnshapeServiceServicer_to_server(servicer: OnshapeServiceServicer, server: grpc.Server) -> None: ...