ansys-api-discovery 0.6.2__py3-none-any.whl → 0.6.4__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.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/METADATA +13 -4
- ansys_api_discovery-0.6.4.dist-info/RECORD +200 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.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 -407
- ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -113
- ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -839
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -2746
- ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -854
- 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.2.dist-info/RECORD +0 -85
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.2.dist-info → ansys_api_discovery-0.6.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,431 @@
|
|
|
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 springpreload_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__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 SpringPreloadStub(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.CreateSpringPreloadLongitudinal = channel.unary_unary(
|
|
19
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/CreateSpringPreloadLongitudinal',
|
|
20
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadLongitudinalCreationRequest.SerializeToString,
|
|
21
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadCreationResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.CreateSpringPreloadTorsional = channel.unary_unary(
|
|
24
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/CreateSpringPreloadTorsional',
|
|
25
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadTorsionalCreationRequest.SerializeToString,
|
|
26
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadCreationResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ChangeSpringPreloadSide1Location = channel.unary_unary(
|
|
29
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadSide1Location',
|
|
30
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
31
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.ChangeSpringPreloadSide2Location = channel.unary_unary(
|
|
34
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadSide2Location',
|
|
35
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
36
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.ChangeSpringPreloadSpecification = channel.unary_unary(
|
|
39
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadSpecification',
|
|
40
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.ChangeSpringPreloadSpecificationRequest.SerializeToString,
|
|
41
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
self.ChangeSpringPreloadLongitudinalStiffness = channel.unary_unary(
|
|
44
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadLongitudinalStiffness',
|
|
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.ChangeSpringPreloadTorsionalStiffness = channel.unary_unary(
|
|
49
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadTorsionalStiffness',
|
|
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.ChangeSpringPreloadtype = channel.unary_unary(
|
|
54
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadtype',
|
|
55
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.ChangeSpringPreloadTypeRequest.SerializeToString,
|
|
56
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
57
|
+
)
|
|
58
|
+
self.ChangeSpringPreloadForce = channel.unary_unary(
|
|
59
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadForce',
|
|
60
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
61
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
62
|
+
)
|
|
63
|
+
self.ChangeSpringPreloadTorque = channel.unary_unary(
|
|
64
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadTorque',
|
|
65
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
66
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
67
|
+
)
|
|
68
|
+
self.ChangeSpringPreloadLength = channel.unary_unary(
|
|
69
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadLength',
|
|
70
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
71
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
72
|
+
)
|
|
73
|
+
self.ChangeSpringPreloadRotation = channel.unary_unary(
|
|
74
|
+
'/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadRotation',
|
|
75
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
76
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class SpringPreloadServicer(object):
|
|
81
|
+
"""Missing associated documentation comment in .proto file."""
|
|
82
|
+
|
|
83
|
+
def CreateSpringPreloadLongitudinal(self, request, context):
|
|
84
|
+
"""spring preload condition methods
|
|
85
|
+
"""
|
|
86
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
87
|
+
context.set_details('Method not implemented!')
|
|
88
|
+
raise NotImplementedError('Method not implemented!')
|
|
89
|
+
|
|
90
|
+
def CreateSpringPreloadTorsional(self, request, context):
|
|
91
|
+
"""Missing associated documentation comment in .proto file."""
|
|
92
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
93
|
+
context.set_details('Method not implemented!')
|
|
94
|
+
raise NotImplementedError('Method not implemented!')
|
|
95
|
+
|
|
96
|
+
def ChangeSpringPreloadSide1Location(self, request, context):
|
|
97
|
+
"""Missing associated documentation comment in .proto file."""
|
|
98
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
99
|
+
context.set_details('Method not implemented!')
|
|
100
|
+
raise NotImplementedError('Method not implemented!')
|
|
101
|
+
|
|
102
|
+
def ChangeSpringPreloadSide2Location(self, request, context):
|
|
103
|
+
"""Missing associated documentation comment in .proto file."""
|
|
104
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
105
|
+
context.set_details('Method not implemented!')
|
|
106
|
+
raise NotImplementedError('Method not implemented!')
|
|
107
|
+
|
|
108
|
+
def ChangeSpringPreloadSpecification(self, request, context):
|
|
109
|
+
"""Missing associated documentation comment in .proto file."""
|
|
110
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
111
|
+
context.set_details('Method not implemented!')
|
|
112
|
+
raise NotImplementedError('Method not implemented!')
|
|
113
|
+
|
|
114
|
+
def ChangeSpringPreloadLongitudinalStiffness(self, request, context):
|
|
115
|
+
"""Missing associated documentation comment in .proto file."""
|
|
116
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
117
|
+
context.set_details('Method not implemented!')
|
|
118
|
+
raise NotImplementedError('Method not implemented!')
|
|
119
|
+
|
|
120
|
+
def ChangeSpringPreloadTorsionalStiffness(self, request, context):
|
|
121
|
+
"""Missing associated documentation comment in .proto file."""
|
|
122
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
123
|
+
context.set_details('Method not implemented!')
|
|
124
|
+
raise NotImplementedError('Method not implemented!')
|
|
125
|
+
|
|
126
|
+
def ChangeSpringPreloadtype(self, request, context):
|
|
127
|
+
"""Missing associated documentation comment in .proto file."""
|
|
128
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
129
|
+
context.set_details('Method not implemented!')
|
|
130
|
+
raise NotImplementedError('Method not implemented!')
|
|
131
|
+
|
|
132
|
+
def ChangeSpringPreloadForce(self, request, context):
|
|
133
|
+
"""Missing associated documentation comment in .proto file."""
|
|
134
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
135
|
+
context.set_details('Method not implemented!')
|
|
136
|
+
raise NotImplementedError('Method not implemented!')
|
|
137
|
+
|
|
138
|
+
def ChangeSpringPreloadTorque(self, request, context):
|
|
139
|
+
"""Missing associated documentation comment in .proto file."""
|
|
140
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
141
|
+
context.set_details('Method not implemented!')
|
|
142
|
+
raise NotImplementedError('Method not implemented!')
|
|
143
|
+
|
|
144
|
+
def ChangeSpringPreloadLength(self, request, context):
|
|
145
|
+
"""Missing associated documentation comment in .proto file."""
|
|
146
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
147
|
+
context.set_details('Method not implemented!')
|
|
148
|
+
raise NotImplementedError('Method not implemented!')
|
|
149
|
+
|
|
150
|
+
def ChangeSpringPreloadRotation(self, request, context):
|
|
151
|
+
"""Missing associated documentation comment in .proto file."""
|
|
152
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
153
|
+
context.set_details('Method not implemented!')
|
|
154
|
+
raise NotImplementedError('Method not implemented!')
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def add_SpringPreloadServicer_to_server(servicer, server):
|
|
158
|
+
rpc_method_handlers = {
|
|
159
|
+
'CreateSpringPreloadLongitudinal': grpc.unary_unary_rpc_method_handler(
|
|
160
|
+
servicer.CreateSpringPreloadLongitudinal,
|
|
161
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadLongitudinalCreationRequest.FromString,
|
|
162
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadCreationResponse.SerializeToString,
|
|
163
|
+
),
|
|
164
|
+
'CreateSpringPreloadTorsional': grpc.unary_unary_rpc_method_handler(
|
|
165
|
+
servicer.CreateSpringPreloadTorsional,
|
|
166
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadTorsionalCreationRequest.FromString,
|
|
167
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadCreationResponse.SerializeToString,
|
|
168
|
+
),
|
|
169
|
+
'ChangeSpringPreloadSide1Location': grpc.unary_unary_rpc_method_handler(
|
|
170
|
+
servicer.ChangeSpringPreloadSide1Location,
|
|
171
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.FromString,
|
|
172
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
173
|
+
),
|
|
174
|
+
'ChangeSpringPreloadSide2Location': grpc.unary_unary_rpc_method_handler(
|
|
175
|
+
servicer.ChangeSpringPreloadSide2Location,
|
|
176
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
|
|
177
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
178
|
+
),
|
|
179
|
+
'ChangeSpringPreloadSpecification': grpc.unary_unary_rpc_method_handler(
|
|
180
|
+
servicer.ChangeSpringPreloadSpecification,
|
|
181
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.ChangeSpringPreloadSpecificationRequest.FromString,
|
|
182
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
183
|
+
),
|
|
184
|
+
'ChangeSpringPreloadLongitudinalStiffness': grpc.unary_unary_rpc_method_handler(
|
|
185
|
+
servicer.ChangeSpringPreloadLongitudinalStiffness,
|
|
186
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
187
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
188
|
+
),
|
|
189
|
+
'ChangeSpringPreloadTorsionalStiffness': grpc.unary_unary_rpc_method_handler(
|
|
190
|
+
servicer.ChangeSpringPreloadTorsionalStiffness,
|
|
191
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
192
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
193
|
+
),
|
|
194
|
+
'ChangeSpringPreloadtype': grpc.unary_unary_rpc_method_handler(
|
|
195
|
+
servicer.ChangeSpringPreloadtype,
|
|
196
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.ChangeSpringPreloadTypeRequest.FromString,
|
|
197
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
198
|
+
),
|
|
199
|
+
'ChangeSpringPreloadForce': grpc.unary_unary_rpc_method_handler(
|
|
200
|
+
servicer.ChangeSpringPreloadForce,
|
|
201
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
202
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
203
|
+
),
|
|
204
|
+
'ChangeSpringPreloadTorque': grpc.unary_unary_rpc_method_handler(
|
|
205
|
+
servicer.ChangeSpringPreloadTorque,
|
|
206
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
207
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
208
|
+
),
|
|
209
|
+
'ChangeSpringPreloadLength': grpc.unary_unary_rpc_method_handler(
|
|
210
|
+
servicer.ChangeSpringPreloadLength,
|
|
211
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
212
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
213
|
+
),
|
|
214
|
+
'ChangeSpringPreloadRotation': grpc.unary_unary_rpc_method_handler(
|
|
215
|
+
servicer.ChangeSpringPreloadRotation,
|
|
216
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
217
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
218
|
+
),
|
|
219
|
+
}
|
|
220
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
221
|
+
'ansys.api.discovery.v0.conditions.springpreload.SpringPreload', rpc_method_handlers)
|
|
222
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
# This class is part of an EXPERIMENTAL API.
|
|
226
|
+
class SpringPreload(object):
|
|
227
|
+
"""Missing associated documentation comment in .proto file."""
|
|
228
|
+
|
|
229
|
+
@staticmethod
|
|
230
|
+
def CreateSpringPreloadLongitudinal(request,
|
|
231
|
+
target,
|
|
232
|
+
options=(),
|
|
233
|
+
channel_credentials=None,
|
|
234
|
+
call_credentials=None,
|
|
235
|
+
insecure=False,
|
|
236
|
+
compression=None,
|
|
237
|
+
wait_for_ready=None,
|
|
238
|
+
timeout=None,
|
|
239
|
+
metadata=None):
|
|
240
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/CreateSpringPreloadLongitudinal',
|
|
241
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadLongitudinalCreationRequest.SerializeToString,
|
|
242
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadCreationResponse.FromString,
|
|
243
|
+
options, channel_credentials,
|
|
244
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
245
|
+
|
|
246
|
+
@staticmethod
|
|
247
|
+
def CreateSpringPreloadTorsional(request,
|
|
248
|
+
target,
|
|
249
|
+
options=(),
|
|
250
|
+
channel_credentials=None,
|
|
251
|
+
call_credentials=None,
|
|
252
|
+
insecure=False,
|
|
253
|
+
compression=None,
|
|
254
|
+
wait_for_ready=None,
|
|
255
|
+
timeout=None,
|
|
256
|
+
metadata=None):
|
|
257
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/CreateSpringPreloadTorsional',
|
|
258
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadTorsionalCreationRequest.SerializeToString,
|
|
259
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.SpringPreloadCreationResponse.FromString,
|
|
260
|
+
options, channel_credentials,
|
|
261
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
262
|
+
|
|
263
|
+
@staticmethod
|
|
264
|
+
def ChangeSpringPreloadSide1Location(request,
|
|
265
|
+
target,
|
|
266
|
+
options=(),
|
|
267
|
+
channel_credentials=None,
|
|
268
|
+
call_credentials=None,
|
|
269
|
+
insecure=False,
|
|
270
|
+
compression=None,
|
|
271
|
+
wait_for_ready=None,
|
|
272
|
+
timeout=None,
|
|
273
|
+
metadata=None):
|
|
274
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadSide1Location',
|
|
275
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationExtendedRequest.SerializeToString,
|
|
276
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
277
|
+
options, channel_credentials,
|
|
278
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
279
|
+
|
|
280
|
+
@staticmethod
|
|
281
|
+
def ChangeSpringPreloadSide2Location(request,
|
|
282
|
+
target,
|
|
283
|
+
options=(),
|
|
284
|
+
channel_credentials=None,
|
|
285
|
+
call_credentials=None,
|
|
286
|
+
insecure=False,
|
|
287
|
+
compression=None,
|
|
288
|
+
wait_for_ready=None,
|
|
289
|
+
timeout=None,
|
|
290
|
+
metadata=None):
|
|
291
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadSide2Location',
|
|
292
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
|
|
293
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
294
|
+
options, channel_credentials,
|
|
295
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
296
|
+
|
|
297
|
+
@staticmethod
|
|
298
|
+
def ChangeSpringPreloadSpecification(request,
|
|
299
|
+
target,
|
|
300
|
+
options=(),
|
|
301
|
+
channel_credentials=None,
|
|
302
|
+
call_credentials=None,
|
|
303
|
+
insecure=False,
|
|
304
|
+
compression=None,
|
|
305
|
+
wait_for_ready=None,
|
|
306
|
+
timeout=None,
|
|
307
|
+
metadata=None):
|
|
308
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadSpecification',
|
|
309
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.ChangeSpringPreloadSpecificationRequest.SerializeToString,
|
|
310
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
311
|
+
options, channel_credentials,
|
|
312
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
313
|
+
|
|
314
|
+
@staticmethod
|
|
315
|
+
def ChangeSpringPreloadLongitudinalStiffness(request,
|
|
316
|
+
target,
|
|
317
|
+
options=(),
|
|
318
|
+
channel_credentials=None,
|
|
319
|
+
call_credentials=None,
|
|
320
|
+
insecure=False,
|
|
321
|
+
compression=None,
|
|
322
|
+
wait_for_ready=None,
|
|
323
|
+
timeout=None,
|
|
324
|
+
metadata=None):
|
|
325
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadLongitudinalStiffness',
|
|
326
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
327
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
328
|
+
options, channel_credentials,
|
|
329
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
330
|
+
|
|
331
|
+
@staticmethod
|
|
332
|
+
def ChangeSpringPreloadTorsionalStiffness(request,
|
|
333
|
+
target,
|
|
334
|
+
options=(),
|
|
335
|
+
channel_credentials=None,
|
|
336
|
+
call_credentials=None,
|
|
337
|
+
insecure=False,
|
|
338
|
+
compression=None,
|
|
339
|
+
wait_for_ready=None,
|
|
340
|
+
timeout=None,
|
|
341
|
+
metadata=None):
|
|
342
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadTorsionalStiffness',
|
|
343
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
344
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
345
|
+
options, channel_credentials,
|
|
346
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
347
|
+
|
|
348
|
+
@staticmethod
|
|
349
|
+
def ChangeSpringPreloadtype(request,
|
|
350
|
+
target,
|
|
351
|
+
options=(),
|
|
352
|
+
channel_credentials=None,
|
|
353
|
+
call_credentials=None,
|
|
354
|
+
insecure=False,
|
|
355
|
+
compression=None,
|
|
356
|
+
wait_for_ready=None,
|
|
357
|
+
timeout=None,
|
|
358
|
+
metadata=None):
|
|
359
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadtype',
|
|
360
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_springpreload__pb2.ChangeSpringPreloadTypeRequest.SerializeToString,
|
|
361
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
362
|
+
options, channel_credentials,
|
|
363
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
364
|
+
|
|
365
|
+
@staticmethod
|
|
366
|
+
def ChangeSpringPreloadForce(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, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadForce',
|
|
377
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
378
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
379
|
+
options, channel_credentials,
|
|
380
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
381
|
+
|
|
382
|
+
@staticmethod
|
|
383
|
+
def ChangeSpringPreloadTorque(request,
|
|
384
|
+
target,
|
|
385
|
+
options=(),
|
|
386
|
+
channel_credentials=None,
|
|
387
|
+
call_credentials=None,
|
|
388
|
+
insecure=False,
|
|
389
|
+
compression=None,
|
|
390
|
+
wait_for_ready=None,
|
|
391
|
+
timeout=None,
|
|
392
|
+
metadata=None):
|
|
393
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadTorque',
|
|
394
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
395
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
396
|
+
options, channel_credentials,
|
|
397
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
398
|
+
|
|
399
|
+
@staticmethod
|
|
400
|
+
def ChangeSpringPreloadLength(request,
|
|
401
|
+
target,
|
|
402
|
+
options=(),
|
|
403
|
+
channel_credentials=None,
|
|
404
|
+
call_credentials=None,
|
|
405
|
+
insecure=False,
|
|
406
|
+
compression=None,
|
|
407
|
+
wait_for_ready=None,
|
|
408
|
+
timeout=None,
|
|
409
|
+
metadata=None):
|
|
410
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadLength',
|
|
411
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
412
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
413
|
+
options, channel_credentials,
|
|
414
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
415
|
+
|
|
416
|
+
@staticmethod
|
|
417
|
+
def ChangeSpringPreloadRotation(request,
|
|
418
|
+
target,
|
|
419
|
+
options=(),
|
|
420
|
+
channel_credentials=None,
|
|
421
|
+
call_credentials=None,
|
|
422
|
+
insecure=False,
|
|
423
|
+
compression=None,
|
|
424
|
+
wait_for_ready=None,
|
|
425
|
+
timeout=None,
|
|
426
|
+
metadata=None):
|
|
427
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.springpreload.SpringPreload/ChangeSpringPreloadRotation',
|
|
428
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
429
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
430
|
+
options, channel_credentials,
|
|
431
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,138 @@
|
|
|
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.springpreload_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class SpringPreloadStub:
|
|
11
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
12
|
+
CreateSpringPreloadLongitudinal: grpc.UnaryUnaryMultiCallable[
|
|
13
|
+
ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadLongitudinalCreationRequest,
|
|
14
|
+
ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadCreationResponse] = ...
|
|
15
|
+
"""spring preload condition methods"""
|
|
16
|
+
|
|
17
|
+
CreateSpringPreloadTorsional: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadTorsionalCreationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadCreationResponse] = ...
|
|
20
|
+
|
|
21
|
+
ChangeSpringPreloadSide1Location: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
23
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
24
|
+
|
|
25
|
+
ChangeSpringPreloadSide2Location: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
27
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeSpringPreloadSpecification: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.conditions.springpreload_pb2.ChangeSpringPreloadSpecificationRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeSpringPreloadLongitudinalStiffness: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
36
|
+
|
|
37
|
+
ChangeSpringPreloadTorsionalStiffness: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
40
|
+
|
|
41
|
+
ChangeSpringPreloadtype: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
ansys.api.discovery.v0.conditions.springpreload_pb2.ChangeSpringPreloadTypeRequest,
|
|
43
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
44
|
+
|
|
45
|
+
ChangeSpringPreloadForce: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
47
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
48
|
+
|
|
49
|
+
ChangeSpringPreloadTorque: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
51
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
52
|
+
|
|
53
|
+
ChangeSpringPreloadLength: grpc.UnaryUnaryMultiCallable[
|
|
54
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
55
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
56
|
+
|
|
57
|
+
ChangeSpringPreloadRotation: grpc.UnaryUnaryMultiCallable[
|
|
58
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
59
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class SpringPreloadServicer(metaclass=abc.ABCMeta):
|
|
63
|
+
@abc.abstractmethod
|
|
64
|
+
def CreateSpringPreloadLongitudinal(self,
|
|
65
|
+
request: ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadLongitudinalCreationRequest,
|
|
66
|
+
context: grpc.ServicerContext,
|
|
67
|
+
) -> ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadCreationResponse:
|
|
68
|
+
"""spring preload condition methods"""
|
|
69
|
+
pass
|
|
70
|
+
|
|
71
|
+
@abc.abstractmethod
|
|
72
|
+
def CreateSpringPreloadTorsional(self,
|
|
73
|
+
request: ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadTorsionalCreationRequest,
|
|
74
|
+
context: grpc.ServicerContext,
|
|
75
|
+
) -> ansys.api.discovery.v0.conditions.springpreload_pb2.SpringPreloadCreationResponse: ...
|
|
76
|
+
|
|
77
|
+
@abc.abstractmethod
|
|
78
|
+
def ChangeSpringPreloadSide1Location(self,
|
|
79
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationExtendedRequest,
|
|
80
|
+
context: grpc.ServicerContext,
|
|
81
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
82
|
+
|
|
83
|
+
@abc.abstractmethod
|
|
84
|
+
def ChangeSpringPreloadSide2Location(self,
|
|
85
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
86
|
+
context: grpc.ServicerContext,
|
|
87
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
88
|
+
|
|
89
|
+
@abc.abstractmethod
|
|
90
|
+
def ChangeSpringPreloadSpecification(self,
|
|
91
|
+
request: ansys.api.discovery.v0.conditions.springpreload_pb2.ChangeSpringPreloadSpecificationRequest,
|
|
92
|
+
context: grpc.ServicerContext,
|
|
93
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
94
|
+
|
|
95
|
+
@abc.abstractmethod
|
|
96
|
+
def ChangeSpringPreloadLongitudinalStiffness(self,
|
|
97
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
98
|
+
context: grpc.ServicerContext,
|
|
99
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
100
|
+
|
|
101
|
+
@abc.abstractmethod
|
|
102
|
+
def ChangeSpringPreloadTorsionalStiffness(self,
|
|
103
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
104
|
+
context: grpc.ServicerContext,
|
|
105
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
106
|
+
|
|
107
|
+
@abc.abstractmethod
|
|
108
|
+
def ChangeSpringPreloadtype(self,
|
|
109
|
+
request: ansys.api.discovery.v0.conditions.springpreload_pb2.ChangeSpringPreloadTypeRequest,
|
|
110
|
+
context: grpc.ServicerContext,
|
|
111
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
112
|
+
|
|
113
|
+
@abc.abstractmethod
|
|
114
|
+
def ChangeSpringPreloadForce(self,
|
|
115
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
116
|
+
context: grpc.ServicerContext,
|
|
117
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
118
|
+
|
|
119
|
+
@abc.abstractmethod
|
|
120
|
+
def ChangeSpringPreloadTorque(self,
|
|
121
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
122
|
+
context: grpc.ServicerContext,
|
|
123
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
124
|
+
|
|
125
|
+
@abc.abstractmethod
|
|
126
|
+
def ChangeSpringPreloadLength(self,
|
|
127
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
128
|
+
context: grpc.ServicerContext,
|
|
129
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
130
|
+
|
|
131
|
+
@abc.abstractmethod
|
|
132
|
+
def ChangeSpringPreloadRotation(self,
|
|
133
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
134
|
+
context: grpc.ServicerContext,
|
|
135
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
def add_SpringPreloadServicer_to_server(servicer: SpringPreloadServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.support;
|
|
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 Support
|
|
11
|
+
{
|
|
12
|
+
//Support condition methods
|
|
13
|
+
rpc CreateSupportFixed(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
14
|
+
rpc CreateSupportHinged(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
15
|
+
rpc CreateSupportSliding(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
16
|
+
rpc CreateSupportBall(SupportGeneralCreationRequest) returns (SupportGeneralCreationResponse);
|
|
17
|
+
rpc CreateSupportDisplaced(SupportDisplacedCreationRequest) returns (SupportDisplacedCreationResponse);
|
|
18
|
+
|
|
19
|
+
rpc ChangeSupportLocation(ChangeLocationRequest) returns(ChangeResponse);
|
|
20
|
+
|
|
21
|
+
rpc ChangeSupportSpecification(ChangeSupportSpecificationRequest) returns(ChangeResponse);
|
|
22
|
+
|
|
23
|
+
rpc ChangeSupportDisplacedOrientation(ChangeDirectionRequest) returns(ChangeResponse);
|
|
24
|
+
|
|
25
|
+
rpc ChangeSupportDisplacedDX(ChangeQuantityRequest) returns (ChangeResponse);
|
|
26
|
+
rpc ChangeSupportDisplacedDY(ChangeQuantityRequest) returns (ChangeResponse);
|
|
27
|
+
rpc ChangeSupportDisplacedDZ(ChangeQuantityRequest) returns (ChangeResponse);
|
|
28
|
+
rpc ChangeSupportDisplacedRX(ChangeQuantityRequest) returns (ChangeResponse);
|
|
29
|
+
rpc ChangeSupportDisplacedRY(ChangeQuantityRequest) returns (ChangeResponse);
|
|
30
|
+
rpc ChangeSupportDisplacedRZ(ChangeQuantityRequest) returns (ChangeResponse);
|
|
31
|
+
|
|
32
|
+
rpc ChangeSupportDisplacedIsFixedDX(ChangeBooleanRequest) returns (ChangeResponse);
|
|
33
|
+
rpc ChangeSupportDisplacedIsFixedDY(ChangeBooleanRequest) returns (ChangeResponse);
|
|
34
|
+
rpc ChangeSupportDisplacedIsFixedDZ(ChangeBooleanRequest) returns (ChangeResponse);
|
|
35
|
+
rpc ChangeSupportDisplacedIsFixedRX(ChangeBooleanRequest) returns (ChangeResponse);
|
|
36
|
+
rpc ChangeSupportDisplacedIsFixedRY(ChangeBooleanRequest) returns (ChangeResponse);
|
|
37
|
+
rpc ChangeSupportDisplacedIsFixedRZ(ChangeBooleanRequest) returns (ChangeResponse);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
//Support
|
|
41
|
+
message ChangeSupportSpecificationRequest{
|
|
42
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
|
|
43
|
+
SupportSpecification support_specification = 2;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
message SupportGeneralCreationRequest{
|
|
47
|
+
ScopedCreationData creation_data = 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message SupportGeneralCreationResponse{
|
|
51
|
+
CreationResponse condition_response = 1;
|
|
52
|
+
SupportGeneralDefinition condition_data = 2;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message SupportDisplacedCreationRequest{
|
|
56
|
+
ScopedCreationData creation_data = 1;
|
|
57
|
+
SupportDisplacedProperties support_displaced = 2;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
message SupportDisplacedCreationResponse{
|
|
61
|
+
CreationResponse condition_response = 1;
|
|
62
|
+
SupportDisplacedDefinition condition_data = 2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Support enumerations
|
|
66
|
+
|
|
67
|
+
enum SupportSpecification {
|
|
68
|
+
FIXED = 0;
|
|
69
|
+
SLIDING = 1;
|
|
70
|
+
HINGED = 2;
|
|
71
|
+
BALL = 3;
|
|
72
|
+
DISPLACED = 4;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Support condition definitions
|
|
76
|
+
|
|
77
|
+
message SupportGeneralDefinition {
|
|
78
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
79
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
80
|
+
string label = 3;
|
|
81
|
+
repeated string locations = 4;
|
|
82
|
+
bool suppressed = 5;
|
|
83
|
+
SupportSpecification support_type = 6;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
message SupportDisplacedDefinition {
|
|
87
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
88
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
89
|
+
string label = 3;
|
|
90
|
+
repeated string locations = 4;
|
|
91
|
+
bool suppressed = 5;
|
|
92
|
+
SupportSpecification support_type = 6;
|
|
93
|
+
TensorOfOptionalQuantities displacement = 7;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
message SupportDisplacedProperties {
|
|
97
|
+
TensorOfOptionalQuantities displacement = 1;
|
|
98
|
+
}
|