ansys-api-discovery 0.6.3__py3-none-any.whl → 0.6.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ansys-api-discovery might be problematic. Click here for more details.

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.4.dist-info}/METADATA +13 -4
  152. ansys_api_discovery-0.6.4.dist-info/RECORD +200 -0
  153. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.4.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.4.dist-info}/LICENSE +0 -0
  167. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.4.dist-info}/entry_points.txt +0 -0
  168. {ansys_api_discovery-0.6.3.dist-info → ansys_api_discovery-0.6.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,218 @@
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.support_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class SupportStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateSupportFixed: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
14
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse] = ...
15
+ """Support condition methods"""
16
+
17
+ CreateSupportHinged: grpc.UnaryUnaryMultiCallable[
18
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
19
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse] = ...
20
+
21
+ CreateSupportSliding: grpc.UnaryUnaryMultiCallable[
22
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
23
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse] = ...
24
+
25
+ CreateSupportBall: grpc.UnaryUnaryMultiCallable[
26
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
27
+ ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse] = ...
28
+
29
+ CreateSupportDisplaced: grpc.UnaryUnaryMultiCallable[
30
+ ansys.api.discovery.v0.conditions.support_pb2.SupportDisplacedCreationRequest,
31
+ ansys.api.discovery.v0.conditions.support_pb2.SupportDisplacedCreationResponse] = ...
32
+
33
+ ChangeSupportLocation: grpc.UnaryUnaryMultiCallable[
34
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
35
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
36
+
37
+ ChangeSupportSpecification: grpc.UnaryUnaryMultiCallable[
38
+ ansys.api.discovery.v0.conditions.support_pb2.ChangeSupportSpecificationRequest,
39
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
40
+
41
+ ChangeSupportDisplacedOrientation: grpc.UnaryUnaryMultiCallable[
42
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDirectionRequest,
43
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
44
+
45
+ ChangeSupportDisplacedDX: grpc.UnaryUnaryMultiCallable[
46
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
47
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
48
+
49
+ ChangeSupportDisplacedDY: grpc.UnaryUnaryMultiCallable[
50
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
51
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
52
+
53
+ ChangeSupportDisplacedDZ: grpc.UnaryUnaryMultiCallable[
54
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
55
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
56
+
57
+ ChangeSupportDisplacedRX: grpc.UnaryUnaryMultiCallable[
58
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
59
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
60
+
61
+ ChangeSupportDisplacedRY: grpc.UnaryUnaryMultiCallable[
62
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
63
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
64
+
65
+ ChangeSupportDisplacedRZ: grpc.UnaryUnaryMultiCallable[
66
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
67
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
68
+
69
+ ChangeSupportDisplacedIsFixedDX: grpc.UnaryUnaryMultiCallable[
70
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
71
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
72
+
73
+ ChangeSupportDisplacedIsFixedDY: grpc.UnaryUnaryMultiCallable[
74
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
75
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
76
+
77
+ ChangeSupportDisplacedIsFixedDZ: grpc.UnaryUnaryMultiCallable[
78
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
79
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
80
+
81
+ ChangeSupportDisplacedIsFixedRX: grpc.UnaryUnaryMultiCallable[
82
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
83
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
84
+
85
+ ChangeSupportDisplacedIsFixedRY: grpc.UnaryUnaryMultiCallable[
86
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
87
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
88
+
89
+ ChangeSupportDisplacedIsFixedRZ: grpc.UnaryUnaryMultiCallable[
90
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
91
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
92
+
93
+
94
+ class SupportServicer(metaclass=abc.ABCMeta):
95
+ @abc.abstractmethod
96
+ def CreateSupportFixed(self,
97
+ request: ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
98
+ context: grpc.ServicerContext,
99
+ ) -> ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse:
100
+ """Support condition methods"""
101
+ pass
102
+
103
+ @abc.abstractmethod
104
+ def CreateSupportHinged(self,
105
+ request: ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
106
+ context: grpc.ServicerContext,
107
+ ) -> ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse: ...
108
+
109
+ @abc.abstractmethod
110
+ def CreateSupportSliding(self,
111
+ request: ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
112
+ context: grpc.ServicerContext,
113
+ ) -> ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse: ...
114
+
115
+ @abc.abstractmethod
116
+ def CreateSupportBall(self,
117
+ request: ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationRequest,
118
+ context: grpc.ServicerContext,
119
+ ) -> ansys.api.discovery.v0.conditions.support_pb2.SupportGeneralCreationResponse: ...
120
+
121
+ @abc.abstractmethod
122
+ def CreateSupportDisplaced(self,
123
+ request: ansys.api.discovery.v0.conditions.support_pb2.SupportDisplacedCreationRequest,
124
+ context: grpc.ServicerContext,
125
+ ) -> ansys.api.discovery.v0.conditions.support_pb2.SupportDisplacedCreationResponse: ...
126
+
127
+ @abc.abstractmethod
128
+ def ChangeSupportLocation(self,
129
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
130
+ context: grpc.ServicerContext,
131
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
132
+
133
+ @abc.abstractmethod
134
+ def ChangeSupportSpecification(self,
135
+ request: ansys.api.discovery.v0.conditions.support_pb2.ChangeSupportSpecificationRequest,
136
+ context: grpc.ServicerContext,
137
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
138
+
139
+ @abc.abstractmethod
140
+ def ChangeSupportDisplacedOrientation(self,
141
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDirectionRequest,
142
+ context: grpc.ServicerContext,
143
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
144
+
145
+ @abc.abstractmethod
146
+ def ChangeSupportDisplacedDX(self,
147
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
148
+ context: grpc.ServicerContext,
149
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
150
+
151
+ @abc.abstractmethod
152
+ def ChangeSupportDisplacedDY(self,
153
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
154
+ context: grpc.ServicerContext,
155
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
156
+
157
+ @abc.abstractmethod
158
+ def ChangeSupportDisplacedDZ(self,
159
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
160
+ context: grpc.ServicerContext,
161
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
162
+
163
+ @abc.abstractmethod
164
+ def ChangeSupportDisplacedRX(self,
165
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
166
+ context: grpc.ServicerContext,
167
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
168
+
169
+ @abc.abstractmethod
170
+ def ChangeSupportDisplacedRY(self,
171
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
172
+ context: grpc.ServicerContext,
173
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
174
+
175
+ @abc.abstractmethod
176
+ def ChangeSupportDisplacedRZ(self,
177
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
178
+ context: grpc.ServicerContext,
179
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
180
+
181
+ @abc.abstractmethod
182
+ def ChangeSupportDisplacedIsFixedDX(self,
183
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
184
+ context: grpc.ServicerContext,
185
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
186
+
187
+ @abc.abstractmethod
188
+ def ChangeSupportDisplacedIsFixedDY(self,
189
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
190
+ context: grpc.ServicerContext,
191
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
192
+
193
+ @abc.abstractmethod
194
+ def ChangeSupportDisplacedIsFixedDZ(self,
195
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
196
+ context: grpc.ServicerContext,
197
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
198
+
199
+ @abc.abstractmethod
200
+ def ChangeSupportDisplacedIsFixedRX(self,
201
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
202
+ context: grpc.ServicerContext,
203
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
204
+
205
+ @abc.abstractmethod
206
+ def ChangeSupportDisplacedIsFixedRY(self,
207
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
208
+ context: grpc.ServicerContext,
209
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
210
+
211
+ @abc.abstractmethod
212
+ def ChangeSupportDisplacedIsFixedRZ(self,
213
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
214
+ context: grpc.ServicerContext,
215
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
216
+
217
+
218
+ def add_SupportServicer_to_server(servicer: SupportServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,58 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.velocity;
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 Velocity
11
+ {
12
+ //Velocity condition methods
13
+ rpc CreateVelocity(VelocityCreationRequest) returns (VelocityCreationResponse);
14
+
15
+ rpc ChangeVelocityLocation(ChangeLocationRequest) returns(ChangeResponse);
16
+
17
+ rpc ChangeVelocityOrientation(ChangeDirectionRequest) returns(ChangeResponse);
18
+
19
+ rpc ChangeVelocityRX(ChangeQuantityRequest) returns (ChangeResponse);
20
+ rpc ChangeVelocityRY(ChangeQuantityRequest) returns (ChangeResponse);
21
+ rpc ChangeVelocityRZ(ChangeQuantityRequest) returns (ChangeResponse);
22
+ rpc ChangeVelocityRotationalMagnitude(ChangeQuantityRequest) returns (ChangeResponse);
23
+
24
+ rpc ChangeVelocityIsFixedRX(ChangeBooleanRequest) returns (ChangeResponse);
25
+ rpc ChangeVelocityIsFixedRY(ChangeBooleanRequest) returns (ChangeResponse);
26
+ rpc ChangeVelocityIsFixedRZ(ChangeBooleanRequest) returns (ChangeResponse);
27
+
28
+ rpc ChangeVelocityUseRemotePointEnabled(ChangeBooleanRequest) returns (ChangeResponse);
29
+ rpc ChangeVelocityRemotePositionX(ChangeQuantityRequest) returns (ChangeResponse);
30
+ rpc ChangeVelocityRemotePositionY(ChangeQuantityRequest) returns (ChangeResponse);
31
+ rpc ChangeVelocityRemotePositionZ(ChangeQuantityRequest) returns (ChangeResponse);
32
+ }
33
+
34
+ //Velocity
35
+ message VelocityCreationRequest{
36
+ ScopedCreationData creation_data = 1;
37
+ VelocityProperties velocity_properties = 2;
38
+ }
39
+
40
+ message VelocityCreationResponse{
41
+ CreationResponse condition_response = 1;
42
+ VelocityDefinition condition_data = 2;
43
+ }
44
+
45
+ // Velocity condition definitions
46
+ message VelocityProperties {
47
+ VectorOfOptionalQuantities velocity = 1;
48
+ OptionalVector remote_point = 2;
49
+ }
50
+
51
+ message VelocityDefinition {
52
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
53
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
54
+ string label = 3;
55
+ repeated string locations = 4;
56
+ bool suppressed = 5;
57
+ VelocityProperties velocity = 6;
58
+ }
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/conditions/velocity.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'\n0ansys/api/discovery/v0/conditions/velocity.proto\x12*ansys.api.discovery.v0.conditions.velocity\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb9\x01\n\x17VelocityCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12[\n\x13velocity_properties\x18\x02 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.velocity.VelocityProperties\"\xb8\x01\n\x18VelocityCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12V\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.velocity.VelocityDefinition\"\x98\x01\n\x12VelocityProperties\x12\x44\n\x08velocity\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\"\x91\x02\n\x12VelocityDefinition\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\x12P\n\x08velocity\x18\x06 \x01(\x0b\x32>.ansys.api.discovery.v0.conditions.velocity.VelocityProperties2\x83\r\n\x08Velocity\x12\x9b\x01\n\x0e\x43reateVelocity\x12\x43.ansys.api.discovery.v0.conditions.velocity.VelocityCreationRequest\x1a\x44.ansys.api.discovery.v0.conditions.velocity.VelocityCreationResponse\x12o\n\x16\x43hangeVelocityLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x19\x43hangeVelocityOrientation\x12..ansys.api.discovery.v0.ChangeDirectionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12i\n\x10\x43hangeVelocityRX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12i\n\x10\x43hangeVelocityRY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12i\n\x10\x43hangeVelocityRZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12z\n!ChangeVelocityRotationalMagnitude\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12o\n\x17\x43hangeVelocityIsFixedRX\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12o\n\x17\x43hangeVelocityIsFixedRY\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12o\n\x17\x43hangeVelocityIsFixedRZ\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n#ChangeVelocityUseRemotePointEnabled\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12v\n\x1d\x43hangeVelocityRemotePositionX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12v\n\x1d\x43hangeVelocityRemotePositionY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12v\n\x1d\x43hangeVelocityRemotePositionZ\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.velocity_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
+ _VELOCITYCREATIONREQUEST._serialized_start=177
27
+ _VELOCITYCREATIONREQUEST._serialized_end=362
28
+ _VELOCITYCREATIONRESPONSE._serialized_start=365
29
+ _VELOCITYCREATIONRESPONSE._serialized_end=549
30
+ _VELOCITYPROPERTIES._serialized_start=552
31
+ _VELOCITYPROPERTIES._serialized_end=704
32
+ _VELOCITYDEFINITION._serialized_start=707
33
+ _VELOCITYDEFINITION._serialized_end=980
34
+ _VELOCITY._serialized_start=983
35
+ _VELOCITY._serialized_end=2650
36
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,98 @@
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 VelocityCreationRequest(google.protobuf.message.Message):
17
+ """Velocity"""
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
19
+ CREATION_DATA_FIELD_NUMBER: builtins.int
20
+ VELOCITY_PROPERTIES_FIELD_NUMBER: builtins.int
21
+ @property
22
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
23
+ @property
24
+ def velocity_properties(self) -> global___VelocityProperties: ...
25
+ def __init__(self,
26
+ *,
27
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
28
+ velocity_properties : typing.Optional[global___VelocityProperties] = ...,
29
+ ) -> None: ...
30
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","velocity_properties",b"velocity_properties"]) -> builtins.bool: ...
31
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","velocity_properties",b"velocity_properties"]) -> None: ...
32
+ global___VelocityCreationRequest = VelocityCreationRequest
33
+
34
+ class VelocityCreationResponse(google.protobuf.message.Message):
35
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
36
+ CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
37
+ CONDITION_DATA_FIELD_NUMBER: builtins.int
38
+ @property
39
+ def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
40
+ @property
41
+ def condition_data(self) -> global___VelocityDefinition: ...
42
+ def __init__(self,
43
+ *,
44
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
45
+ condition_data : typing.Optional[global___VelocityDefinition] = ...,
46
+ ) -> None: ...
47
+ def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
48
+ def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
49
+ global___VelocityCreationResponse = VelocityCreationResponse
50
+
51
+ class VelocityProperties(google.protobuf.message.Message):
52
+ """Velocity condition definitions"""
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
54
+ VELOCITY_FIELD_NUMBER: builtins.int
55
+ REMOTE_POINT_FIELD_NUMBER: builtins.int
56
+ @property
57
+ def velocity(self) -> ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities: ...
58
+ @property
59
+ def remote_point(self) -> ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector: ...
60
+ def __init__(self,
61
+ *,
62
+ velocity : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.VectorOfOptionalQuantities] = ...,
63
+ remote_point : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.OptionalVector] = ...,
64
+ ) -> None: ...
65
+ def HasField(self, field_name: typing_extensions.Literal["remote_point",b"remote_point","velocity",b"velocity"]) -> builtins.bool: ...
66
+ def ClearField(self, field_name: typing_extensions.Literal["remote_point",b"remote_point","velocity",b"velocity"]) -> None: ...
67
+ global___VelocityProperties = VelocityProperties
68
+
69
+ class VelocityDefinition(google.protobuf.message.Message):
70
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
71
+ ID_FIELD_NUMBER: builtins.int
72
+ PARENT_ID_FIELD_NUMBER: builtins.int
73
+ LABEL_FIELD_NUMBER: builtins.int
74
+ LOCATIONS_FIELD_NUMBER: builtins.int
75
+ SUPPRESSED_FIELD_NUMBER: builtins.int
76
+ VELOCITY_FIELD_NUMBER: builtins.int
77
+ @property
78
+ def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
79
+ @property
80
+ def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
81
+ label: typing.Text = ...
82
+ @property
83
+ def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
84
+ suppressed: builtins.bool = ...
85
+ @property
86
+ def velocity(self) -> global___VelocityProperties: ...
87
+ def __init__(self,
88
+ *,
89
+ id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
90
+ parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
91
+ label : typing.Text = ...,
92
+ locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
93
+ suppressed : builtins.bool = ...,
94
+ velocity : typing.Optional[global___VelocityProperties] = ...,
95
+ ) -> None: ...
96
+ def HasField(self, field_name: typing_extensions.Literal["id",b"id","parent_id",b"parent_id","velocity",b"velocity"]) -> builtins.bool: ...
97
+ def ClearField(self, field_name: typing_extensions.Literal["id",b"id","label",b"label","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed","velocity",b"velocity"]) -> None: ...
98
+ global___VelocityDefinition = VelocityDefinition