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.

Files changed (168) hide show
  1. ansys/api/discovery/VERSION +1 -1
  2. ansys/api/discovery/v0/assignments/boltassignment.proto +40 -0
  3. ansys/api/discovery/v0/assignments/boltassignment_pb2.py +37 -0
  4. ansys/api/discovery/v0/assignments/boltassignment_pb2.pyi +95 -0
  5. ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.py +67 -0
  6. ansys/api/discovery/v0/assignments/boltassignment_pb2_grpc.pyi +27 -0
  7. ansys/api/discovery/v0/conditions/acceleration.proto +52 -0
  8. ansys/api/discovery/v0/conditions/acceleration_pb2.py +36 -0
  9. ansys/api/discovery/v0/conditions/acceleration_pb2.pyi +94 -0
  10. ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.py +365 -0
  11. ansys/api/discovery/v0/conditions/acceleration_pb2_grpc.pyi +118 -0
  12. ansys/api/discovery/v0/conditions/bearing.proto +47 -0
  13. ansys/api/discovery/v0/conditions/bearing_pb2.py +36 -0
  14. ansys/api/discovery/v0/conditions/bearing_pb2.pyi +102 -0
  15. ansys/api/discovery/v0/conditions/bearing_pb2_grpc.py +200 -0
  16. ansys/api/discovery/v0/conditions/bearing_pb2_grpc.pyi +68 -0
  17. ansys/api/discovery/v0/conditions/boltpreload.proto +94 -0
  18. ansys/api/discovery/v0/conditions/boltpreload_pb2.py +48 -0
  19. ansys/api/discovery/v0/conditions/boltpreload_pb2.pyi +218 -0
  20. ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.py +431 -0
  21. ansys/api/discovery/v0/conditions/boltpreload_pb2_grpc.pyi +138 -0
  22. ansys/api/discovery/v0/{conditions.proto → conditions/condition.proto} +5 -4
  23. ansys/api/discovery/v0/conditions/condition_pb2.py +34 -0
  24. ansys/api/discovery/v0/{conditions_pb2.pyi → conditions/condition_pb2.pyi} +13 -6
  25. ansys/api/discovery/v0/{conditions_pb2_grpc.py → conditions/condition_pb2_grpc.py} +21 -21
  26. ansys/api/discovery/v0/{conditions_pb2_grpc.pyi → conditions/condition_pb2_grpc.pyi} +10 -10
  27. ansys/api/discovery/v0/conditions/convection.proto +43 -0
  28. ansys/api/discovery/v0/conditions/convection_pb2.py +34 -0
  29. ansys/api/discovery/v0/conditions/convection_pb2.pyi +89 -0
  30. ansys/api/discovery/v0/conditions/convection_pb2_grpc.py +166 -0
  31. ansys/api/discovery/v0/conditions/convection_pb2_grpc.pyi +55 -0
  32. ansys/api/discovery/v0/conditions/displacement.proto +105 -0
  33. ansys/api/discovery/v0/conditions/displacement_pb2.py +48 -0
  34. ansys/api/discovery/v0/conditions/displacement_pb2.pyi +209 -0
  35. ansys/api/discovery/v0/conditions/displacement_pb2_grpc.py +827 -0
  36. ansys/api/discovery/v0/conditions/displacement_pb2_grpc.pyi +258 -0
  37. ansys/api/discovery/v0/{conditionsfluid.proto → conditions/flow.proto} +19 -24
  38. ansys/api/discovery/v0/conditions/flow_pb2.py +86 -0
  39. ansys/api/discovery/v0/{conditionsfluid_pb2.pyi → conditions/flow_pb2.pyi} +51 -34
  40. ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.py → conditions/flow_pb2_grpc.py} +86 -86
  41. ansys/api/discovery/v0/{conditionsfluid_pb2_grpc.pyi → conditions/flow_pb2_grpc.pyi} +32 -32
  42. ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +13 -0
  43. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.py +28 -0
  44. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2.pyi +7 -0
  45. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.py +66 -0
  46. ansys/api/discovery/v0/conditions/fluidinitialtemperature_pb2_grpc.pyi +24 -0
  47. ansys/api/discovery/v0/conditions/force.proto +131 -0
  48. ansys/api/discovery/v0/conditions/force_pb2.py +56 -0
  49. ansys/api/discovery/v0/conditions/force_pb2.pyi +286 -0
  50. ansys/api/discovery/v0/conditions/force_pb2_grpc.py +829 -0
  51. ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +257 -0
  52. ansys/api/discovery/v0/conditions/gravity.proto +39 -0
  53. ansys/api/discovery/v0/conditions/gravity_pb2.py +32 -0
  54. ansys/api/discovery/v0/conditions/gravity_pb2.pyi +65 -0
  55. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +266 -0
  56. ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +91 -0
  57. ansys/api/discovery/v0/conditions/heat.proto +90 -0
  58. ansys/api/discovery/v0/conditions/heat_pb2.py +46 -0
  59. ansys/api/discovery/v0/conditions/heat_pb2.pyi +210 -0
  60. ansys/api/discovery/v0/conditions/heat_pb2_grpc.py +332 -0
  61. ansys/api/discovery/v0/conditions/heat_pb2_grpc.pyi +108 -0
  62. ansys/api/discovery/v0/conditions/insulated.proto +34 -0
  63. ansys/api/discovery/v0/conditions/insulated_pb2.py +34 -0
  64. ansys/api/discovery/v0/conditions/insulated_pb2.pyi +73 -0
  65. ansys/api/discovery/v0/conditions/insulated_pb2_grpc.py +100 -0
  66. ansys/api/discovery/v0/conditions/insulated_pb2_grpc.pyi +35 -0
  67. ansys/api/discovery/v0/conditions/mass.proto +49 -0
  68. ansys/api/discovery/v0/conditions/mass_pb2.py +36 -0
  69. ansys/api/discovery/v0/conditions/mass_pb2.pyi +98 -0
  70. ansys/api/discovery/v0/conditions/mass_pb2_grpc.py +266 -0
  71. ansys/api/discovery/v0/conditions/mass_pb2_grpc.pyi +88 -0
  72. ansys/api/discovery/v0/conditions/moment.proto +67 -0
  73. ansys/api/discovery/v0/conditions/moment_pb2.py +40 -0
  74. ansys/api/discovery/v0/conditions/moment_pb2.pyi +132 -0
  75. ansys/api/discovery/v0/conditions/moment_pb2_grpc.py +398 -0
  76. ansys/api/discovery/v0/conditions/moment_pb2_grpc.pyi +128 -0
  77. ansys/api/discovery/v0/conditions/porous.proto +116 -0
  78. ansys/api/discovery/v0/conditions/porous_pb2.py +44 -0
  79. ansys/api/discovery/v0/conditions/porous_pb2.pyi +217 -0
  80. ansys/api/discovery/v0/conditions/porous_pb2_grpc.py +534 -0
  81. ansys/api/discovery/v0/conditions/porous_pb2_grpc.pyi +181 -0
  82. ansys/api/discovery/v0/conditions/pressure.proto +43 -0
  83. ansys/api/discovery/v0/conditions/pressure_pb2.py +36 -0
  84. ansys/api/discovery/v0/conditions/pressure_pb2.pyi +94 -0
  85. ansys/api/discovery/v0/conditions/pressure_pb2_grpc.py +134 -0
  86. ansys/api/discovery/v0/conditions/pressure_pb2_grpc.pyi +48 -0
  87. ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +57 -0
  88. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.py +36 -0
  89. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2.pyi +102 -0
  90. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.py +136 -0
  91. ansys/api/discovery/v0/conditions/rotatingfluidzone_pb2_grpc.pyi +54 -0
  92. ansys/api/discovery/v0/conditions/solidtemperature.proto +40 -0
  93. ansys/api/discovery/v0/conditions/solidtemperature_pb2.py +34 -0
  94. ansys/api/discovery/v0/conditions/solidtemperature_pb2.pyi +81 -0
  95. ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.py +166 -0
  96. ansys/api/discovery/v0/conditions/solidtemperature_pb2_grpc.pyi +55 -0
  97. ansys/api/discovery/v0/conditions/springpreload.proto +105 -0
  98. ansys/api/discovery/v0/conditions/springpreload_pb2.py +50 -0
  99. ansys/api/discovery/v0/conditions/springpreload_pb2.pyi +250 -0
  100. ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.py +431 -0
  101. ansys/api/discovery/v0/conditions/springpreload_pb2_grpc.pyi +138 -0
  102. ansys/api/discovery/v0/conditions/support.proto +98 -0
  103. ansys/api/discovery/v0/conditions/support_pb2.py +46 -0
  104. ansys/api/discovery/v0/conditions/support_pb2.pyi +200 -0
  105. ansys/api/discovery/v0/{conditionsthermal_pb2_grpc.py → conditions/support_pb2_grpc.py} +251 -221
  106. ansys/api/discovery/v0/conditions/support_pb2_grpc.pyi +218 -0
  107. ansys/api/discovery/v0/conditions/velocity.proto +58 -0
  108. ansys/api/discovery/v0/conditions/velocity_pb2.py +36 -0
  109. ansys/api/discovery/v0/conditions/velocity_pb2.pyi +98 -0
  110. ansys/api/discovery/v0/conditions/velocity_pb2_grpc.py +497 -0
  111. ansys/api/discovery/v0/conditions/velocity_pb2_grpc.pyi +158 -0
  112. ansys/api/discovery/v0/conditions/wall.proto +209 -0
  113. ansys/api/discovery/v0/conditions/wall_pb2.py +70 -0
  114. ansys/api/discovery/v0/conditions/wall_pb2.pyi +494 -0
  115. ansys/api/discovery/v0/conditions/wall_pb2_grpc.py +633 -0
  116. ansys/api/discovery/v0/conditions/wall_pb2_grpc.pyi +211 -0
  117. ansys/api/discovery/v0/connections/contact.proto +110 -0
  118. ansys/api/discovery/v0/connections/contact_pb2.py +46 -0
  119. ansys/api/discovery/v0/connections/contact_pb2.pyi +242 -0
  120. ansys/api/discovery/v0/connections/contact_pb2_grpc.py +827 -0
  121. ansys/api/discovery/v0/connections/contact_pb2_grpc.pyi +258 -0
  122. ansys/api/discovery/v0/connections/contactgroup.proto +89 -0
  123. ansys/api/discovery/v0/connections/contactgroup_pb2.py +37 -0
  124. ansys/api/discovery/v0/connections/contactgroup_pb2.pyi +178 -0
  125. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +860 -0
  126. ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +266 -0
  127. ansys/api/discovery/v0/connections/joint.proto +56 -0
  128. ansys/api/discovery/v0/connections/joint_pb2.py +40 -0
  129. ansys/api/discovery/v0/connections/joint_pb2.pyi +129 -0
  130. ansys/api/discovery/v0/connections/joint_pb2_grpc.py +167 -0
  131. ansys/api/discovery/v0/connections/joint_pb2_grpc.pyi +58 -0
  132. ansys/api/discovery/v0/discoverymodels.proto +34 -17
  133. ansys/api/discovery/v0/discoverymodels_pb2.py +46 -40
  134. ansys/api/discovery/v0/discoverymodels_pb2.pyi +118 -47
  135. ansys/api/discovery/v0/engineeringdata/boltdata.proto +37 -0
  136. ansys/api/discovery/v0/engineeringdata/boltdata_pb2.py +36 -0
  137. ansys/api/discovery/v0/engineeringdata/boltdata_pb2.pyi +81 -0
  138. ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.py +67 -0
  139. ansys/api/discovery/v0/engineeringdata/boltdata_pb2_grpc.pyi +27 -0
  140. ansys/api/discovery/v0/monitors.proto +4 -4
  141. ansys/api/discovery/v0/monitors_pb2.py +10 -10
  142. ansys/api/discovery/v0/monitors_pb2.pyi +11 -11
  143. ansys/api/discovery/v0/solution.proto +4 -3
  144. ansys/api/discovery/v0/solution_pb2.py +16 -15
  145. ansys/api/discovery/v0/solution_pb2.pyi +11 -7
  146. ansys/api/discovery/v0/unsupported.proto +10 -0
  147. ansys/api/discovery/v0/unsupported_pb2.py +5 -3
  148. ansys/api/discovery/v0/unsupported_pb2.pyi +14 -0
  149. ansys/api/discovery/v0/unsupported_pb2_grpc.py +68 -0
  150. ansys/api/discovery/v0/unsupported_pb2_grpc.pyi +24 -0
  151. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/METADATA +13 -4
  152. ansys_api_discovery-0.6.5.dist-info/RECORD +200 -0
  153. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/WHEEL +1 -1
  154. ansys/api/discovery/v0/conditions_pb2.py +0 -33
  155. ansys/api/discovery/v0/conditionsfluid_pb2.py +0 -85
  156. ansys/api/discovery/v0/conditionsstructural.proto +0 -595
  157. ansys/api/discovery/v0/conditionsstructural_pb2.py +0 -149
  158. ansys/api/discovery/v0/conditionsstructural_pb2.pyi +0 -1216
  159. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.py +0 -4171
  160. ansys/api/discovery/v0/conditionsstructural_pb2_grpc.pyi +0 -1303
  161. ansys/api/discovery/v0/conditionsthermal.proto +0 -179
  162. ansys/api/discovery/v0/conditionsthermal_pb2.py +0 -63
  163. ansys/api/discovery/v0/conditionsthermal_pb2.pyi +0 -399
  164. ansys/api/discovery/v0/conditionsthermal_pb2_grpc.pyi +0 -217
  165. ansys_api_discovery-0.6.3.dist-info/RECORD +0 -85
  166. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/LICENSE +0 -0
  167. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/entry_points.txt +0 -0
  168. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,166 @@
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 convection_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__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 ConvectionStub(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.CreateConvection = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.conditions.convection.Convection/CreateConvection',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__pb2.ConvectionCreationRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__pb2.ConvectionCreationResponse.FromString,
22
+ )
23
+ self.ChangeConvectionLocation = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.conditions.convection.Convection/ChangeConvectionLocation',
25
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
26
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
27
+ )
28
+ self.ChangeConvectionCoefficientMagnitude = channel.unary_unary(
29
+ '/ansys.api.discovery.v0.conditions.convection.Convection/ChangeConvectionCoefficientMagnitude',
30
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
31
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
32
+ )
33
+ self.ChangeConvectionTemperatureMagnitude = channel.unary_unary(
34
+ '/ansys.api.discovery.v0.conditions.convection.Convection/ChangeConvectionTemperatureMagnitude',
35
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
36
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
37
+ )
38
+
39
+
40
+ class ConvectionServicer(object):
41
+ """Missing associated documentation comment in .proto file."""
42
+
43
+ def CreateConvection(self, request, context):
44
+ """Missing associated documentation comment in .proto file."""
45
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
46
+ context.set_details('Method not implemented!')
47
+ raise NotImplementedError('Method not implemented!')
48
+
49
+ def ChangeConvectionLocation(self, request, context):
50
+ """Missing associated documentation comment in .proto file."""
51
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
52
+ context.set_details('Method not implemented!')
53
+ raise NotImplementedError('Method not implemented!')
54
+
55
+ def ChangeConvectionCoefficientMagnitude(self, request, context):
56
+ """Missing associated documentation comment in .proto file."""
57
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
58
+ context.set_details('Method not implemented!')
59
+ raise NotImplementedError('Method not implemented!')
60
+
61
+ def ChangeConvectionTemperatureMagnitude(self, request, context):
62
+ """Missing associated documentation comment in .proto file."""
63
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
64
+ context.set_details('Method not implemented!')
65
+ raise NotImplementedError('Method not implemented!')
66
+
67
+
68
+ def add_ConvectionServicer_to_server(servicer, server):
69
+ rpc_method_handlers = {
70
+ 'CreateConvection': grpc.unary_unary_rpc_method_handler(
71
+ servicer.CreateConvection,
72
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__pb2.ConvectionCreationRequest.FromString,
73
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__pb2.ConvectionCreationResponse.SerializeToString,
74
+ ),
75
+ 'ChangeConvectionLocation': grpc.unary_unary_rpc_method_handler(
76
+ servicer.ChangeConvectionLocation,
77
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
78
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
79
+ ),
80
+ 'ChangeConvectionCoefficientMagnitude': grpc.unary_unary_rpc_method_handler(
81
+ servicer.ChangeConvectionCoefficientMagnitude,
82
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
83
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
84
+ ),
85
+ 'ChangeConvectionTemperatureMagnitude': grpc.unary_unary_rpc_method_handler(
86
+ servicer.ChangeConvectionTemperatureMagnitude,
87
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
88
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
89
+ ),
90
+ }
91
+ generic_handler = grpc.method_handlers_generic_handler(
92
+ 'ansys.api.discovery.v0.conditions.convection.Convection', rpc_method_handlers)
93
+ server.add_generic_rpc_handlers((generic_handler,))
94
+
95
+
96
+ # This class is part of an EXPERIMENTAL API.
97
+ class Convection(object):
98
+ """Missing associated documentation comment in .proto file."""
99
+
100
+ @staticmethod
101
+ def CreateConvection(request,
102
+ target,
103
+ options=(),
104
+ channel_credentials=None,
105
+ call_credentials=None,
106
+ insecure=False,
107
+ compression=None,
108
+ wait_for_ready=None,
109
+ timeout=None,
110
+ metadata=None):
111
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.convection.Convection/CreateConvection',
112
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__pb2.ConvectionCreationRequest.SerializeToString,
113
+ ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_convection__pb2.ConvectionCreationResponse.FromString,
114
+ options, channel_credentials,
115
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
116
+
117
+ @staticmethod
118
+ def ChangeConvectionLocation(request,
119
+ target,
120
+ options=(),
121
+ channel_credentials=None,
122
+ call_credentials=None,
123
+ insecure=False,
124
+ compression=None,
125
+ wait_for_ready=None,
126
+ timeout=None,
127
+ metadata=None):
128
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.convection.Convection/ChangeConvectionLocation',
129
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
130
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
131
+ options, channel_credentials,
132
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
133
+
134
+ @staticmethod
135
+ def ChangeConvectionCoefficientMagnitude(request,
136
+ target,
137
+ options=(),
138
+ channel_credentials=None,
139
+ call_credentials=None,
140
+ insecure=False,
141
+ compression=None,
142
+ wait_for_ready=None,
143
+ timeout=None,
144
+ metadata=None):
145
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.convection.Convection/ChangeConvectionCoefficientMagnitude',
146
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
147
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
148
+ options, channel_credentials,
149
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
150
+
151
+ @staticmethod
152
+ def ChangeConvectionTemperatureMagnitude(request,
153
+ target,
154
+ options=(),
155
+ channel_credentials=None,
156
+ call_credentials=None,
157
+ insecure=False,
158
+ compression=None,
159
+ wait_for_ready=None,
160
+ timeout=None,
161
+ metadata=None):
162
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.conditions.convection.Convection/ChangeConvectionTemperatureMagnitude',
163
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
164
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
165
+ options, channel_credentials,
166
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,55 @@
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.convection_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class ConvectionStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateConvection: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.conditions.convection_pb2.ConvectionCreationRequest,
14
+ ansys.api.discovery.v0.conditions.convection_pb2.ConvectionCreationResponse] = ...
15
+
16
+ ChangeConvectionLocation: grpc.UnaryUnaryMultiCallable[
17
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
18
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
19
+
20
+ ChangeConvectionCoefficientMagnitude: grpc.UnaryUnaryMultiCallable[
21
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
22
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
23
+
24
+ ChangeConvectionTemperatureMagnitude: grpc.UnaryUnaryMultiCallable[
25
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
26
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
27
+
28
+
29
+ class ConvectionServicer(metaclass=abc.ABCMeta):
30
+ @abc.abstractmethod
31
+ def CreateConvection(self,
32
+ request: ansys.api.discovery.v0.conditions.convection_pb2.ConvectionCreationRequest,
33
+ context: grpc.ServicerContext,
34
+ ) -> ansys.api.discovery.v0.conditions.convection_pb2.ConvectionCreationResponse: ...
35
+
36
+ @abc.abstractmethod
37
+ def ChangeConvectionLocation(self,
38
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
39
+ context: grpc.ServicerContext,
40
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
41
+
42
+ @abc.abstractmethod
43
+ def ChangeConvectionCoefficientMagnitude(self,
44
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
45
+ context: grpc.ServicerContext,
46
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
47
+
48
+ @abc.abstractmethod
49
+ def ChangeConvectionTemperatureMagnitude(self,
50
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
51
+ context: grpc.ServicerContext,
52
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
53
+
54
+
55
+ def add_ConvectionServicer_to_server(servicer: ConvectionServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,105 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.displacement;
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 Displacement
11
+ {
12
+ //Displacement condition methods
13
+ rpc CreateDisplacementTranslation(DisplacementTranslationCreationRequest) returns (DisplacementCreationResponse);
14
+ rpc CreateDisplacementRotation(DisplacementRotationCreationRequest) returns (DisplacementCreationResponse);
15
+ rpc CreateDisplacementCombined(DisplacementCombinedCreationRequest) returns (DisplacementCreationResponse);
16
+
17
+ rpc ChangeDisplacementLocation(ChangeLocationRequest) returns(ChangeResponse);
18
+
19
+ rpc ChangeDisplacementSpecification(ChangeDisplacementSpecificationRequest) returns(ChangeResponse);
20
+ rpc ChangeDisplacementOrientation(ChangeDirectionRequest) returns(ChangeResponse);
21
+
22
+ rpc ChangeDisplacementDX(ChangeQuantityRequest) returns (ChangeResponse);
23
+ rpc ChangeDisplacementDY(ChangeQuantityRequest) returns (ChangeResponse);
24
+ rpc ChangeDisplacementDZ(ChangeQuantityRequest) returns (ChangeResponse);
25
+ rpc ChangeDisplacementTranslationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
26
+
27
+ rpc ChangeDisplacementRX(ChangeQuantityRequest) returns (ChangeResponse);
28
+ rpc ChangeDisplacementRY(ChangeQuantityRequest) returns (ChangeResponse);
29
+ rpc ChangeDisplacementRZ(ChangeQuantityRequest) returns (ChangeResponse);
30
+ rpc ChangeDisplacementRotationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
31
+
32
+ rpc ChangeDisplacementIsFixedDX(ChangeBooleanRequest) returns (ChangeResponse);
33
+ rpc ChangeDisplacementIsFixedDY(ChangeBooleanRequest) returns (ChangeResponse);
34
+ rpc ChangeDisplacementIsFixedDZ(ChangeBooleanRequest) returns (ChangeResponse);
35
+
36
+ rpc ChangeDisplacementIsFixedRX(ChangeBooleanRequest) returns (ChangeResponse);
37
+ rpc ChangeDisplacementIsFixedRY(ChangeBooleanRequest) returns (ChangeResponse);
38
+ rpc ChangeDisplacementIsFixedRZ(ChangeBooleanRequest) returns (ChangeResponse);
39
+
40
+ rpc ChangeDisplacementUseRemotePointEnabled(ChangeBooleanRequest) returns (ChangeResponse);
41
+ rpc ChangeDisplacementDistributedRemotePositionX(ChangeQuantityRequest) returns (ChangeResponse);
42
+ rpc ChangeDisplacementDistributedRemotePositionY(ChangeQuantityRequest) returns (ChangeResponse);
43
+ rpc ChangeDisplacementDistributedRemotePositionZ(ChangeQuantityRequest) returns (ChangeResponse);
44
+ }
45
+
46
+ // Displacement
47
+ message DisplacementTranslationCreationRequest{
48
+ ScopedCreationData creation_data = 1;
49
+ DisplacementTranslationProperties displacement_properties = 2;
50
+ }
51
+
52
+ message DisplacementRotationCreationRequest{
53
+ ScopedCreationData creation_data = 1;
54
+ DisplacementRotationProperties displacement_properties = 2;
55
+ }
56
+
57
+ message DisplacementCombinedCreationRequest{
58
+ ScopedCreationData creation_data = 1;
59
+ DisplacementCombinedProperties displacement_properties = 2;
60
+ }
61
+
62
+ message DisplacementCreationResponse{
63
+ CreationResponse condition_response = 1;
64
+ DisplacementDefinition condition_data = 2;
65
+ }
66
+
67
+ message ChangeDisplacementSpecificationRequest{
68
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
69
+ DisplacementSpecification displacement_specification = 2;
70
+ }
71
+
72
+ // Displacement enumerations
73
+
74
+ enum DisplacementSpecification {
75
+ TRANSLATION = 0;
76
+ ROTATION = 1;
77
+ COMBINED = 2;
78
+ }
79
+
80
+ // Displacement condition definitions
81
+
82
+ message DisplacementTranslationProperties {
83
+ VectorOfOptionalQuantities displacement = 1;
84
+ OptionalVector remote_point = 2;
85
+ }
86
+
87
+ message DisplacementRotationProperties {
88
+ VectorOfOptionalQuantities rotation = 1;
89
+ OptionalVector remote_point = 2;
90
+ }
91
+
92
+ message DisplacementCombinedProperties {
93
+ VectorOfOptionalQuantities displacement = 1;
94
+ VectorOfOptionalQuantities rotation = 2;
95
+ OptionalVector remote_point = 3;
96
+ }
97
+
98
+ message DisplacementDefinition {
99
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
100
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
101
+ string label = 3;
102
+ repeated string locations = 4;
103
+ bool suppressed = 5;
104
+ DisplacementCombinedProperties displacement = 6;
105
+ }
@@ -0,0 +1,48 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/conditions/displacement.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'\n4ansys/api/discovery/v0/conditions/displacement.proto\x12.ansys.api.discovery.v0.conditions.displacement\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xdf\x01\n&DisplacementTranslationCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12r\n\x17\x64isplacement_properties\x18\x02 \x01(\x0b\x32Q.ansys.api.discovery.v0.conditions.displacement.DisplacementTranslationProperties\"\xd9\x01\n#DisplacementRotationCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12o\n\x17\x64isplacement_properties\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.displacement.DisplacementRotationProperties\"\xd9\x01\n#DisplacementCombinedCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12o\n\x17\x64isplacement_properties\x18\x02 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.displacement.DisplacementCombinedProperties\"\xc4\x01\n\x1c\x44isplacementCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12^\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x46.ansys.api.discovery.v0.conditions.displacement.DisplacementDefinition\"\xd5\x01\n&ChangeDisplacementSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12m\n\x1a\x64isplacement_specification\x18\x02 \x01(\x0e\x32I.ansys.api.discovery.v0.conditions.displacement.DisplacementSpecification\"\xab\x01\n!DisplacementTranslationProperties\x12H\n\x0c\x64isplacement\x18\x01 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12<\n\x0cremote_point\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\"\xa4\x01\n\x1e\x44isplacementRotationProperties\x12\x44\n\x08rotation\x18\x01 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12<\n\x0cremote_point\x18\x02 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\"\xee\x01\n\x1e\x44isplacementCombinedProperties\x12H\n\x0c\x64isplacement\x18\x01 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12\x44\n\x08rotation\x18\x02 \x01(\x0b\x32\x32.ansys.api.discovery.v0.VectorOfOptionalQuantities\x12<\n\x0cremote_point\x18\x03 \x01(\x0b\x32&.ansys.api.discovery.v0.OptionalVector\"\xa9\x02\n\x16\x44isplacementDefinition\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\x12\x64\n\x0c\x64isplacement\x18\x06 \x01(\x0b\x32N.ansys.api.discovery.v0.conditions.displacement.DisplacementCombinedProperties*H\n\x19\x44isplacementSpecification\x12\x0f\n\x0bTRANSLATION\x10\x00\x12\x0c\n\x08ROTATION\x10\x01\x12\x0c\n\x08\x43OMBINED\x10\x02\x32\xe1\x18\n\x0c\x44isplacement\x12\xc5\x01\n\x1d\x43reateDisplacementTranslation\x12V.ansys.api.discovery.v0.conditions.displacement.DisplacementTranslationCreationRequest\x1aL.ansys.api.discovery.v0.conditions.displacement.DisplacementCreationResponse\x12\xbf\x01\n\x1a\x43reateDisplacementRotation\x12S.ansys.api.discovery.v0.conditions.displacement.DisplacementRotationCreationRequest\x1aL.ansys.api.discovery.v0.conditions.displacement.DisplacementCreationResponse\x12\xbf\x01\n\x1a\x43reateDisplacementCombined\x12S.ansys.api.discovery.v0.conditions.displacement.DisplacementCombinedCreationRequest\x1aL.ansys.api.discovery.v0.conditions.displacement.DisplacementCreationResponse\x12s\n\x1a\x43hangeDisplacementLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\xa1\x01\n\x1f\x43hangeDisplacementSpecification\x12V.ansys.api.discovery.v0.conditions.displacement.ChangeDisplacementSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1d\x43hangeDisplacementOrientation\x12..ansys.api.discovery.v0.ChangeDirectionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangeDisplacementDX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangeDisplacementDY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangeDisplacementDZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x81\x01\n(ChangeDisplacementTranslationalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangeDisplacementRX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangeDisplacementRY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12m\n\x14\x43hangeDisplacementRZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12~\n%ChangeDisplacementRotationalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeDisplacementIsFixedDX\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeDisplacementIsFixedDY\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeDisplacementIsFixedDZ\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeDisplacementIsFixedRX\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeDisplacementIsFixedRY\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1b\x43hangeDisplacementIsFixedRZ\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x7f\n\'ChangeDisplacementUseRemotePointEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x85\x01\n,ChangeDisplacementDistributedRemotePositionX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x85\x01\n,ChangeDisplacementDistributedRemotePositionY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x85\x01\n,ChangeDisplacementDistributedRemotePositionZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB$\xaa\x02!Ansys.Api.Discovery.V0.Conditionsb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.conditions.displacement_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
+ _DISPLACEMENTSPECIFICATION._serialized_start=2147
27
+ _DISPLACEMENTSPECIFICATION._serialized_end=2219
28
+ _DISPLACEMENTTRANSLATIONCREATIONREQUEST._serialized_start=185
29
+ _DISPLACEMENTTRANSLATIONCREATIONREQUEST._serialized_end=408
30
+ _DISPLACEMENTROTATIONCREATIONREQUEST._serialized_start=411
31
+ _DISPLACEMENTROTATIONCREATIONREQUEST._serialized_end=628
32
+ _DISPLACEMENTCOMBINEDCREATIONREQUEST._serialized_start=631
33
+ _DISPLACEMENTCOMBINEDCREATIONREQUEST._serialized_end=848
34
+ _DISPLACEMENTCREATIONRESPONSE._serialized_start=851
35
+ _DISPLACEMENTCREATIONRESPONSE._serialized_end=1047
36
+ _CHANGEDISPLACEMENTSPECIFICATIONREQUEST._serialized_start=1050
37
+ _CHANGEDISPLACEMENTSPECIFICATIONREQUEST._serialized_end=1263
38
+ _DISPLACEMENTTRANSLATIONPROPERTIES._serialized_start=1266
39
+ _DISPLACEMENTTRANSLATIONPROPERTIES._serialized_end=1437
40
+ _DISPLACEMENTROTATIONPROPERTIES._serialized_start=1440
41
+ _DISPLACEMENTROTATIONPROPERTIES._serialized_end=1604
42
+ _DISPLACEMENTCOMBINEDPROPERTIES._serialized_start=1607
43
+ _DISPLACEMENTCOMBINEDPROPERTIES._serialized_end=1845
44
+ _DISPLACEMENTDEFINITION._serialized_start=1848
45
+ _DISPLACEMENTDEFINITION._serialized_end=2145
46
+ _DISPLACEMENT._serialized_start=2222
47
+ _DISPLACEMENT._serialized_end=5391
48
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,209 @@
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.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import typing
13
+ import typing_extensions
14
+
15
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor = ...
16
+
17
+ class _DisplacementSpecification:
18
+ ValueType = typing.NewType('ValueType', builtins.int)
19
+ V: typing_extensions.TypeAlias = ValueType
20
+ class _DisplacementSpecificationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_DisplacementSpecification.ValueType], builtins.type):
21
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
22
+ TRANSLATION: DisplacementSpecification.ValueType = ... # 0
23
+ ROTATION: DisplacementSpecification.ValueType = ... # 1
24
+ COMBINED: DisplacementSpecification.ValueType = ... # 2
25
+ class DisplacementSpecification(_DisplacementSpecification, metaclass=_DisplacementSpecificationEnumTypeWrapper):
26
+ """Displacement enumerations
27
+
28
+ """
29
+ pass
30
+
31
+ TRANSLATION: DisplacementSpecification.ValueType = ... # 0
32
+ ROTATION: DisplacementSpecification.ValueType = ... # 1
33
+ COMBINED: DisplacementSpecification.ValueType = ... # 2
34
+ global___DisplacementSpecification = DisplacementSpecification
35
+
36
+
37
+ class DisplacementTranslationCreationRequest(google.protobuf.message.Message):
38
+ """Displacement"""
39
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
40
+ CREATION_DATA_FIELD_NUMBER: builtins.int
41
+ DISPLACEMENT_PROPERTIES_FIELD_NUMBER: builtins.int
42
+ @property
43
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
44
+ @property
45
+ def displacement_properties(self) -> global___DisplacementTranslationProperties: ...
46
+ def __init__(self,
47
+ *,
48
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
49
+ displacement_properties : typing.Optional[global___DisplacementTranslationProperties] = ...,
50
+ ) -> None: ...
51
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","displacement_properties",b"displacement_properties"]) -> builtins.bool: ...
52
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","displacement_properties",b"displacement_properties"]) -> None: ...
53
+ global___DisplacementTranslationCreationRequest = DisplacementTranslationCreationRequest
54
+
55
+ class DisplacementRotationCreationRequest(google.protobuf.message.Message):
56
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
57
+ CREATION_DATA_FIELD_NUMBER: builtins.int
58
+ DISPLACEMENT_PROPERTIES_FIELD_NUMBER: builtins.int
59
+ @property
60
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
61
+ @property
62
+ def displacement_properties(self) -> global___DisplacementRotationProperties: ...
63
+ def __init__(self,
64
+ *,
65
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
66
+ displacement_properties : typing.Optional[global___DisplacementRotationProperties] = ...,
67
+ ) -> None: ...
68
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","displacement_properties",b"displacement_properties"]) -> builtins.bool: ...
69
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","displacement_properties",b"displacement_properties"]) -> None: ...
70
+ global___DisplacementRotationCreationRequest = DisplacementRotationCreationRequest
71
+
72
+ class DisplacementCombinedCreationRequest(google.protobuf.message.Message):
73
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
74
+ CREATION_DATA_FIELD_NUMBER: builtins.int
75
+ DISPLACEMENT_PROPERTIES_FIELD_NUMBER: builtins.int
76
+ @property
77
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
78
+ @property
79
+ def displacement_properties(self) -> global___DisplacementCombinedProperties: ...
80
+ def __init__(self,
81
+ *,
82
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
83
+ displacement_properties : typing.Optional[global___DisplacementCombinedProperties] = ...,
84
+ ) -> None: ...
85
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","displacement_properties",b"displacement_properties"]) -> builtins.bool: ...
86
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","displacement_properties",b"displacement_properties"]) -> None: ...
87
+ global___DisplacementCombinedCreationRequest = DisplacementCombinedCreationRequest
88
+
89
+ class DisplacementCreationResponse(google.protobuf.message.Message):
90
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
91
+ CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
92
+ CONDITION_DATA_FIELD_NUMBER: builtins.int
93
+ @property
94
+ def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
95
+ @property
96
+ def condition_data(self) -> global___DisplacementDefinition: ...
97
+ def __init__(self,
98
+ *,
99
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
100
+ condition_data : typing.Optional[global___DisplacementDefinition] = ...,
101
+ ) -> None: ...
102
+ def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
103
+ def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
104
+ global___DisplacementCreationResponse = DisplacementCreationResponse
105
+
106
+ class ChangeDisplacementSpecificationRequest(google.protobuf.message.Message):
107
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
108
+ OBJECT_ID_FIELD_NUMBER: builtins.int
109
+ DISPLACEMENT_SPECIFICATION_FIELD_NUMBER: builtins.int
110
+ @property
111
+ def object_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
112
+ displacement_specification: global___DisplacementSpecification.ValueType = ...
113
+ def __init__(self,
114
+ *,
115
+ object_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
116
+ displacement_specification : global___DisplacementSpecification.ValueType = ...,
117
+ ) -> None: ...
118
+ def HasField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> builtins.bool: ...
119
+ def ClearField(self, field_name: typing_extensions.Literal["displacement_specification",b"displacement_specification","object_id",b"object_id"]) -> None: ...
120
+ global___ChangeDisplacementSpecificationRequest = ChangeDisplacementSpecificationRequest
121
+
122
+ class DisplacementTranslationProperties(google.protobuf.message.Message):
123
+ """Displacement condition definitions
124
+
125
+ """
126
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
127
+ DISPLACEMENT_FIELD_NUMBER: builtins.int
128
+ REMOTE_POINT_FIELD_NUMBER: builtins.int
129
+ @property
130
+ def displacement(self) -> ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities: ...
131
+ @property
132
+ def remote_point(self) -> ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector: ...
133
+ def __init__(self,
134
+ *,
135
+ displacement : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities] = ...,
136
+ remote_point : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector] = ...,
137
+ ) -> None: ...
138
+ def HasField(self, field_name: typing_extensions.Literal["displacement",b"displacement","remote_point",b"remote_point"]) -> builtins.bool: ...
139
+ def ClearField(self, field_name: typing_extensions.Literal["displacement",b"displacement","remote_point",b"remote_point"]) -> None: ...
140
+ global___DisplacementTranslationProperties = DisplacementTranslationProperties
141
+
142
+ class DisplacementRotationProperties(google.protobuf.message.Message):
143
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
144
+ ROTATION_FIELD_NUMBER: builtins.int
145
+ REMOTE_POINT_FIELD_NUMBER: builtins.int
146
+ @property
147
+ def rotation(self) -> ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities: ...
148
+ @property
149
+ def remote_point(self) -> ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector: ...
150
+ def __init__(self,
151
+ *,
152
+ rotation : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities] = ...,
153
+ remote_point : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector] = ...,
154
+ ) -> None: ...
155
+ def HasField(self, field_name: typing_extensions.Literal["remote_point",b"remote_point","rotation",b"rotation"]) -> builtins.bool: ...
156
+ def ClearField(self, field_name: typing_extensions.Literal["remote_point",b"remote_point","rotation",b"rotation"]) -> None: ...
157
+ global___DisplacementRotationProperties = DisplacementRotationProperties
158
+
159
+ class DisplacementCombinedProperties(google.protobuf.message.Message):
160
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
161
+ DISPLACEMENT_FIELD_NUMBER: builtins.int
162
+ ROTATION_FIELD_NUMBER: builtins.int
163
+ REMOTE_POINT_FIELD_NUMBER: builtins.int
164
+ @property
165
+ def displacement(self) -> ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities: ...
166
+ @property
167
+ def rotation(self) -> ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities: ...
168
+ @property
169
+ def remote_point(self) -> ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector: ...
170
+ def __init__(self,
171
+ *,
172
+ displacement : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities] = ...,
173
+ rotation : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities] = ...,
174
+ remote_point : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector] = ...,
175
+ ) -> None: ...
176
+ def HasField(self, field_name: typing_extensions.Literal["displacement",b"displacement","remote_point",b"remote_point","rotation",b"rotation"]) -> builtins.bool: ...
177
+ def ClearField(self, field_name: typing_extensions.Literal["displacement",b"displacement","remote_point",b"remote_point","rotation",b"rotation"]) -> None: ...
178
+ global___DisplacementCombinedProperties = DisplacementCombinedProperties
179
+
180
+ class DisplacementDefinition(google.protobuf.message.Message):
181
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
182
+ ID_FIELD_NUMBER: builtins.int
183
+ PARENT_ID_FIELD_NUMBER: builtins.int
184
+ LABEL_FIELD_NUMBER: builtins.int
185
+ LOCATIONS_FIELD_NUMBER: builtins.int
186
+ SUPPRESSED_FIELD_NUMBER: builtins.int
187
+ DISPLACEMENT_FIELD_NUMBER: builtins.int
188
+ @property
189
+ def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
190
+ @property
191
+ def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
192
+ label: typing.Text = ...
193
+ @property
194
+ def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
195
+ suppressed: builtins.bool = ...
196
+ @property
197
+ def displacement(self) -> global___DisplacementCombinedProperties: ...
198
+ def __init__(self,
199
+ *,
200
+ id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
201
+ parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
202
+ label : typing.Text = ...,
203
+ locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
204
+ suppressed : builtins.bool = ...,
205
+ displacement : typing.Optional[global___DisplacementCombinedProperties] = ...,
206
+ ) -> None: ...
207
+ def HasField(self, field_name: typing_extensions.Literal["displacement",b"displacement","id",b"id","parent_id",b"parent_id"]) -> builtins.bool: ...
208
+ def ClearField(self, field_name: typing_extensions.Literal["displacement",b"displacement","id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
209
+ global___DisplacementDefinition = DisplacementDefinition