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,365 @@
|
|
|
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 acceleration_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__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 AccelerationStub(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.CreateAcceleration = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/CreateAcceleration',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__pb2.AccelerationCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__pb2.AccelerationCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.ChangeAccelerationLocation = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationLocation',
|
|
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.ChangeAccelerationOrientation = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationOrientation',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.ChangeAccelerationDX = channel.unary_unary(
|
|
34
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationDX',
|
|
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.ChangeAccelerationDY = channel.unary_unary(
|
|
39
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationDY',
|
|
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
|
+
self.ChangeAccelerationDZ = channel.unary_unary(
|
|
44
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationDZ',
|
|
45
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
46
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
47
|
+
)
|
|
48
|
+
self.ChangeAccelerationTranslationalMagnitude = channel.unary_unary(
|
|
49
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationTranslationalMagnitude',
|
|
50
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
51
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
52
|
+
)
|
|
53
|
+
self.ChangeAccelerationIsFixedDX = channel.unary_unary(
|
|
54
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationIsFixedDX',
|
|
55
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
56
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
57
|
+
)
|
|
58
|
+
self.ChangeAccelerationIsFixedDY = channel.unary_unary(
|
|
59
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationIsFixedDY',
|
|
60
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
61
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
62
|
+
)
|
|
63
|
+
self.ChangeAccelerationIsFixedDZ = channel.unary_unary(
|
|
64
|
+
'/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationIsFixedDZ',
|
|
65
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
66
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class AccelerationServicer(object):
|
|
71
|
+
"""Missing associated documentation comment in .proto file."""
|
|
72
|
+
|
|
73
|
+
def CreateAcceleration(self, request, context):
|
|
74
|
+
"""Acceleration condition methods
|
|
75
|
+
"""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
def ChangeAccelerationLocation(self, request, context):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
83
|
+
context.set_details('Method not implemented!')
|
|
84
|
+
raise NotImplementedError('Method not implemented!')
|
|
85
|
+
|
|
86
|
+
def ChangeAccelerationOrientation(self, request, context):
|
|
87
|
+
"""Missing associated documentation comment in .proto file."""
|
|
88
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
89
|
+
context.set_details('Method not implemented!')
|
|
90
|
+
raise NotImplementedError('Method not implemented!')
|
|
91
|
+
|
|
92
|
+
def ChangeAccelerationDX(self, request, context):
|
|
93
|
+
"""Missing associated documentation comment in .proto file."""
|
|
94
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
95
|
+
context.set_details('Method not implemented!')
|
|
96
|
+
raise NotImplementedError('Method not implemented!')
|
|
97
|
+
|
|
98
|
+
def ChangeAccelerationDY(self, request, context):
|
|
99
|
+
"""Missing associated documentation comment in .proto file."""
|
|
100
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
101
|
+
context.set_details('Method not implemented!')
|
|
102
|
+
raise NotImplementedError('Method not implemented!')
|
|
103
|
+
|
|
104
|
+
def ChangeAccelerationDZ(self, request, context):
|
|
105
|
+
"""Missing associated documentation comment in .proto file."""
|
|
106
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
107
|
+
context.set_details('Method not implemented!')
|
|
108
|
+
raise NotImplementedError('Method not implemented!')
|
|
109
|
+
|
|
110
|
+
def ChangeAccelerationTranslationalMagnitude(self, request, context):
|
|
111
|
+
"""Missing associated documentation comment in .proto file."""
|
|
112
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
113
|
+
context.set_details('Method not implemented!')
|
|
114
|
+
raise NotImplementedError('Method not implemented!')
|
|
115
|
+
|
|
116
|
+
def ChangeAccelerationIsFixedDX(self, request, context):
|
|
117
|
+
"""Missing associated documentation comment in .proto file."""
|
|
118
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
119
|
+
context.set_details('Method not implemented!')
|
|
120
|
+
raise NotImplementedError('Method not implemented!')
|
|
121
|
+
|
|
122
|
+
def ChangeAccelerationIsFixedDY(self, request, context):
|
|
123
|
+
"""Missing associated documentation comment in .proto file."""
|
|
124
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
125
|
+
context.set_details('Method not implemented!')
|
|
126
|
+
raise NotImplementedError('Method not implemented!')
|
|
127
|
+
|
|
128
|
+
def ChangeAccelerationIsFixedDZ(self, request, context):
|
|
129
|
+
"""Missing associated documentation comment in .proto file."""
|
|
130
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
131
|
+
context.set_details('Method not implemented!')
|
|
132
|
+
raise NotImplementedError('Method not implemented!')
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def add_AccelerationServicer_to_server(servicer, server):
|
|
136
|
+
rpc_method_handlers = {
|
|
137
|
+
'CreateAcceleration': grpc.unary_unary_rpc_method_handler(
|
|
138
|
+
servicer.CreateAcceleration,
|
|
139
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__pb2.AccelerationCreationRequest.FromString,
|
|
140
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__pb2.AccelerationCreationResponse.SerializeToString,
|
|
141
|
+
),
|
|
142
|
+
'ChangeAccelerationLocation': grpc.unary_unary_rpc_method_handler(
|
|
143
|
+
servicer.ChangeAccelerationLocation,
|
|
144
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
|
|
145
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
146
|
+
),
|
|
147
|
+
'ChangeAccelerationOrientation': grpc.unary_unary_rpc_method_handler(
|
|
148
|
+
servicer.ChangeAccelerationOrientation,
|
|
149
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.FromString,
|
|
150
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
151
|
+
),
|
|
152
|
+
'ChangeAccelerationDX': grpc.unary_unary_rpc_method_handler(
|
|
153
|
+
servicer.ChangeAccelerationDX,
|
|
154
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
155
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
156
|
+
),
|
|
157
|
+
'ChangeAccelerationDY': grpc.unary_unary_rpc_method_handler(
|
|
158
|
+
servicer.ChangeAccelerationDY,
|
|
159
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
160
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
161
|
+
),
|
|
162
|
+
'ChangeAccelerationDZ': grpc.unary_unary_rpc_method_handler(
|
|
163
|
+
servicer.ChangeAccelerationDZ,
|
|
164
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
165
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
166
|
+
),
|
|
167
|
+
'ChangeAccelerationTranslationalMagnitude': grpc.unary_unary_rpc_method_handler(
|
|
168
|
+
servicer.ChangeAccelerationTranslationalMagnitude,
|
|
169
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
170
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
171
|
+
),
|
|
172
|
+
'ChangeAccelerationIsFixedDX': grpc.unary_unary_rpc_method_handler(
|
|
173
|
+
servicer.ChangeAccelerationIsFixedDX,
|
|
174
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
|
|
175
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
176
|
+
),
|
|
177
|
+
'ChangeAccelerationIsFixedDY': grpc.unary_unary_rpc_method_handler(
|
|
178
|
+
servicer.ChangeAccelerationIsFixedDY,
|
|
179
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
|
|
180
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
181
|
+
),
|
|
182
|
+
'ChangeAccelerationIsFixedDZ': grpc.unary_unary_rpc_method_handler(
|
|
183
|
+
servicer.ChangeAccelerationIsFixedDZ,
|
|
184
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
|
|
185
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
186
|
+
),
|
|
187
|
+
}
|
|
188
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
189
|
+
'ansys.api.discovery.v0.conditions.acceleration.Acceleration', rpc_method_handlers)
|
|
190
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
# This class is part of an EXPERIMENTAL API.
|
|
194
|
+
class Acceleration(object):
|
|
195
|
+
"""Missing associated documentation comment in .proto file."""
|
|
196
|
+
|
|
197
|
+
@staticmethod
|
|
198
|
+
def CreateAcceleration(request,
|
|
199
|
+
target,
|
|
200
|
+
options=(),
|
|
201
|
+
channel_credentials=None,
|
|
202
|
+
call_credentials=None,
|
|
203
|
+
insecure=False,
|
|
204
|
+
compression=None,
|
|
205
|
+
wait_for_ready=None,
|
|
206
|
+
timeout=None,
|
|
207
|
+
metadata=None):
|
|
208
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/CreateAcceleration',
|
|
209
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__pb2.AccelerationCreationRequest.SerializeToString,
|
|
210
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_acceleration__pb2.AccelerationCreationResponse.FromString,
|
|
211
|
+
options, channel_credentials,
|
|
212
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
213
|
+
|
|
214
|
+
@staticmethod
|
|
215
|
+
def ChangeAccelerationLocation(request,
|
|
216
|
+
target,
|
|
217
|
+
options=(),
|
|
218
|
+
channel_credentials=None,
|
|
219
|
+
call_credentials=None,
|
|
220
|
+
insecure=False,
|
|
221
|
+
compression=None,
|
|
222
|
+
wait_for_ready=None,
|
|
223
|
+
timeout=None,
|
|
224
|
+
metadata=None):
|
|
225
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationLocation',
|
|
226
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
227
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
228
|
+
options, channel_credentials,
|
|
229
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
230
|
+
|
|
231
|
+
@staticmethod
|
|
232
|
+
def ChangeAccelerationOrientation(request,
|
|
233
|
+
target,
|
|
234
|
+
options=(),
|
|
235
|
+
channel_credentials=None,
|
|
236
|
+
call_credentials=None,
|
|
237
|
+
insecure=False,
|
|
238
|
+
compression=None,
|
|
239
|
+
wait_for_ready=None,
|
|
240
|
+
timeout=None,
|
|
241
|
+
metadata=None):
|
|
242
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationOrientation',
|
|
243
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.SerializeToString,
|
|
244
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
245
|
+
options, channel_credentials,
|
|
246
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
247
|
+
|
|
248
|
+
@staticmethod
|
|
249
|
+
def ChangeAccelerationDX(request,
|
|
250
|
+
target,
|
|
251
|
+
options=(),
|
|
252
|
+
channel_credentials=None,
|
|
253
|
+
call_credentials=None,
|
|
254
|
+
insecure=False,
|
|
255
|
+
compression=None,
|
|
256
|
+
wait_for_ready=None,
|
|
257
|
+
timeout=None,
|
|
258
|
+
metadata=None):
|
|
259
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationDX',
|
|
260
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
261
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
262
|
+
options, channel_credentials,
|
|
263
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
264
|
+
|
|
265
|
+
@staticmethod
|
|
266
|
+
def ChangeAccelerationDY(request,
|
|
267
|
+
target,
|
|
268
|
+
options=(),
|
|
269
|
+
channel_credentials=None,
|
|
270
|
+
call_credentials=None,
|
|
271
|
+
insecure=False,
|
|
272
|
+
compression=None,
|
|
273
|
+
wait_for_ready=None,
|
|
274
|
+
timeout=None,
|
|
275
|
+
metadata=None):
|
|
276
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationDY',
|
|
277
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
278
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
279
|
+
options, channel_credentials,
|
|
280
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
281
|
+
|
|
282
|
+
@staticmethod
|
|
283
|
+
def ChangeAccelerationDZ(request,
|
|
284
|
+
target,
|
|
285
|
+
options=(),
|
|
286
|
+
channel_credentials=None,
|
|
287
|
+
call_credentials=None,
|
|
288
|
+
insecure=False,
|
|
289
|
+
compression=None,
|
|
290
|
+
wait_for_ready=None,
|
|
291
|
+
timeout=None,
|
|
292
|
+
metadata=None):
|
|
293
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationDZ',
|
|
294
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
295
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
296
|
+
options, channel_credentials,
|
|
297
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
298
|
+
|
|
299
|
+
@staticmethod
|
|
300
|
+
def ChangeAccelerationTranslationalMagnitude(request,
|
|
301
|
+
target,
|
|
302
|
+
options=(),
|
|
303
|
+
channel_credentials=None,
|
|
304
|
+
call_credentials=None,
|
|
305
|
+
insecure=False,
|
|
306
|
+
compression=None,
|
|
307
|
+
wait_for_ready=None,
|
|
308
|
+
timeout=None,
|
|
309
|
+
metadata=None):
|
|
310
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationTranslationalMagnitude',
|
|
311
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
312
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
313
|
+
options, channel_credentials,
|
|
314
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
315
|
+
|
|
316
|
+
@staticmethod
|
|
317
|
+
def ChangeAccelerationIsFixedDX(request,
|
|
318
|
+
target,
|
|
319
|
+
options=(),
|
|
320
|
+
channel_credentials=None,
|
|
321
|
+
call_credentials=None,
|
|
322
|
+
insecure=False,
|
|
323
|
+
compression=None,
|
|
324
|
+
wait_for_ready=None,
|
|
325
|
+
timeout=None,
|
|
326
|
+
metadata=None):
|
|
327
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationIsFixedDX',
|
|
328
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
329
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
330
|
+
options, channel_credentials,
|
|
331
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
332
|
+
|
|
333
|
+
@staticmethod
|
|
334
|
+
def ChangeAccelerationIsFixedDY(request,
|
|
335
|
+
target,
|
|
336
|
+
options=(),
|
|
337
|
+
channel_credentials=None,
|
|
338
|
+
call_credentials=None,
|
|
339
|
+
insecure=False,
|
|
340
|
+
compression=None,
|
|
341
|
+
wait_for_ready=None,
|
|
342
|
+
timeout=None,
|
|
343
|
+
metadata=None):
|
|
344
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationIsFixedDY',
|
|
345
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
346
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
347
|
+
options, channel_credentials,
|
|
348
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
349
|
+
|
|
350
|
+
@staticmethod
|
|
351
|
+
def ChangeAccelerationIsFixedDZ(request,
|
|
352
|
+
target,
|
|
353
|
+
options=(),
|
|
354
|
+
channel_credentials=None,
|
|
355
|
+
call_credentials=None,
|
|
356
|
+
insecure=False,
|
|
357
|
+
compression=None,
|
|
358
|
+
wait_for_ready=None,
|
|
359
|
+
timeout=None,
|
|
360
|
+
metadata=None):
|
|
361
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.acceleration.Acceleration/ChangeAccelerationIsFixedDZ',
|
|
362
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
363
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
364
|
+
options, channel_credentials,
|
|
365
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,118 @@
|
|
|
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.acceleration_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class AccelerationStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateAcceleration: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.acceleration_pb2.AccelerationCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.acceleration_pb2.AccelerationCreationResponse] = ...
|
|
15
|
+
"""Acceleration condition methods"""
|
|
16
|
+
|
|
17
|
+
ChangeAccelerationLocation: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
19
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
20
|
+
|
|
21
|
+
ChangeAccelerationOrientation: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeDirectionRequest,
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
24
|
+
|
|
25
|
+
ChangeAccelerationDX: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
27
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeAccelerationDY: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeAccelerationDZ: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
36
|
+
|
|
37
|
+
ChangeAccelerationTranslationalMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
40
|
+
|
|
41
|
+
ChangeAccelerationIsFixedDX: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
43
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
44
|
+
|
|
45
|
+
ChangeAccelerationIsFixedDY: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
47
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
48
|
+
|
|
49
|
+
ChangeAccelerationIsFixedDZ: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
51
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class AccelerationServicer(metaclass=abc.ABCMeta):
|
|
55
|
+
@abc.abstractmethod
|
|
56
|
+
def CreateAcceleration(self,
|
|
57
|
+
request: ansys.api.discovery.v0.conditions.acceleration_pb2.AccelerationCreationRequest,
|
|
58
|
+
context: grpc.ServicerContext,
|
|
59
|
+
) -> ansys.api.discovery.v0.conditions.acceleration_pb2.AccelerationCreationResponse:
|
|
60
|
+
"""Acceleration condition methods"""
|
|
61
|
+
pass
|
|
62
|
+
|
|
63
|
+
@abc.abstractmethod
|
|
64
|
+
def ChangeAccelerationLocation(self,
|
|
65
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
66
|
+
context: grpc.ServicerContext,
|
|
67
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
68
|
+
|
|
69
|
+
@abc.abstractmethod
|
|
70
|
+
def ChangeAccelerationOrientation(self,
|
|
71
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDirectionRequest,
|
|
72
|
+
context: grpc.ServicerContext,
|
|
73
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
74
|
+
|
|
75
|
+
@abc.abstractmethod
|
|
76
|
+
def ChangeAccelerationDX(self,
|
|
77
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
78
|
+
context: grpc.ServicerContext,
|
|
79
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
80
|
+
|
|
81
|
+
@abc.abstractmethod
|
|
82
|
+
def ChangeAccelerationDY(self,
|
|
83
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
84
|
+
context: grpc.ServicerContext,
|
|
85
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
86
|
+
|
|
87
|
+
@abc.abstractmethod
|
|
88
|
+
def ChangeAccelerationDZ(self,
|
|
89
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
90
|
+
context: grpc.ServicerContext,
|
|
91
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
92
|
+
|
|
93
|
+
@abc.abstractmethod
|
|
94
|
+
def ChangeAccelerationTranslationalMagnitude(self,
|
|
95
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
96
|
+
context: grpc.ServicerContext,
|
|
97
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
98
|
+
|
|
99
|
+
@abc.abstractmethod
|
|
100
|
+
def ChangeAccelerationIsFixedDX(self,
|
|
101
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
102
|
+
context: grpc.ServicerContext,
|
|
103
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
104
|
+
|
|
105
|
+
@abc.abstractmethod
|
|
106
|
+
def ChangeAccelerationIsFixedDY(self,
|
|
107
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
108
|
+
context: grpc.ServicerContext,
|
|
109
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
110
|
+
|
|
111
|
+
@abc.abstractmethod
|
|
112
|
+
def ChangeAccelerationIsFixedDZ(self,
|
|
113
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
114
|
+
context: grpc.ServicerContext,
|
|
115
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def add_AccelerationServicer_to_server(servicer: AccelerationServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.bearing;
|
|
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 Bearing
|
|
11
|
+
{
|
|
12
|
+
//Bearing condition methods
|
|
13
|
+
rpc CreateBearing(BearingCreationRequest) returns (BearingCreationResponse);
|
|
14
|
+
|
|
15
|
+
rpc ChangeBearingLocation(ChangeLocationRequest) returns(ChangeResponse);
|
|
16
|
+
|
|
17
|
+
rpc ChangeBearingRadialForce(ChangeQuantityRequest) returns (ChangeResponse);
|
|
18
|
+
rpc ChangeBearingThrustForce(ChangeQuantityRequest) returns (ChangeResponse);
|
|
19
|
+
rpc ChangeBearingAngle(ChangeQuantityRequest) returns (ChangeResponse);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//Bearing
|
|
23
|
+
message BearingCreationRequest{
|
|
24
|
+
ScopedCreationData creation_data = 1;
|
|
25
|
+
BearingProperties bearing_properties = 2;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message BearingCreationResponse{
|
|
29
|
+
CreationResponse condition_response = 1;
|
|
30
|
+
BearingDefinition condition_data = 2;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Bearing condition definitions
|
|
34
|
+
message BearingProperties {
|
|
35
|
+
Quantity radial_force = 1;
|
|
36
|
+
Quantity thrust_force = 2;
|
|
37
|
+
Quantity angle = 3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message BearingDefinition {
|
|
41
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
42
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
43
|
+
string label = 3;
|
|
44
|
+
repeated string locations = 4;
|
|
45
|
+
bool suppressed = 5;
|
|
46
|
+
BearingProperties bearing = 6;
|
|
47
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditions/bearing.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'\n/ansys/api/discovery/v0/conditions/bearing.proto\x12)ansys.api.discovery.v0.conditions.bearing\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb5\x01\n\x16\x42\x65\x61ringCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12X\n\x12\x62\x65\x61ring_properties\x18\x02 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.bearing.BearingProperties\"\xb5\x01\n\x17\x42\x65\x61ringCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12T\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.bearing.BearingDefinition\"\xb4\x01\n\x11\x42\x65\x61ringProperties\x12\x36\n\x0cradial_force\x18\x01 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x36\n\x0cthrust_force\x18\x02 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12/\n\x05\x61ngle\x18\x03 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\x8d\x02\n\x11\x42\x65\x61ringDefinition\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\x11\n\tlocations\x18\x04 \x03(\t\x12\x12\n\nsuppressed\x18\x05 \x01(\x08\x12M\n\x07\x62\x65\x61ring\x18\x06 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.bearing.BearingProperties2\xe5\x04\n\x07\x42\x65\x61ring\x12\x96\x01\n\rCreateBearing\x12\x41.ansys.api.discovery.v0.conditions.bearing.BearingCreationRequest\x1a\x42.ansys.api.discovery.v0.conditions.bearing.BearingCreationResponse\x12n\n\x15\x43hangeBearingLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12q\n\x18\x43hangeBearingRadialForce\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12q\n\x18\x43hangeBearingThrustForce\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeBearingAngle\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.bearing_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
|
+
_BEARINGCREATIONREQUEST._serialized_start=175
|
|
27
|
+
_BEARINGCREATIONREQUEST._serialized_end=356
|
|
28
|
+
_BEARINGCREATIONRESPONSE._serialized_start=359
|
|
29
|
+
_BEARINGCREATIONRESPONSE._serialized_end=540
|
|
30
|
+
_BEARINGPROPERTIES._serialized_start=543
|
|
31
|
+
_BEARINGPROPERTIES._serialized_end=723
|
|
32
|
+
_BEARINGDEFINITION._serialized_start=726
|
|
33
|
+
_BEARINGDEFINITION._serialized_end=995
|
|
34
|
+
_BEARING._serialized_start=998
|
|
35
|
+
_BEARING._serialized_end=1611
|
|
36
|
+
# @@protoc_insertion_point(module_scope)
|