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,257 @@
|
|
|
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.force_pb2
|
|
7
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
8
|
+
import grpc
|
|
9
|
+
|
|
10
|
+
class ForceStub:
|
|
11
|
+
"""Force condition methods"""
|
|
12
|
+
def __init__(self, channel: grpc.Channel) -> None: ...
|
|
13
|
+
CreateForceDistributedTotal: grpc.UnaryUnaryMultiCallable[
|
|
14
|
+
ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedTotalCreationRequest,
|
|
15
|
+
ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedTotalCreationResponse] = ...
|
|
16
|
+
|
|
17
|
+
CreateForceDistributedArea: grpc.UnaryUnaryMultiCallable[
|
|
18
|
+
ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedAreaCreationRequest,
|
|
19
|
+
ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedAreaCreationResponse] = ...
|
|
20
|
+
|
|
21
|
+
CreateForceTorque: grpc.UnaryUnaryMultiCallable[
|
|
22
|
+
ansys.api.discovery.v0.conditions.force_pb2.ForceTorqueCreationRequest,
|
|
23
|
+
ansys.api.discovery.v0.conditions.force_pb2.ForceTorqueCreationResponse] = ...
|
|
24
|
+
|
|
25
|
+
ChangeForceLocation: grpc.UnaryUnaryMultiCallable[
|
|
26
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
27
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
28
|
+
|
|
29
|
+
ChangeForceSpecification: grpc.UnaryUnaryMultiCallable[
|
|
30
|
+
ansys.api.discovery.v0.conditions.force_pb2.ChangeForceSpecificationRequest,
|
|
31
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
32
|
+
|
|
33
|
+
ChangeForceMagnitudeDefinition: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
ansys.api.discovery.v0.conditions.force_pb2.ChangeForceMagnitudeDefinitionRequest,
|
|
35
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
36
|
+
|
|
37
|
+
ChangeForceByReversingDirection: grpc.UnaryUnaryMultiCallable[
|
|
38
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeCommandRequest,
|
|
39
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
40
|
+
|
|
41
|
+
ChangeForceDefinedByComponentEnabled: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
43
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
44
|
+
|
|
45
|
+
ChangeForceDistributedTotalMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
46
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
47
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
48
|
+
|
|
49
|
+
ChangeForceDistributedTotalX: grpc.UnaryUnaryMultiCallable[
|
|
50
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
51
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
52
|
+
|
|
53
|
+
ChangeForceDistributedTotalY: grpc.UnaryUnaryMultiCallable[
|
|
54
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
55
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
56
|
+
|
|
57
|
+
ChangeForceDistributedTotalZ: grpc.UnaryUnaryMultiCallable[
|
|
58
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
59
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
60
|
+
|
|
61
|
+
ChangeForceDistributedAreaMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
62
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
63
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
64
|
+
|
|
65
|
+
ChangeForceDistributedAreaX: grpc.UnaryUnaryMultiCallable[
|
|
66
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
67
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
68
|
+
|
|
69
|
+
ChangeForceDistributedAreaY: grpc.UnaryUnaryMultiCallable[
|
|
70
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
71
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
72
|
+
|
|
73
|
+
ChangeForceDistributedAreaZ: grpc.UnaryUnaryMultiCallable[
|
|
74
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
75
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
76
|
+
|
|
77
|
+
ChangeForceUseRemoteForceEnabled: grpc.UnaryUnaryMultiCallable[
|
|
78
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
79
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
80
|
+
|
|
81
|
+
ChangeForceDistributedRemotePositionX: grpc.UnaryUnaryMultiCallable[
|
|
82
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
83
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
84
|
+
|
|
85
|
+
ChangeForceDistributedRemotePositionY: grpc.UnaryUnaryMultiCallable[
|
|
86
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
87
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
88
|
+
|
|
89
|
+
ChangeForceDistributedRemotePositionZ: grpc.UnaryUnaryMultiCallable[
|
|
90
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
91
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
92
|
+
|
|
93
|
+
ChangeForceTorqueMagnitude: grpc.UnaryUnaryMultiCallable[
|
|
94
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
95
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
96
|
+
|
|
97
|
+
ChangeForceTorqueX: grpc.UnaryUnaryMultiCallable[
|
|
98
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
99
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
100
|
+
|
|
101
|
+
ChangeForceTorqueY: grpc.UnaryUnaryMultiCallable[
|
|
102
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
103
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
104
|
+
|
|
105
|
+
ChangeForceTorqueZ: grpc.UnaryUnaryMultiCallable[
|
|
106
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
107
|
+
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class ForceServicer(metaclass=abc.ABCMeta):
|
|
111
|
+
"""Force condition methods"""
|
|
112
|
+
@abc.abstractmethod
|
|
113
|
+
def CreateForceDistributedTotal(self,
|
|
114
|
+
request: ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedTotalCreationRequest,
|
|
115
|
+
context: grpc.ServicerContext,
|
|
116
|
+
) -> ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedTotalCreationResponse: ...
|
|
117
|
+
|
|
118
|
+
@abc.abstractmethod
|
|
119
|
+
def CreateForceDistributedArea(self,
|
|
120
|
+
request: ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedAreaCreationRequest,
|
|
121
|
+
context: grpc.ServicerContext,
|
|
122
|
+
) -> ansys.api.discovery.v0.conditions.force_pb2.ForceDistributedAreaCreationResponse: ...
|
|
123
|
+
|
|
124
|
+
@abc.abstractmethod
|
|
125
|
+
def CreateForceTorque(self,
|
|
126
|
+
request: ansys.api.discovery.v0.conditions.force_pb2.ForceTorqueCreationRequest,
|
|
127
|
+
context: grpc.ServicerContext,
|
|
128
|
+
) -> ansys.api.discovery.v0.conditions.force_pb2.ForceTorqueCreationResponse: ...
|
|
129
|
+
|
|
130
|
+
@abc.abstractmethod
|
|
131
|
+
def ChangeForceLocation(self,
|
|
132
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
|
|
133
|
+
context: grpc.ServicerContext,
|
|
134
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
135
|
+
|
|
136
|
+
@abc.abstractmethod
|
|
137
|
+
def ChangeForceSpecification(self,
|
|
138
|
+
request: ansys.api.discovery.v0.conditions.force_pb2.ChangeForceSpecificationRequest,
|
|
139
|
+
context: grpc.ServicerContext,
|
|
140
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
141
|
+
|
|
142
|
+
@abc.abstractmethod
|
|
143
|
+
def ChangeForceMagnitudeDefinition(self,
|
|
144
|
+
request: ansys.api.discovery.v0.conditions.force_pb2.ChangeForceMagnitudeDefinitionRequest,
|
|
145
|
+
context: grpc.ServicerContext,
|
|
146
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
147
|
+
|
|
148
|
+
@abc.abstractmethod
|
|
149
|
+
def ChangeForceByReversingDirection(self,
|
|
150
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeCommandRequest,
|
|
151
|
+
context: grpc.ServicerContext,
|
|
152
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
153
|
+
|
|
154
|
+
@abc.abstractmethod
|
|
155
|
+
def ChangeForceDefinedByComponentEnabled(self,
|
|
156
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
157
|
+
context: grpc.ServicerContext,
|
|
158
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
159
|
+
|
|
160
|
+
@abc.abstractmethod
|
|
161
|
+
def ChangeForceDistributedTotalMagnitude(self,
|
|
162
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
163
|
+
context: grpc.ServicerContext,
|
|
164
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
165
|
+
|
|
166
|
+
@abc.abstractmethod
|
|
167
|
+
def ChangeForceDistributedTotalX(self,
|
|
168
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
169
|
+
context: grpc.ServicerContext,
|
|
170
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
171
|
+
|
|
172
|
+
@abc.abstractmethod
|
|
173
|
+
def ChangeForceDistributedTotalY(self,
|
|
174
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
175
|
+
context: grpc.ServicerContext,
|
|
176
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
177
|
+
|
|
178
|
+
@abc.abstractmethod
|
|
179
|
+
def ChangeForceDistributedTotalZ(self,
|
|
180
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
181
|
+
context: grpc.ServicerContext,
|
|
182
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
183
|
+
|
|
184
|
+
@abc.abstractmethod
|
|
185
|
+
def ChangeForceDistributedAreaMagnitude(self,
|
|
186
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
187
|
+
context: grpc.ServicerContext,
|
|
188
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
189
|
+
|
|
190
|
+
@abc.abstractmethod
|
|
191
|
+
def ChangeForceDistributedAreaX(self,
|
|
192
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
193
|
+
context: grpc.ServicerContext,
|
|
194
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
195
|
+
|
|
196
|
+
@abc.abstractmethod
|
|
197
|
+
def ChangeForceDistributedAreaY(self,
|
|
198
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
199
|
+
context: grpc.ServicerContext,
|
|
200
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
201
|
+
|
|
202
|
+
@abc.abstractmethod
|
|
203
|
+
def ChangeForceDistributedAreaZ(self,
|
|
204
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
205
|
+
context: grpc.ServicerContext,
|
|
206
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
207
|
+
|
|
208
|
+
@abc.abstractmethod
|
|
209
|
+
def ChangeForceUseRemoteForceEnabled(self,
|
|
210
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
|
|
211
|
+
context: grpc.ServicerContext,
|
|
212
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
213
|
+
|
|
214
|
+
@abc.abstractmethod
|
|
215
|
+
def ChangeForceDistributedRemotePositionX(self,
|
|
216
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
217
|
+
context: grpc.ServicerContext,
|
|
218
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
219
|
+
|
|
220
|
+
@abc.abstractmethod
|
|
221
|
+
def ChangeForceDistributedRemotePositionY(self,
|
|
222
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
223
|
+
context: grpc.ServicerContext,
|
|
224
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
225
|
+
|
|
226
|
+
@abc.abstractmethod
|
|
227
|
+
def ChangeForceDistributedRemotePositionZ(self,
|
|
228
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
229
|
+
context: grpc.ServicerContext,
|
|
230
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
231
|
+
|
|
232
|
+
@abc.abstractmethod
|
|
233
|
+
def ChangeForceTorqueMagnitude(self,
|
|
234
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
235
|
+
context: grpc.ServicerContext,
|
|
236
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
237
|
+
|
|
238
|
+
@abc.abstractmethod
|
|
239
|
+
def ChangeForceTorqueX(self,
|
|
240
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
241
|
+
context: grpc.ServicerContext,
|
|
242
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
243
|
+
|
|
244
|
+
@abc.abstractmethod
|
|
245
|
+
def ChangeForceTorqueY(self,
|
|
246
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
247
|
+
context: grpc.ServicerContext,
|
|
248
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
249
|
+
|
|
250
|
+
@abc.abstractmethod
|
|
251
|
+
def ChangeForceTorqueZ(self,
|
|
252
|
+
request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
253
|
+
context: grpc.ServicerContext,
|
|
254
|
+
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def add_ForceServicer_to_server(servicer: ForceServicer, server: grpc.Server) -> None: ...
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ansys.api.discovery.v0.conditions.gravity;
|
|
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 Gravity
|
|
11
|
+
{
|
|
12
|
+
//Gravity condition methods
|
|
13
|
+
//No create for gravity, it's done automatically, and always applied to all bodies
|
|
14
|
+
rpc ChangeGravityOrientation(ChangeDirectionRequest) returns(ChangeResponse);
|
|
15
|
+
|
|
16
|
+
rpc ChangeGravityDX(ChangeQuantityRequest) returns (ChangeResponse);
|
|
17
|
+
rpc ChangeGravityDY(ChangeQuantityRequest) returns (ChangeResponse);
|
|
18
|
+
rpc ChangeGravityDZ(ChangeQuantityRequest) returns (ChangeResponse);
|
|
19
|
+
rpc ChangeGravityTranslationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
|
|
20
|
+
|
|
21
|
+
rpc ChangeGravityUseBuoyancyEnabled(ChangeBooleanRequest) returns (ChangeResponse);
|
|
22
|
+
rpc ChangeGravityIncludeSelfWeightEnabled(ChangeBooleanRequest) returns (ChangeResponse);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Gravity condition definitions
|
|
26
|
+
message GravityProperties {
|
|
27
|
+
VectorOfOptionalQuantities acceleration = 1;
|
|
28
|
+
bool include_buoyancy = 2;
|
|
29
|
+
bool include_self_weight = 3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message GravityDefinition {
|
|
33
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
|
|
34
|
+
ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
|
|
35
|
+
string label = 3;
|
|
36
|
+
repeated string locations = 4;
|
|
37
|
+
bool suppressed = 5;
|
|
38
|
+
GravityProperties gravity = 6;
|
|
39
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ansys/api/discovery/v0/conditions/gravity.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/gravity.proto\x12)ansys.api.discovery.v0.conditions.gravity\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\x94\x01\n\x11GravityProperties\x12H\n\x0c\x61\x63\x63\x65leration\x18\x01 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12\x18\n\x10include_buoyancy\x18\x02 \x01(\x08\x12\x1b\n\x13include_self_weight\x18\x03 \x01(\x08\"\x8d\x02\n\x11GravityDefinition\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\x07gravity\x18\x06 \x01(\x0b\x32<.ansys.api.discovery.v0.conditions.gravity.GravityProperties2\xb1\x06\n\x07Gravity\x12r\n\x18\x43hangeGravityOrientation\x12..ansys.api.discovery.v0.ChangeDirectionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12h\n\x0f\x43hangeGravityDZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12|\n#ChangeGravityTranslationalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeGravityUseBuoyancyEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12}\n%ChangeGravityIncludeSelfWeightEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\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.gravity_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
|
+
_GRAVITYPROPERTIES._serialized_start=175
|
|
27
|
+
_GRAVITYPROPERTIES._serialized_end=323
|
|
28
|
+
_GRAVITYDEFINITION._serialized_start=326
|
|
29
|
+
_GRAVITYDEFINITION._serialized_end=595
|
|
30
|
+
_GRAVITY._serialized_start=598
|
|
31
|
+
_GRAVITY._serialized_end=1415
|
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
import ansys.api.dbu.v0.dbumodels_pb2
|
|
6
|
+
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
7
|
+
import builtins
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
|
|
15
|
+
|
|
16
|
+
class GravityProperties(google.protobuf.message.Message):
|
|
17
|
+
"""Gravity condition definitions"""
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
19
|
+
ACCELERATION_FIELD_NUMBER: builtins.int
|
|
20
|
+
INCLUDE_BUOYANCY_FIELD_NUMBER: builtins.int
|
|
21
|
+
INCLUDE_SELF_WEIGHT_FIELD_NUMBER: builtins.int
|
|
22
|
+
@property
|
|
23
|
+
def acceleration(self) -> ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities: ...
|
|
24
|
+
include_buoyancy: builtins.bool = ...
|
|
25
|
+
include_self_weight: builtins.bool = ...
|
|
26
|
+
def __init__(self,
|
|
27
|
+
*,
|
|
28
|
+
acceleration : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities] = ...,
|
|
29
|
+
include_buoyancy : builtins.bool = ...,
|
|
30
|
+
include_self_weight : builtins.bool = ...,
|
|
31
|
+
) -> None: ...
|
|
32
|
+
def HasField(self, field_name: typing_extensions.Literal["acceleration",b"acceleration"]) -> builtins.bool: ...
|
|
33
|
+
def ClearField(self, field_name: typing_extensions.Literal["acceleration",b"acceleration","include_buoyancy",b"include_buoyancy","include_self_weight",b"include_self_weight"]) -> None: ...
|
|
34
|
+
global___GravityProperties = GravityProperties
|
|
35
|
+
|
|
36
|
+
class GravityDefinition(google.protobuf.message.Message):
|
|
37
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
|
|
38
|
+
ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
PARENT_ID_FIELD_NUMBER: builtins.int
|
|
40
|
+
LABEL_FIELD_NUMBER: builtins.int
|
|
41
|
+
LOCATIONS_FIELD_NUMBER: builtins.int
|
|
42
|
+
SUPPRESSED_FIELD_NUMBER: builtins.int
|
|
43
|
+
GRAVITY_FIELD_NUMBER: builtins.int
|
|
44
|
+
@property
|
|
45
|
+
def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
46
|
+
@property
|
|
47
|
+
def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
|
|
48
|
+
label: typing.Text = ...
|
|
49
|
+
@property
|
|
50
|
+
def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
|
|
51
|
+
suppressed: builtins.bool = ...
|
|
52
|
+
@property
|
|
53
|
+
def gravity(self) -> global___GravityProperties: ...
|
|
54
|
+
def __init__(self,
|
|
55
|
+
*,
|
|
56
|
+
id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
57
|
+
parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
|
|
58
|
+
label : typing.Text = ...,
|
|
59
|
+
locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
|
|
60
|
+
suppressed : builtins.bool = ...,
|
|
61
|
+
gravity : typing.Optional[global___GravityProperties] = ...,
|
|
62
|
+
) -> None: ...
|
|
63
|
+
def HasField(self, field_name: typing_extensions.Literal["gravity",b"gravity","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
|
|
64
|
+
def ClearField(self, field_name: typing_extensions.Literal["gravity",b"gravity","id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
|
|
65
|
+
global___GravityDefinition = GravityDefinition
|
|
@@ -0,0 +1,266 @@
|
|
|
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 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class GravityStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.ChangeGravityOrientation = channel.unary_unary(
|
|
18
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityOrientation',
|
|
19
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.SerializeToString,
|
|
20
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.ChangeGravityDX = channel.unary_unary(
|
|
23
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityDX',
|
|
24
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
25
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.ChangeGravityDY = channel.unary_unary(
|
|
28
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityDY',
|
|
29
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
30
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.ChangeGravityDZ = channel.unary_unary(
|
|
33
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityDZ',
|
|
34
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
35
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.ChangeGravityTranslationalMagnitude = channel.unary_unary(
|
|
38
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityTranslationalMagnitude',
|
|
39
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
40
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
self.ChangeGravityUseBuoyancyEnabled = channel.unary_unary(
|
|
43
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityUseBuoyancyEnabled',
|
|
44
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
45
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
46
|
+
)
|
|
47
|
+
self.ChangeGravityIncludeSelfWeightEnabled = channel.unary_unary(
|
|
48
|
+
'/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityIncludeSelfWeightEnabled',
|
|
49
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
50
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class GravityServicer(object):
|
|
55
|
+
"""Missing associated documentation comment in .proto file."""
|
|
56
|
+
|
|
57
|
+
def ChangeGravityOrientation(self, request, context):
|
|
58
|
+
"""Gravity condition methods
|
|
59
|
+
No create for gravity, it's done automatically, and always applied to all bodies
|
|
60
|
+
"""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
def ChangeGravityDX(self, request, context):
|
|
66
|
+
"""Missing associated documentation comment in .proto file."""
|
|
67
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
68
|
+
context.set_details('Method not implemented!')
|
|
69
|
+
raise NotImplementedError('Method not implemented!')
|
|
70
|
+
|
|
71
|
+
def ChangeGravityDY(self, request, context):
|
|
72
|
+
"""Missing associated documentation comment in .proto file."""
|
|
73
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
+
context.set_details('Method not implemented!')
|
|
75
|
+
raise NotImplementedError('Method not implemented!')
|
|
76
|
+
|
|
77
|
+
def ChangeGravityDZ(self, request, context):
|
|
78
|
+
"""Missing associated documentation comment in .proto file."""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
83
|
+
def ChangeGravityTranslationalMagnitude(self, request, context):
|
|
84
|
+
"""Missing associated documentation comment in .proto file."""
|
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
86
|
+
context.set_details('Method not implemented!')
|
|
87
|
+
raise NotImplementedError('Method not implemented!')
|
|
88
|
+
|
|
89
|
+
def ChangeGravityUseBuoyancyEnabled(self, request, context):
|
|
90
|
+
"""Missing associated documentation comment in .proto file."""
|
|
91
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
92
|
+
context.set_details('Method not implemented!')
|
|
93
|
+
raise NotImplementedError('Method not implemented!')
|
|
94
|
+
|
|
95
|
+
def ChangeGravityIncludeSelfWeightEnabled(self, request, context):
|
|
96
|
+
"""Missing associated documentation comment in .proto file."""
|
|
97
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
98
|
+
context.set_details('Method not implemented!')
|
|
99
|
+
raise NotImplementedError('Method not implemented!')
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def add_GravityServicer_to_server(servicer, server):
|
|
103
|
+
rpc_method_handlers = {
|
|
104
|
+
'ChangeGravityOrientation': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.ChangeGravityOrientation,
|
|
106
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.FromString,
|
|
107
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
108
|
+
),
|
|
109
|
+
'ChangeGravityDX': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.ChangeGravityDX,
|
|
111
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
112
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
113
|
+
),
|
|
114
|
+
'ChangeGravityDY': grpc.unary_unary_rpc_method_handler(
|
|
115
|
+
servicer.ChangeGravityDY,
|
|
116
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
117
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
118
|
+
),
|
|
119
|
+
'ChangeGravityDZ': grpc.unary_unary_rpc_method_handler(
|
|
120
|
+
servicer.ChangeGravityDZ,
|
|
121
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
122
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
123
|
+
),
|
|
124
|
+
'ChangeGravityTranslationalMagnitude': grpc.unary_unary_rpc_method_handler(
|
|
125
|
+
servicer.ChangeGravityTranslationalMagnitude,
|
|
126
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
127
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
128
|
+
),
|
|
129
|
+
'ChangeGravityUseBuoyancyEnabled': grpc.unary_unary_rpc_method_handler(
|
|
130
|
+
servicer.ChangeGravityUseBuoyancyEnabled,
|
|
131
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
|
|
132
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
133
|
+
),
|
|
134
|
+
'ChangeGravityIncludeSelfWeightEnabled': grpc.unary_unary_rpc_method_handler(
|
|
135
|
+
servicer.ChangeGravityIncludeSelfWeightEnabled,
|
|
136
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.FromString,
|
|
137
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
138
|
+
),
|
|
139
|
+
}
|
|
140
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
141
|
+
'ansys.api.discovery.v0.conditions.gravity.Gravity', rpc_method_handlers)
|
|
142
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
# This class is part of an EXPERIMENTAL API.
|
|
146
|
+
class Gravity(object):
|
|
147
|
+
"""Missing associated documentation comment in .proto file."""
|
|
148
|
+
|
|
149
|
+
@staticmethod
|
|
150
|
+
def ChangeGravityOrientation(request,
|
|
151
|
+
target,
|
|
152
|
+
options=(),
|
|
153
|
+
channel_credentials=None,
|
|
154
|
+
call_credentials=None,
|
|
155
|
+
insecure=False,
|
|
156
|
+
compression=None,
|
|
157
|
+
wait_for_ready=None,
|
|
158
|
+
timeout=None,
|
|
159
|
+
metadata=None):
|
|
160
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityOrientation',
|
|
161
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeDirectionRequest.SerializeToString,
|
|
162
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
163
|
+
options, channel_credentials,
|
|
164
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
|
+
|
|
166
|
+
@staticmethod
|
|
167
|
+
def ChangeGravityDX(request,
|
|
168
|
+
target,
|
|
169
|
+
options=(),
|
|
170
|
+
channel_credentials=None,
|
|
171
|
+
call_credentials=None,
|
|
172
|
+
insecure=False,
|
|
173
|
+
compression=None,
|
|
174
|
+
wait_for_ready=None,
|
|
175
|
+
timeout=None,
|
|
176
|
+
metadata=None):
|
|
177
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityDX',
|
|
178
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
179
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
180
|
+
options, channel_credentials,
|
|
181
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
182
|
+
|
|
183
|
+
@staticmethod
|
|
184
|
+
def ChangeGravityDY(request,
|
|
185
|
+
target,
|
|
186
|
+
options=(),
|
|
187
|
+
channel_credentials=None,
|
|
188
|
+
call_credentials=None,
|
|
189
|
+
insecure=False,
|
|
190
|
+
compression=None,
|
|
191
|
+
wait_for_ready=None,
|
|
192
|
+
timeout=None,
|
|
193
|
+
metadata=None):
|
|
194
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityDY',
|
|
195
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
196
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
197
|
+
options, channel_credentials,
|
|
198
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def ChangeGravityDZ(request,
|
|
202
|
+
target,
|
|
203
|
+
options=(),
|
|
204
|
+
channel_credentials=None,
|
|
205
|
+
call_credentials=None,
|
|
206
|
+
insecure=False,
|
|
207
|
+
compression=None,
|
|
208
|
+
wait_for_ready=None,
|
|
209
|
+
timeout=None,
|
|
210
|
+
metadata=None):
|
|
211
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityDZ',
|
|
212
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
213
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
214
|
+
options, channel_credentials,
|
|
215
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
216
|
+
|
|
217
|
+
@staticmethod
|
|
218
|
+
def ChangeGravityTranslationalMagnitude(request,
|
|
219
|
+
target,
|
|
220
|
+
options=(),
|
|
221
|
+
channel_credentials=None,
|
|
222
|
+
call_credentials=None,
|
|
223
|
+
insecure=False,
|
|
224
|
+
compression=None,
|
|
225
|
+
wait_for_ready=None,
|
|
226
|
+
timeout=None,
|
|
227
|
+
metadata=None):
|
|
228
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityTranslationalMagnitude',
|
|
229
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
230
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
231
|
+
options, channel_credentials,
|
|
232
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
233
|
+
|
|
234
|
+
@staticmethod
|
|
235
|
+
def ChangeGravityUseBuoyancyEnabled(request,
|
|
236
|
+
target,
|
|
237
|
+
options=(),
|
|
238
|
+
channel_credentials=None,
|
|
239
|
+
call_credentials=None,
|
|
240
|
+
insecure=False,
|
|
241
|
+
compression=None,
|
|
242
|
+
wait_for_ready=None,
|
|
243
|
+
timeout=None,
|
|
244
|
+
metadata=None):
|
|
245
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityUseBuoyancyEnabled',
|
|
246
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
247
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
248
|
+
options, channel_credentials,
|
|
249
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
250
|
+
|
|
251
|
+
@staticmethod
|
|
252
|
+
def ChangeGravityIncludeSelfWeightEnabled(request,
|
|
253
|
+
target,
|
|
254
|
+
options=(),
|
|
255
|
+
channel_credentials=None,
|
|
256
|
+
call_credentials=None,
|
|
257
|
+
insecure=False,
|
|
258
|
+
compression=None,
|
|
259
|
+
wait_for_ready=None,
|
|
260
|
+
timeout=None,
|
|
261
|
+
metadata=None):
|
|
262
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.gravity.Gravity/ChangeGravityIncludeSelfWeightEnabled',
|
|
263
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeBooleanRequest.SerializeToString,
|
|
264
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
265
|
+
options, channel_credentials,
|
|
266
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|