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.
- luminarycloud/_client/authentication_plugin.py +49 -0
- luminarycloud/_client/client.py +38 -11
- luminarycloud/_client/http_client.py +1 -1
- luminarycloud/_client/retry_interceptor.py +64 -2
- luminarycloud/_helpers/__init__.py +9 -0
- luminarycloud/_helpers/_inference_jobs.py +227 -0
- luminarycloud/_helpers/_parse_iso_datetime.py +54 -0
- luminarycloud/_helpers/download.py +11 -0
- luminarycloud/_helpers/proto_decorator.py +38 -7
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +152 -132
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +66 -8
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +142 -39
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +300 -3
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.py +255 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.pyi +466 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.py +242 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.pyi +95 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +29 -7
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +39 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +36 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +18 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -65
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +42 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.py +163 -153
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +37 -3
- luminarycloud/_proto/base/base_pb2.py +7 -6
- luminarycloud/_proto/base/base_pb2.pyi +4 -0
- luminarycloud/_proto/client/simulation_pb2.py +358 -339
- luminarycloud/_proto/client/simulation_pb2.pyi +89 -3
- luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.py +35 -0
- luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.pyi +7 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.py +6 -3
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.py +68 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.pyi +24 -0
- luminarycloud/_wrapper.py +53 -7
- luminarycloud/enum/vis_enums.py +6 -0
- luminarycloud/feature_modification.py +25 -32
- luminarycloud/geometry.py +10 -6
- luminarycloud/geometry_version.py +4 -0
- luminarycloud/mesh.py +4 -0
- luminarycloud/meshing/mesh_generation_params.py +5 -6
- luminarycloud/meshing/sizing_strategy/sizing_strategies.py +1 -2
- luminarycloud/outputs/__init__.py +2 -0
- luminarycloud/outputs/output_definitions.py +3 -3
- luminarycloud/outputs/stopping_conditions.py +94 -0
- luminarycloud/params/enum/_enum_wrappers.py +16 -0
- luminarycloud/params/geometry/shapes.py +33 -33
- luminarycloud/params/simulation/adaptive_mesh_refinement/__init__.py +1 -0
- luminarycloud/params/simulation/adaptive_mesh_refinement/active_region_.py +83 -0
- luminarycloud/params/simulation/adaptive_mesh_refinement/boundary_layer_profile_.py +1 -1
- luminarycloud/params/simulation/adaptive_mesh_refinement_.py +8 -1
- luminarycloud/physics_ai/__init__.py +7 -0
- luminarycloud/physics_ai/inference.py +166 -199
- luminarycloud/physics_ai/models.py +22 -0
- luminarycloud/physics_ai/solution.py +4 -0
- luminarycloud/pipelines/api.py +143 -16
- luminarycloud/pipelines/core.py +1 -1
- luminarycloud/pipelines/stages.py +22 -9
- luminarycloud/project.py +61 -8
- luminarycloud/simulation.py +25 -0
- luminarycloud/types/__init__.py +2 -0
- luminarycloud/types/ids.py +2 -0
- luminarycloud/types/vector3.py +1 -2
- luminarycloud/vis/__init__.py +1 -0
- luminarycloud/vis/data_extraction.py +7 -7
- luminarycloud/vis/filters.py +97 -0
- luminarycloud/vis/interactive_report.py +163 -7
- luminarycloud/vis/report.py +113 -1
- luminarycloud/vis/visualization.py +3 -0
- luminarycloud/volume_selection.py +16 -8
- luminarycloud/workflow_utils.py +149 -0
- {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/METADATA +1 -1
- {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/RECORD +80 -76
- {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.2.dist-info}/WHEEL +1 -1
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +0 -61
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +0 -85
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.py +0 -67
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2_grpc.pyi +0 -26
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +0 -69
- 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
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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)
|
luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi
CHANGED
|
@@ -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: ...
|