ansys-api-discovery 0.6.3__py3-none-any.whl → 0.6.5__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.
Potentially problematic release.
This version of ansys-api-discovery might be problematic. Click here for more details.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/assignments/boltassignment.proto +40 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2.py +37 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2.pyi +95 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.py +365 -0
- ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.pyi +118 -0
- ansys/api/discovery/v0/conditions/bearing.proto +47 -0
- ansys/api/discovery/v0/conditions/bearing_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/bearing_pb2.pyi +102 -0
- ansys/api/discovery/v0/conditions/bearing_pb2_grpc.py +200 -0
- ansys/api/discovery/v0/conditions/bearing_pb2_grpc.pyi +68 -0
- ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2.py +48 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2.pyi +218 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.py +431 -0
- ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.pyi +138 -0
- ansys/api/discovery/v0/{conditions.proto → conditions/condition.proto} +5 -4
- ansys/api/discovery/v0/conditions/condition_pb2.py +34 -0
- ansys/api/discovery/v0/{conditions_pb2.pyi → conditions/condition_pb2.pyi} +13 -6
- ansys/api/discovery/v0/{conditions_pb2_grpc.py → conditions/condition_pb2_grpc.py} +21 -21
- ansys/api/discovery/v0/{conditions_pb2_grpc.pyi → conditions/condition_pb2_grpc.pyi} +10 -10
- ansys/api/discovery/v0/conditions/convection.proto +43 -0
- ansys/api/discovery/v0/conditions/convection_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/convection_pb2.pyi +89 -0
- ansys/api/discovery/v0/conditions/convection_pb2_grpc.py +166 -0
- ansys/api/discovery/v0/conditions/convection_pb2_grpc.pyi +55 -0
- ansys/api/discovery/v0/conditions/displacement.proto +105 -0
- ansys/api/discovery/v0/conditions/displacement_pb2.py +48 -0
- ansys/api/discovery/v0/conditions/displacement_pb2.pyi +209 -0
- ansys/api/discovery/v0/conditions/displacement_pb2_grpc.py +827 -0
- ansys/api/discovery/v0/conditions/displacement_pb2_grpc.pyi +258 -0
- ansys/api/discovery/v0/{conditionsfluid.proto → conditions/flow.proto} +19 -24
- ansys/api/discovery/v0/conditions/flow_pb2.py +86 -0
- ansys/api/discovery/v0/{conditionsfluid_pb2.pyi → conditions/flow_pb2.pyi} +51 -34
- ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.py → conditions/flow_pb2_grpc.py} +86 -86
- ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.pyi → conditions/flow_pb2_grpc.pyi} +32 -32
- ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.py +28 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.pyi +7 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.py +66 -0
- ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.pyi +24 -0
- ansys/api/discovery/v0/conditions/force.proto +131 -0
- ansys/api/discovery/v0/conditions/force_pb2.py +56 -0
- ansys/api/discovery/v0/conditions/force_pb2.pyi +286 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.py +829 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +257 -0
- ansys/api/discovery/v0/conditions/gravity.proto +39 -0
- ansys/api/discovery/v0/conditions/gravity_pb2.py +32 -0
- ansys/api/discovery/v0/conditions/gravity_pb2.pyi +65 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +266 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +91 -0
- ansys/api/discovery/v0/conditions/heat.proto +90 -0
- ansys/api/discovery/v0/conditions/heat_pb2.py +46 -0
- ansys/api/discovery/v0/conditions/heat_pb2.pyi +210 -0
- ansys/api/discovery/v0/conditions/heat_pb2_grpc.py +332 -0
- ansys/api/discovery/v0/conditions/heat_pb2_grpc.pyi +108 -0
- ansys/api/discovery/v0/conditions/insulated.proto +34 -0
- ansys/api/discovery/v0/conditions/insulated_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/insulated_pb2.pyi +73 -0
- ansys/api/discovery/v0/conditions/insulated_pb2_grpc.py +100 -0
- ansys/api/discovery/v0/conditions/insulated_pb2_grpc.pyi +35 -0
- ansys/api/discovery/v0/conditions/mass.proto +49 -0
- ansys/api/discovery/v0/conditions/mass_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/mass_pb2.pyi +98 -0
- ansys/api/discovery/v0/conditions/mass_pb2_grpc.py +266 -0
- ansys/api/discovery/v0/conditions/mass_pb2_grpc.pyi +88 -0
- ansys/api/discovery/v0/conditions/moment.proto +67 -0
- ansys/api/discovery/v0/conditions/moment_pb2.py +40 -0
- ansys/api/discovery/v0/conditions/moment_pb2.pyi +132 -0
- ansys/api/discovery/v0/conditions/moment_pb2_grpc.py +398 -0
- ansys/api/discovery/v0/conditions/moment_pb2_grpc.pyi +128 -0
- ansys/api/discovery/v0/conditions/porous.proto +116 -0
- ansys/api/discovery/v0/conditions/porous_pb2.py +44 -0
- ansys/api/discovery/v0/conditions/porous_pb2.pyi +217 -0
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +534 -0
- ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +181 -0
- ansys/api/discovery/v0/conditions/pressure.proto +43 -0
- ansys/api/discovery/v0/conditions/pressure_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/pressure_pb2.pyi +94 -0
- ansys/api/discovery/v0/conditions/pressure_pb2_grpc.py +134 -0
- ansys/api/discovery/v0/conditions/pressure_pb2_grpc.pyi +48 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +102 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.py +136 -0
- ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.pyi +54 -0
- ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2.py +34 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2.pyi +81 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.py +166 -0
- ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.pyi +55 -0
- ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2.py +50 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2.pyi +250 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.py +431 -0
- ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.pyi +138 -0
- ansys/api/discovery/v0/conditions/support.proto +98 -0
- ansys/api/discovery/v0/conditions/support_pb2.py +46 -0
- ansys/api/discovery/v0/conditions/support_pb2.pyi +200 -0
- ansys/api/discovery/v0/{conditionsthermal_pb2_grpc.py → conditions/support_pb2_grpc.py} +251 -221
- ansys/api/discovery/v0/conditions/support_pb2_grpc.pyi +218 -0
- ansys/api/discovery/v0/conditions/velocity.proto +58 -0
- ansys/api/discovery/v0/conditions/velocity_pb2.py +36 -0
- ansys/api/discovery/v0/conditions/velocity_pb2.pyi +98 -0
- ansys/api/discovery/v0/conditions/velocity_pb2_grpc.py +497 -0
- ansys/api/discovery/v0/conditions/velocity_pb2_grpc.pyi +158 -0
- ansys/api/discovery/v0/conditions/wall.proto +209 -0
- ansys/api/discovery/v0/conditions/wall_pb2.py +70 -0
- ansys/api/discovery/v0/conditions/wall_pb2.pyi +494 -0
- ansys/api/discovery/v0/conditions/wall_pb2_grpc.py +633 -0
- ansys/api/discovery/v0/conditions/wall_pb2_grpc.pyi +211 -0
- ansys/api/discovery/v0/connections/contact.proto +110 -0
- ansys/api/discovery/v0/connections/contact_pb2.py +46 -0
- ansys/api/discovery/v0/connections/contact_pb2.pyi +242 -0
- ansys/api/discovery/v0/connections/contact_pb2_grpc.py +827 -0
- ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +258 -0
- ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2.py +37 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +178 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +860 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +266 -0
- ansys/api/discovery/v0/connections/joint.proto +56 -0
- ansys/api/discovery/v0/connections/joint_pb2.py +40 -0
- ansys/api/discovery/v0/connections/joint_pb2.pyi +129 -0
- ansys/api/discovery/v0/connections/joint_pb2_grpc.py +167 -0
- ansys/api/discovery/v0/connections/joint_pb2_grpc.pyi +58 -0
- ansys/api/discovery/v0/discoverymodels.proto +34 -17
- ansys/api/discovery/v0/discoverymodels_pb2.py +46 -40
- ansys/api/discovery/v0/discoverymodels_pb2.pyi +118 -47
- ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2.py +36 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2.pyi +81 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.pyi +27 -0
- ansys/api/discovery/v0/monitors.proto +4 -4
- ansys/api/discovery/v0/monitors_pb2.py +10 -10
- ansys/api/discovery/v0/monitors_pb2.pyi +11 -11
- ansys/api/discovery/v0/solution.proto +4 -3
- ansys/api/discovery/v0/solution_pb2.py +16 -15
- ansys/api/discovery/v0/solution_pb2.pyi +11 -7
- ansys/api/discovery/v0/unsupported.proto +10 -0
- ansys/api/discovery/v0/unsupported_pb2.py +5 -3
- ansys/api/discovery/v0/unsupported_pb2.pyi +14 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.py +68 -0
- ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +24 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/METADATA +13 -4
- ansys_api_discovery-0.6.5.dist-info/RECORD +200 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/WHEEL +1 -1
- ansys/api/discovery/v0/conditions_pb2.py +0 -33
- ansys/api/discovery/v0/conditionsfluid_pb2.py +0 -85
- ansys/api/discovery/v0/conditionsstructural.proto +0 -595
- ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -149
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -1216
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -4171
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -1303
- ansys/api/discovery/v0/conditionsthermal.proto +0 -179
- ansys/api/discovery/v0/conditionsthermal_pb2.py +0 -63
- ansys/api/discovery/v0/conditionsthermal_pb2.pyi +0 -399
- ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +0 -217
- ansys_api_discovery-0.6.3.dist-info/RECORD +0 -85
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import ansys.api.dbu.v0.dbumodels_pb2
|
|
6
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
7
|
+
import builtins
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
|
+
|
|
16
|
+
class BearingCreationRequest(google.protobuf.message.Message):
|
|
17
|
+
"""Bearing"""
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
19
|
+
CREATION_DATA_FIELD_NUMBER: builtins.int
|
|
20
|
+
BEARING_PROPERTIES_FIELD_NUMBER: builtins.int
|
|
21
|
+
@property
|
|
22
|
+
def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
|
|
23
|
+
@property
|
|
24
|
+
def bearing_properties(self) -> global___BearingProperties: ...
|
|
25
|
+
def __init__(self,
|
|
26
|
+
*,
|
|
27
|
+
creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
|
|
28
|
+
bearing_properties : typing.Optional[global___BearingProperties] = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def HasField(self, field_name: typing_extensions.Literal["bearing_properties",b"bearing_properties","creation_data",b"creation_data"]) -> builtins.bool: ...
|
|
31
|
+
def ClearField(self, field_name: typing_extensions.Literal["bearing_properties",b"bearing_properties","creation_data",b"creation_data"]) -> None: ...
|
|
32
|
+
global___BearingCreationRequest = BearingCreationRequest
|
|
33
|
+
|
|
34
|
+
class BearingCreationResponse(google.protobuf.message.Message):
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
36
|
+
CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
|
|
37
|
+
CONDITION_DATA_FIELD_NUMBER: builtins.int
|
|
38
|
+
@property
|
|
39
|
+
def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
|
|
40
|
+
@property
|
|
41
|
+
def condition_data(self) -> global___BearingDefinition: ...
|
|
42
|
+
def __init__(self,
|
|
43
|
+
*,
|
|
44
|
+
condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
|
|
45
|
+
condition_data : typing.Optional[global___BearingDefinition] = ...,
|
|
46
|
+
) -> None: ...
|
|
47
|
+
def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
|
|
48
|
+
def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
|
|
49
|
+
global___BearingCreationResponse = BearingCreationResponse
|
|
50
|
+
|
|
51
|
+
class BearingProperties(google.protobuf.message.Message):
|
|
52
|
+
"""Bearing condition definitions"""
|
|
53
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
54
|
+
RADIAL_FORCE_FIELD_NUMBER: builtins.int
|
|
55
|
+
THRUST_FORCE_FIELD_NUMBER: builtins.int
|
|
56
|
+
ANGLE_FIELD_NUMBER: builtins.int
|
|
57
|
+
@property
|
|
58
|
+
def radial_force(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
59
|
+
@property
|
|
60
|
+
def thrust_force(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
61
|
+
@property
|
|
62
|
+
def angle(self) -> ansys.api.discovery.v0.discoverymodels_pb2.Quantity: ...
|
|
63
|
+
def __init__(self,
|
|
64
|
+
*,
|
|
65
|
+
radial_force : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
66
|
+
thrust_force : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
67
|
+
angle : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.Quantity] = ...,
|
|
68
|
+
) -> None: ...
|
|
69
|
+
def HasField(self, field_name: typing_extensions.Literal["angle",b"angle","radial_force",b"radial_force","thrust_force",b"thrust_force"]) -> builtins.bool: ...
|
|
70
|
+
def ClearField(self, field_name: typing_extensions.Literal["angle",b"angle","radial_force",b"radial_force","thrust_force",b"thrust_force"]) -> None: ...
|
|
71
|
+
global___BearingProperties = BearingProperties
|
|
72
|
+
|
|
73
|
+
class BearingDefinition(google.protobuf.message.Message):
|
|
74
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
75
|
+
ID_FIELD_NUMBER: builtins.int
|
|
76
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
77
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
78
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
79
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
80
|
+
BEARING_FIELD_NUMBER: builtins.int
|
|
81
|
+
@property
|
|
82
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
83
|
+
@property
|
|
84
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
85
|
+
label: typing.Text = ...
|
|
86
|
+
@property
|
|
87
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
88
|
+
suppressed: builtins.bool = ...
|
|
89
|
+
@property
|
|
90
|
+
def bearing(self) -> global___BearingProperties: ...
|
|
91
|
+
def __init__(self,
|
|
92
|
+
*,
|
|
93
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
94
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
95
|
+
label : typing.Text = ...,
|
|
96
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
97
|
+
suppressed : builtins.bool = ...,
|
|
98
|
+
bearing : typing.Optional[global___BearingProperties] = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def HasField(self, field_name: typing_extensions.Literal["bearing",b"bearing","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
|
|
101
|
+
def ClearField(self, field_name: typing_extensions.Literal["bearing",b"bearing","id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
|
|
102
|
+
global___BearingDefinition = BearingDefinition
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from ansys.api.discovery.v0.conditions import bearing_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2
|
|
6
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class BearingStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.CreateBearing = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.bearing.Bearing/CreateBearing',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2.BearingCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2.BearingCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.ChangeBearingLocation = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingLocation',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ChangeBearingRadialForce = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingRadialForce',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.ChangeBearingThrustForce = channel.unary_unary(
|
|
34
|
+
'/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingThrustForce',
|
|
35
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
36
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.ChangeBearingAngle = channel.unary_unary(
|
|
39
|
+
'/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingAngle',
|
|
40
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
41
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class BearingServicer(object):
|
|
46
|
+
"""Missing associated documentation comment in .proto file."""
|
|
47
|
+
|
|
48
|
+
def CreateBearing(self, request, context):
|
|
49
|
+
"""Bearing condition methods
|
|
50
|
+
"""
|
|
51
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
52
|
+
context.set_details('Method not implemented!')
|
|
53
|
+
raise NotImplementedError('Method not implemented!')
|
|
54
|
+
|
|
55
|
+
def ChangeBearingLocation(self, request, context):
|
|
56
|
+
"""Missing associated documentation comment in .proto file."""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def ChangeBearingRadialForce(self, request, context):
|
|
62
|
+
"""Missing associated documentation comment in .proto file."""
|
|
63
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
+
context.set_details('Method not implemented!')
|
|
65
|
+
raise NotImplementedError('Method not implemented!')
|
|
66
|
+
|
|
67
|
+
def ChangeBearingThrustForce(self, request, context):
|
|
68
|
+
"""Missing associated documentation comment in .proto file."""
|
|
69
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
70
|
+
context.set_details('Method not implemented!')
|
|
71
|
+
raise NotImplementedError('Method not implemented!')
|
|
72
|
+
|
|
73
|
+
def ChangeBearingAngle(self, request, context):
|
|
74
|
+
"""Missing associated documentation comment in .proto file."""
|
|
75
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
76
|
+
context.set_details('Method not implemented!')
|
|
77
|
+
raise NotImplementedError('Method not implemented!')
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def add_BearingServicer_to_server(servicer, server):
|
|
81
|
+
rpc_method_handlers = {
|
|
82
|
+
'CreateBearing': grpc.unary_unary_rpc_method_handler(
|
|
83
|
+
servicer.CreateBearing,
|
|
84
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2.BearingCreationRequest.FromString,
|
|
85
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2.BearingCreationResponse.SerializeToString,
|
|
86
|
+
),
|
|
87
|
+
'ChangeBearingLocation': grpc.unary_unary_rpc_method_handler(
|
|
88
|
+
servicer.ChangeBearingLocation,
|
|
89
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
|
|
90
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
91
|
+
),
|
|
92
|
+
'ChangeBearingRadialForce': grpc.unary_unary_rpc_method_handler(
|
|
93
|
+
servicer.ChangeBearingRadialForce,
|
|
94
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
95
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
96
|
+
),
|
|
97
|
+
'ChangeBearingThrustForce': grpc.unary_unary_rpc_method_handler(
|
|
98
|
+
servicer.ChangeBearingThrustForce,
|
|
99
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
100
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
101
|
+
),
|
|
102
|
+
'ChangeBearingAngle': grpc.unary_unary_rpc_method_handler(
|
|
103
|
+
servicer.ChangeBearingAngle,
|
|
104
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
105
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
106
|
+
),
|
|
107
|
+
}
|
|
108
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
109
|
+
'ansys.api.discovery.v0.conditions.bearing.Bearing', rpc_method_handlers)
|
|
110
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
# This class is part of an EXPERIMENTAL API.
|
|
114
|
+
class Bearing(object):
|
|
115
|
+
"""Missing associated documentation comment in .proto file."""
|
|
116
|
+
|
|
117
|
+
@staticmethod
|
|
118
|
+
def CreateBearing(request,
|
|
119
|
+
target,
|
|
120
|
+
options=(),
|
|
121
|
+
channel_credentials=None,
|
|
122
|
+
call_credentials=None,
|
|
123
|
+
insecure=False,
|
|
124
|
+
compression=None,
|
|
125
|
+
wait_for_ready=None,
|
|
126
|
+
timeout=None,
|
|
127
|
+
metadata=None):
|
|
128
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.bearing.Bearing/CreateBearing',
|
|
129
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2.BearingCreationRequest.SerializeToString,
|
|
130
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_bearing__pb2.BearingCreationResponse.FromString,
|
|
131
|
+
options, channel_credentials,
|
|
132
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
133
|
+
|
|
134
|
+
@staticmethod
|
|
135
|
+
def ChangeBearingLocation(request,
|
|
136
|
+
target,
|
|
137
|
+
options=(),
|
|
138
|
+
channel_credentials=None,
|
|
139
|
+
call_credentials=None,
|
|
140
|
+
insecure=False,
|
|
141
|
+
compression=None,
|
|
142
|
+
wait_for_ready=None,
|
|
143
|
+
timeout=None,
|
|
144
|
+
metadata=None):
|
|
145
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingLocation',
|
|
146
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
147
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
148
|
+
options, channel_credentials,
|
|
149
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
150
|
+
|
|
151
|
+
@staticmethod
|
|
152
|
+
def ChangeBearingRadialForce(request,
|
|
153
|
+
target,
|
|
154
|
+
options=(),
|
|
155
|
+
channel_credentials=None,
|
|
156
|
+
call_credentials=None,
|
|
157
|
+
insecure=False,
|
|
158
|
+
compression=None,
|
|
159
|
+
wait_for_ready=None,
|
|
160
|
+
timeout=None,
|
|
161
|
+
metadata=None):
|
|
162
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingRadialForce',
|
|
163
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
164
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
165
|
+
options, channel_credentials,
|
|
166
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
167
|
+
|
|
168
|
+
@staticmethod
|
|
169
|
+
def ChangeBearingThrustForce(request,
|
|
170
|
+
target,
|
|
171
|
+
options=(),
|
|
172
|
+
channel_credentials=None,
|
|
173
|
+
call_credentials=None,
|
|
174
|
+
insecure=False,
|
|
175
|
+
compression=None,
|
|
176
|
+
wait_for_ready=None,
|
|
177
|
+
timeout=None,
|
|
178
|
+
metadata=None):
|
|
179
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingThrustForce',
|
|
180
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
181
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
182
|
+
options, channel_credentials,
|
|
183
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
184
|
+
|
|
185
|
+
@staticmethod
|
|
186
|
+
def ChangeBearingAngle(request,
|
|
187
|
+
target,
|
|
188
|
+
options=(),
|
|
189
|
+
channel_credentials=None,
|
|
190
|
+
call_credentials=None,
|
|
191
|
+
insecure=False,
|
|
192
|
+
compression=None,
|
|
193
|
+
wait_for_ready=None,
|
|
194
|
+
timeout=None,
|
|
195
|
+
metadata=None):
|
|
196
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.bearing.Bearing/ChangeBearingAngle',
|
|
197
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
198
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
199
|
+
options, channel_credentials,
|
|
200
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditions.bearing_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class BearingStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateBearing: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.bearing_pb2.BearingCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.bearing_pb2.BearingCreationResponse] = ...
|
|
15
|
+
"""Bearing condition methods"""
|
|
16
|
+
|
|
17
|
+
ChangeBearingLocation: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
19
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
20
|
+
|
|
21
|
+
ChangeBearingRadialForce: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
24
|
+
|
|
25
|
+
ChangeBearingThrustForce: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
27
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeBearingAngle: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class BearingServicer(metaclass=abc.ABCMeta):
|
|
35
|
+
@abc.abstractmethod
|
|
36
|
+
def CreateBearing(self,
|
|
37
|
+
request: ansys.api.discovery.v0.conditions.bearing_pb2.BearingCreationRequest,
|
|
38
|
+
context: grpc.ServicerContext,
|
|
39
|
+
) -> ansys.api.discovery.v0.conditions.bearing_pb2.BearingCreationResponse:
|
|
40
|
+
"""Bearing condition methods"""
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
@abc.abstractmethod
|
|
44
|
+
def ChangeBearingLocation(self,
|
|
45
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
46
|
+
context: grpc.ServicerContext,
|
|
47
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
48
|
+
|
|
49
|
+
@abc.abstractmethod
|
|
50
|
+
def ChangeBearingRadialForce(self,
|
|
51
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
52
|
+
context: grpc.ServicerContext,
|
|
53
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
54
|
+
|
|
55
|
+
@abc.abstractmethod
|
|
56
|
+
def ChangeBearingThrustForce(self,
|
|
57
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
58
|
+
context: grpc.ServicerContext,
|
|
59
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
60
|
+
|
|
61
|
+
@abc.abstractmethod
|
|
62
|
+
def ChangeBearingAngle(self,
|
|
63
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
64
|
+
context: grpc.ServicerContext,
|
|
65
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def add_BearingServicer_to_server(servicer: BearingServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.boltpreload;
|
|
4
|
+
|
|
5
|
+
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
7
|
+
|
|
8
|
+
option csharp_namespace = "Ansys.Api.Discovery.V0.Conditions";
|
|
9
|
+
|
|
10
|
+
service BoltPreload
|
|
11
|
+
{
|
|
12
|
+
//Bolt prestress condition methods
|
|
13
|
+
rpc CreateBoltPreloadClampForce(BoltPreloadClampForceCreationRequest) returns (BoltPreloadCreationResponse);
|
|
14
|
+
rpc CreateBoltPreloadGripLength(BoltPreloadGripLengthCreationRequest) returns (BoltPreloadCreationResponse);
|
|
15
|
+
rpc CreateBoltPreloadTorque(BoltPreloadTorqueCreationRequest) returns (BoltPreloadCreationResponse);
|
|
16
|
+
|
|
17
|
+
rpc ChangeBoltPreloadSide1Location(ChangeLocationExtendedRequest) returns(ChangeResponse);
|
|
18
|
+
rpc ChangeBoltPreloadSide2Location(ChangeLocationRequest) returns(ChangeResponse);
|
|
19
|
+
|
|
20
|
+
rpc ChangeBoltPreloadSpecification(ChangeBoltPreloadSpecificationRequest) returns(ChangeResponse);
|
|
21
|
+
|
|
22
|
+
rpc ChangeBoltPreloadClampForce(ChangeQuantityRequest) returns (ChangeResponse);
|
|
23
|
+
rpc ChangeBoltPreloadGripLength(ChangeQuantityRequest) returns (ChangeResponse);
|
|
24
|
+
rpc ChangeBoltPreloadTorque(ChangeQuantityRequest) returns (ChangeResponse);
|
|
25
|
+
|
|
26
|
+
rpc ChangeBoltPreloadTorqueCoefficient(ChangeQuantityRequest) returns (ChangeResponse);
|
|
27
|
+
rpc ChangeBoltPreloadSpecifyBoltDiameter(ChangeBooleanRequest) returns (ChangeResponse);
|
|
28
|
+
rpc ChangeBoltPreloadShankDiameter(ChangeQuantityRequest) returns (ChangeResponse);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//Creation
|
|
32
|
+
message BoltPreloadClampForceCreationRequest{
|
|
33
|
+
DoubleSidedScopedCreationData creation_data = 1;
|
|
34
|
+
BoltPreloadClampForceProperties clamp_force_properties = 2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message BoltPreloadGripLengthCreationRequest{
|
|
38
|
+
DoubleSidedScopedCreationData creation_data = 1;
|
|
39
|
+
BoltPreloadGripLengthProperties grip_length_properties = 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message BoltPreloadTorqueCreationRequest{
|
|
43
|
+
DoubleSidedScopedCreationData creation_data = 1;
|
|
44
|
+
BoltPreloadTorqueProperties torque_properties = 2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message BoltPreloadCreationResponse{
|
|
48
|
+
CreationResponse condition_response = 1;
|
|
49
|
+
BoltPreloadDefinition condition_data = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
//Other requests
|
|
53
|
+
|
|
54
|
+
message ChangeBoltPreloadSpecificationRequest{
|
|
55
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
|
|
56
|
+
BoltPreloadSpecification specification = 2;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Enumerations
|
|
60
|
+
|
|
61
|
+
enum BoltPreloadSpecification {
|
|
62
|
+
CLAMPFORCE = 0;
|
|
63
|
+
GRIPLENGTH = 1;
|
|
64
|
+
TORQUE = 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Condition definitions
|
|
68
|
+
|
|
69
|
+
message BoltPreloadClampForceProperties {
|
|
70
|
+
Quantity clamp_force = 1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message BoltPreloadGripLengthProperties {
|
|
74
|
+
Quantity grip_length = 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message BoltPreloadTorqueProperties {
|
|
78
|
+
Quantity torque = 1;
|
|
79
|
+
double torque_coefficient = 2;
|
|
80
|
+
OptionalQuantity boltdiameter = 3;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message BoltPreloadDefinition {
|
|
84
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
85
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
86
|
+
string label = 3;
|
|
87
|
+
repeated string side1_locations = 4;
|
|
88
|
+
repeated string side2_locations = 5;
|
|
89
|
+
bool suppressed = 6;
|
|
90
|
+
BoltPreloadSpecification specification = 7;
|
|
91
|
+
BoltPreloadClampForceProperties clamp_force_properties = 8;
|
|
92
|
+
BoltPreloadGripLengthProperties grip_length_properties = 9;
|
|
93
|
+
BoltPreloadTorqueProperties torque_properties = 10;
|
|
94
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditions/boltpreload.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
|
|
15
|
+
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3ansys/api/discovery/v0/conditions/boltpreload.proto\x12-ansys.api.discovery.v0.conditions.boltpreload\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xe4\x01\n$BoltPreloadClampForceCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12n\n\x16\x63lamp_force_properties\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadClampForceProperties\"\xe4\x01\n$BoltPreloadGripLengthCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12n\n\x16grip_length_properties\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadGripLengthProperties\"\xd7\x01\n BoltPreloadTorqueCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12\x65\n\x11torque_properties\x18\x02 \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadTorqueProperties\"\xc1\x01\n\x1b\x42oltPreloadCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12\\\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x44.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadDefinition\"\xc5\x01\n%ChangeBoltPreloadSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12^\n\rspecification\x18\x02 \x01(\x0e\x32G.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadSpecification\"X\n\x1f\x42oltPreloadClampForceProperties\x12\x35\n\x0b\x63lamp_force\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"X\n\x1f\x42oltPreloadGripLengthProperties\x12\x35\n\x0bgrip_length\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xab\x01\n\x1b\x42oltPreloadTorqueProperties\x12\x30\n\x06torque\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x1a\n\x12torque_coefficient\x18\x02 \x01(\x01\x12>\n\x0c\x62oltdiameter\x18\x03 \x01(\x0b\x32(.ansys.api.discovery.v0.OptionalQuantity\"\x88\x05\n\x15\x42oltPreloadDefinition\x12\x35\n\x02id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12<\n\tparent_id\x18\x02 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\r\n\x05label\x18\x03 \x01(\t\x12\x17\n\x0fside1_locations\x18\x04 \x03(\t\x12\x17\n\x0fside2_locations\x18\x05 \x03(\t\x12\x12\n\nsuppressed\x18\x06 \x01(\x08\x12^\n\rspecification\x18\x07 \x01(\x0e\x32G.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadSpecification\x12n\n\x16\x63lamp_force_properties\x18\x08 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadClampForceProperties\x12n\n\x16grip_length_properties\x18\t \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadGripLengthProperties\x12\x65\n\x11torque_properties\x18\n \x01(\x0b\x32J.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadTorqueProperties*F\n\x18\x42oltPreloadSpecification\x12\x0e\n\nCLAMPFORCE\x10\x00\x12\x0e\n\nGRIPLENGTH\x10\x01\x12\n\n\x06TORQUE\x10\x02\x32\xb5\r\n\x0b\x42oltPreload\x12\xbe\x01\n\x1b\x43reateBoltPreloadClampForce\x12S.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadClampForceCreationRequest\x1aJ.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadCreationResponse\x12\xbe\x01\n\x1b\x43reateBoltPreloadGripLength\x12S.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadGripLengthCreationRequest\x1aJ.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadCreationResponse\x12\xb6\x01\n\x17\x43reateBoltPreloadTorque\x12O.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadTorqueCreationRequest\x1aJ.ansys.api.discovery.v0.conditions.boltpreload.BoltPreloadCreationResponse\x12\x7f\n\x1e\x43hangeBoltPreloadSide1Location\x12\x35.ansys.api.discovery.v0.ChangeLocationExtendedRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1e\x43hangeBoltPreloadSide2Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x9e\x01\n\x1e\x43hangeBoltPreloadSpecification\x12T.ansys.api.discovery.v0.conditions.boltpreload.ChangeBoltPreloadSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeBoltPreloadClampForce\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeBoltPreloadGripLength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x17\x43hangeBoltPreloadTorque\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n\"ChangeBoltPreloadTorqueCoefficient\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n$ChangeBoltPreloadSpecifyBoltDiameter\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1e\x43hangeBoltPreloadShankDiameter\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.boltpreload_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\252\002!Ansys.Api.Discovery.V0.Conditions'
|
|
26
|
+
_BOLTPRELOADSPECIFICATION._serialized_start=2263
|
|
27
|
+
_BOLTPRELOADSPECIFICATION._serialized_end=2333
|
|
28
|
+
_BOLTPRELOADCLAMPFORCECREATIONREQUEST._serialized_start=183
|
|
29
|
+
_BOLTPRELOADCLAMPFORCECREATIONREQUEST._serialized_end=411
|
|
30
|
+
_BOLTPRELOADGRIPLENGTHCREATIONREQUEST._serialized_start=414
|
|
31
|
+
_BOLTPRELOADGRIPLENGTHCREATIONREQUEST._serialized_end=642
|
|
32
|
+
_BOLTPRELOADTORQUECREATIONREQUEST._serialized_start=645
|
|
33
|
+
_BOLTPRELOADTORQUECREATIONREQUEST._serialized_end=860
|
|
34
|
+
_BOLTPRELOADCREATIONRESPONSE._serialized_start=863
|
|
35
|
+
_BOLTPRELOADCREATIONRESPONSE._serialized_end=1056
|
|
36
|
+
_CHANGEBOLTPRELOADSPECIFICATIONREQUEST._serialized_start=1059
|
|
37
|
+
_CHANGEBOLTPRELOADSPECIFICATIONREQUEST._serialized_end=1256
|
|
38
|
+
_BOLTPRELOADCLAMPFORCEPROPERTIES._serialized_start=1258
|
|
39
|
+
_BOLTPRELOADCLAMPFORCEPROPERTIES._serialized_end=1346
|
|
40
|
+
_BOLTPRELOADGRIPLENGTHPROPERTIES._serialized_start=1348
|
|
41
|
+
_BOLTPRELOADGRIPLENGTHPROPERTIES._serialized_end=1436
|
|
42
|
+
_BOLTPRELOADTORQUEPROPERTIES._serialized_start=1439
|
|
43
|
+
_BOLTPRELOADTORQUEPROPERTIES._serialized_end=1610
|
|
44
|
+
_BOLTPRELOADDEFINITION._serialized_start=1613
|
|
45
|
+
_BOLTPRELOADDEFINITION._serialized_end=2261
|
|
46
|
+
_BOLTPRELOAD._serialized_start=2336
|
|
47
|
+
_BOLTPRELOAD._serialized_end=4053
|
|
48
|
+
# @@protoc_insertion_point(module_scope)
|