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,266 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+ import abc
6
+ import ansys.api.discovery.v0.connections.contact_pb2
7
+ import ansys.api.discovery.v0.connections.contactgroup_pb2
8
+ import ansys.api.discovery.v0.discoverymodels_pb2
9
+ import grpc
10
+
11
+ class ContactGroupStub:
12
+ def __init__(self, channel: grpc.Channel) -> None: ...
13
+ ChangeContactSide1Location: grpc.UnaryUnaryMultiCallable[
14
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
15
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
16
+
17
+ ChangeContactSide2Location: grpc.UnaryUnaryMultiCallable[
18
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
19
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
20
+
21
+ ChangeContactType: grpc.UnaryUnaryMultiCallable[
22
+ ansys.api.discovery.v0.connections.contact_pb2.ChangeContactTypeRequest,
23
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
24
+
25
+ Split: grpc.UnaryUnaryMultiCallable[
26
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeEmptyRequest,
27
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
28
+
29
+ Convert: grpc.UnaryUnaryMultiCallable[
30
+ ansys.api.discovery.v0.connections.contactgroup_pb2.ConvertContactGroupChangeRequest,
31
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
32
+
33
+ ChangeFrictionCoefficient: grpc.UnaryUnaryMultiCallable[
34
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
35
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
36
+
37
+ ChangeStiffnessFactor: grpc.UnaryUnaryMultiCallable[
38
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
39
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
40
+
41
+ ChangeDetectionRadiusFactor: grpc.UnaryUnaryMultiCallable[
42
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
43
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
44
+
45
+ ChangeOffset: grpc.UnaryUnaryMultiCallable[
46
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
47
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
48
+
49
+ ChangeShearStrength: grpc.UnaryUnaryMultiCallable[
50
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
51
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
52
+
53
+ ChangeTensileStrength: grpc.UnaryUnaryMultiCallable[
54
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
55
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
56
+
57
+ ChangeAreStrengthLimitsSet: grpc.UnaryUnaryMultiCallable[
58
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
59
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
60
+
61
+ ChangeAdjustGapOrOverlap: grpc.UnaryUnaryMultiCallable[
62
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
63
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
64
+
65
+ ChangeMakeJustTouching: grpc.UnaryUnaryMultiCallable[
66
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
67
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
68
+
69
+ ChangeIdealize: grpc.UnaryUnaryMultiCallable[
70
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
71
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
72
+
73
+ ChangeSpecifyThermalConductance: grpc.UnaryUnaryMultiCallable[
74
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
75
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
76
+
77
+ ChangeSpecifyThermalConductanceFromThicknessAndMaterial: grpc.UnaryUnaryMultiCallable[
78
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
79
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
80
+
81
+ ChangeSpecifyElectricConductance: grpc.UnaryUnaryMultiCallable[
82
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
83
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
84
+
85
+ ChangeSpecifyElectricConductanceFromThicknessAndMaterial: grpc.UnaryUnaryMultiCallable[
86
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
87
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
88
+
89
+ ChangeThermalContactConductance: grpc.UnaryUnaryMultiCallable[
90
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
91
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
92
+
93
+ ChangeThermalConductanceThickness: grpc.UnaryUnaryMultiCallable[
94
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
95
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
96
+
97
+ ChangeElectricContactConductance: grpc.UnaryUnaryMultiCallable[
98
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
99
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
100
+
101
+ ChangeElectricConductanceThickness: grpc.UnaryUnaryMultiCallable[
102
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
103
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
104
+
105
+ ChangeDetectionDistanceLow: grpc.UnaryUnaryMultiCallable[
106
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
107
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
108
+
109
+ ChangeDetectionDistanceHigh: grpc.UnaryUnaryMultiCallable[
110
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
111
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
112
+
113
+
114
+ class ContactGroupServicer(metaclass=abc.ABCMeta):
115
+ @abc.abstractmethod
116
+ def ChangeContactSide1Location(self,
117
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
118
+ context: grpc.ServicerContext,
119
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
120
+
121
+ @abc.abstractmethod
122
+ def ChangeContactSide2Location(self,
123
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
124
+ context: grpc.ServicerContext,
125
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
126
+
127
+ @abc.abstractmethod
128
+ def ChangeContactType(self,
129
+ request: ansys.api.discovery.v0.connections.contact_pb2.ChangeContactTypeRequest,
130
+ context: grpc.ServicerContext,
131
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
132
+
133
+ @abc.abstractmethod
134
+ def Split(self,
135
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeEmptyRequest,
136
+ context: grpc.ServicerContext,
137
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
138
+
139
+ @abc.abstractmethod
140
+ def Convert(self,
141
+ request: ansys.api.discovery.v0.connections.contactgroup_pb2.ConvertContactGroupChangeRequest,
142
+ context: grpc.ServicerContext,
143
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
144
+
145
+ @abc.abstractmethod
146
+ def ChangeFrictionCoefficient(self,
147
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
148
+ context: grpc.ServicerContext,
149
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
150
+
151
+ @abc.abstractmethod
152
+ def ChangeStiffnessFactor(self,
153
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
154
+ context: grpc.ServicerContext,
155
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
156
+
157
+ @abc.abstractmethod
158
+ def ChangeDetectionRadiusFactor(self,
159
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeDoubleRequest,
160
+ context: grpc.ServicerContext,
161
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
162
+
163
+ @abc.abstractmethod
164
+ def ChangeOffset(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 ChangeShearStrength(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 ChangeTensileStrength(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 ChangeAreStrengthLimitsSet(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 ChangeAdjustGapOrOverlap(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 ChangeMakeJustTouching(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 ChangeIdealize(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 ChangeSpecifyThermalConductance(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 ChangeSpecifyThermalConductanceFromThicknessAndMaterial(self,
213
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
214
+ context: grpc.ServicerContext,
215
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
216
+
217
+ @abc.abstractmethod
218
+ def ChangeSpecifyElectricConductance(self,
219
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
220
+ context: grpc.ServicerContext,
221
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
222
+
223
+ @abc.abstractmethod
224
+ def ChangeSpecifyElectricConductanceFromThicknessAndMaterial(self,
225
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
226
+ context: grpc.ServicerContext,
227
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
228
+
229
+ @abc.abstractmethod
230
+ def ChangeThermalContactConductance(self,
231
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
232
+ context: grpc.ServicerContext,
233
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
234
+
235
+ @abc.abstractmethod
236
+ def ChangeThermalConductanceThickness(self,
237
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
238
+ context: grpc.ServicerContext,
239
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
240
+
241
+ @abc.abstractmethod
242
+ def ChangeElectricContactConductance(self,
243
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
244
+ context: grpc.ServicerContext,
245
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
246
+
247
+ @abc.abstractmethod
248
+ def ChangeElectricConductanceThickness(self,
249
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
250
+ context: grpc.ServicerContext,
251
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
252
+
253
+ @abc.abstractmethod
254
+ def ChangeDetectionDistanceLow(self,
255
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
256
+ context: grpc.ServicerContext,
257
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
258
+
259
+ @abc.abstractmethod
260
+ def ChangeDetectionDistanceHigh(self,
261
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
262
+ context: grpc.ServicerContext,
263
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
264
+
265
+
266
+ def add_ContactGroupServicer_to_server(servicer: ContactGroupServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,56 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.connections.joint;
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.Connections";
9
+
10
+ service Joint
11
+ {
12
+ //Joint condition methods
13
+ rpc CreateJoint(JointCreationRequest) returns (JointCreationResponse);
14
+
15
+ rpc ChangeJointSide1Location(ChangeLocationRequest) returns(ChangeResponse);
16
+ rpc ChangeJointSide2Location(ChangeLocationRequest) returns(ChangeResponse);
17
+
18
+ rpc ChangeJointType(ChangeJointTypeRequest) returns (ChangeResponse);
19
+
20
+ }
21
+
22
+ message JointCreationRequest{
23
+ DoubleSidedScopedCreationData creation_data = 1;
24
+ JointProperties joint_properties = 2;
25
+ }
26
+
27
+ message ChangeJointTypeRequest{
28
+ ansys.api.dbu.v0.EntityIdentifier object_id = 1;
29
+ JointType joint_type = 2;
30
+ }
31
+
32
+ message JointCreationResponse{
33
+ CreationResponse condition_response = 1;
34
+ JointDefinition condition_data = 2;
35
+ }
36
+
37
+ // Joint condition definitions
38
+ enum JointType {
39
+ FIXED_JOINT = 0;
40
+ HINGED_JOINT = 1;
41
+ SPHERICAL_JOINT = 2;
42
+ }
43
+
44
+ message JointProperties {
45
+ JointType joint_type = 1;
46
+ }
47
+
48
+ message JointDefinition {
49
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
50
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
51
+ string label = 3;
52
+ repeated string side1_locations = 4;
53
+ repeated string side2_locations = 5;
54
+ bool suppressed = 6;
55
+ JointProperties joint = 7;
56
+ }
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/connections/joint.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/connections/joint.proto\x12(ansys.api.discovery.v0.connections.joint\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb9\x01\n\x14JointCreationRequest\x12L\n\rcreation_data\x18\x01 \x01(\x0b\x32\x35.ansys.api.discovery.v0.DoubleSidedScopedCreationData\x12S\n\x10joint_properties\x18\x02 \x01(\x0b\x32\x39.ansys.api.discovery.v0.connections.joint.JointProperties\"\x98\x01\n\x16\x43hangeJointTypeRequest\x12\x35\n\tobject_id\x18\x01 \x01(\x0b\x32\".ansys.api.dbu.v0.EntityIdentifier\x12G\n\njoint_type\x18\x02 \x01(\x0e\x32\x33.ansys.api.discovery.v0.connections.joint.JointType\"\xb0\x01\n\x15JointCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12Q\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32\x39.ansys.api.discovery.v0.connections.joint.JointDefinition\"Z\n\x0fJointProperties\x12G\n\njoint_type\x18\x01 \x01(\x0e\x32\x33.ansys.api.discovery.v0.connections.joint.JointType\"\xa5\x02\n\x0fJointDefinition\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\x17\n\x0fside1_locations\x18\x04 \x03(\t\x12\x17\n\x0fside2_locations\x18\x05 \x03(\t\x12\x12\n\nsuppressed\x18\x06 \x01(\x08\x12H\n\x05joint\x18\x07 \x01(\x0b\x32\x39.ansys.api.discovery.v0.connections.joint.JointProperties*C\n\tJointType\x12\x0f\n\x0b\x46IXED_JOINT\x10\x00\x12\x10\n\x0cHINGED_JOINT\x10\x01\x12\x13\n\x0fSPHERICAL_JOINT\x10\x02\x32\xfb\x03\n\x05Joint\x12\x8e\x01\n\x0b\x43reateJoint\x12>.ansys.api.discovery.v0.connections.joint.JointCreationRequest\x1a?.ansys.api.discovery.v0.connections.joint.JointCreationResponse\x12q\n\x18\x43hangeJointSide1Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12q\n\x18\x43hangeJointSide2Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n\x0f\x43hangeJointType\x12@.ansys.api.discovery.v0.connections.joint.ChangeJointTypeRequest\x1a&.ansys.api.discovery.v0.ChangeResponseB%\xaa\x02\"Ansys.Api.Discovery.V0.Connectionsb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.connections.joint_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.Connections'
26
+ _JOINTTYPE._serialized_start=1082
27
+ _JOINTTYPE._serialized_end=1149
28
+ _JOINTCREATIONREQUEST._serialized_start=173
29
+ _JOINTCREATIONREQUEST._serialized_end=358
30
+ _CHANGEJOINTTYPEREQUEST._serialized_start=361
31
+ _CHANGEJOINTTYPEREQUEST._serialized_end=513
32
+ _JOINTCREATIONRESPONSE._serialized_start=516
33
+ _JOINTCREATIONRESPONSE._serialized_end=692
34
+ _JOINTPROPERTIES._serialized_start=694
35
+ _JOINTPROPERTIES._serialized_end=784
36
+ _JOINTDEFINITION._serialized_start=787
37
+ _JOINTDEFINITION._serialized_end=1080
38
+ _JOINT._serialized_start=1152
39
+ _JOINT._serialized_end=1659
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,129 @@
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 _JointType:
18
+ ValueType = typing.NewType('ValueType', builtins.int)
19
+ V: typing_extensions.TypeAlias = ValueType
20
+ class _JointTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_JointType.ValueType], builtins.type):
21
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
22
+ FIXED_JOINT: JointType.ValueType = ... # 0
23
+ HINGED_JOINT: JointType.ValueType = ... # 1
24
+ SPHERICAL_JOINT: JointType.ValueType = ... # 2
25
+ class JointType(_JointType, metaclass=_JointTypeEnumTypeWrapper):
26
+ """Joint condition definitions"""
27
+ pass
28
+
29
+ FIXED_JOINT: JointType.ValueType = ... # 0
30
+ HINGED_JOINT: JointType.ValueType = ... # 1
31
+ SPHERICAL_JOINT: JointType.ValueType = ... # 2
32
+ global___JointType = JointType
33
+
34
+
35
+ class JointCreationRequest(google.protobuf.message.Message):
36
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
37
+ CREATION_DATA_FIELD_NUMBER: builtins.int
38
+ JOINT_PROPERTIES_FIELD_NUMBER: builtins.int
39
+ @property
40
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.DoubleSidedScopedCreationData: ...
41
+ @property
42
+ def joint_properties(self) -> global___JointProperties: ...
43
+ def __init__(self,
44
+ *,
45
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.DoubleSidedScopedCreationData] = ...,
46
+ joint_properties : typing.Optional[global___JointProperties] = ...,
47
+ ) -> None: ...
48
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","joint_properties",b"joint_properties"]) -> builtins.bool: ...
49
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","joint_properties",b"joint_properties"]) -> None: ...
50
+ global___JointCreationRequest = JointCreationRequest
51
+
52
+ class ChangeJointTypeRequest(google.protobuf.message.Message):
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
54
+ OBJECT_ID_FIELD_NUMBER: builtins.int
55
+ JOINT_TYPE_FIELD_NUMBER: builtins.int
56
+ @property
57
+ def object_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.EntityIdentifier: ...
58
+ joint_type: global___JointType.ValueType = ...
59
+ def __init__(self,
60
+ *,
61
+ object_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.EntityIdentifier] = ...,
62
+ joint_type : global___JointType.ValueType = ...,
63
+ ) -> None: ...
64
+ def HasField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> builtins.bool: ...
65
+ def ClearField(self, field_name: typing_extensions.Literal["joint_type",b"joint_type","object_id",b"object_id"]) -> None: ...
66
+ global___ChangeJointTypeRequest = ChangeJointTypeRequest
67
+
68
+ class JointCreationResponse(google.protobuf.message.Message):
69
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
70
+ CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
71
+ CONDITION_DATA_FIELD_NUMBER: builtins.int
72
+ @property
73
+ def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
74
+ @property
75
+ def condition_data(self) -> global___JointDefinition: ...
76
+ def __init__(self,
77
+ *,
78
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
79
+ condition_data : typing.Optional[global___JointDefinition] = ...,
80
+ ) -> None: ...
81
+ def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
82
+ def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
83
+ global___JointCreationResponse = JointCreationResponse
84
+
85
+ class JointProperties(google.protobuf.message.Message):
86
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
87
+ JOINT_TYPE_FIELD_NUMBER: builtins.int
88
+ joint_type: global___JointType.ValueType = ...
89
+ def __init__(self,
90
+ *,
91
+ joint_type : global___JointType.ValueType = ...,
92
+ ) -> None: ...
93
+ def ClearField(self, field_name: typing_extensions.Literal["joint_type",b"joint_type"]) -> None: ...
94
+ global___JointProperties = JointProperties
95
+
96
+ class JointDefinition(google.protobuf.message.Message):
97
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
98
+ ID_FIELD_NUMBER: builtins.int
99
+ PARENT_ID_FIELD_NUMBER: builtins.int
100
+ LABEL_FIELD_NUMBER: builtins.int
101
+ SIDE1_LOCATIONS_FIELD_NUMBER: builtins.int
102
+ SIDE2_LOCATIONS_FIELD_NUMBER: builtins.int
103
+ SUPPRESSED_FIELD_NUMBER: builtins.int
104
+ JOINT_FIELD_NUMBER: builtins.int
105
+ @property
106
+ def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
107
+ @property
108
+ def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
109
+ label: typing.Text = ...
110
+ @property
111
+ def side1_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
112
+ @property
113
+ def side2_locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
114
+ suppressed: builtins.bool = ...
115
+ @property
116
+ def joint(self) -> global___JointProperties: ...
117
+ def __init__(self,
118
+ *,
119
+ id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
120
+ parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
121
+ label : typing.Text = ...,
122
+ side1_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
123
+ side2_locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
124
+ suppressed : builtins.bool = ...,
125
+ joint : typing.Optional[global___JointProperties] = ...,
126
+ ) -> None: ...
127
+ def HasField(self, field_name: typing_extensions.Literal["id",b"id","joint",b"joint","parent_id",b"parent_id"]) -> builtins.bool: ...
128
+ def ClearField(self, field_name: typing_extensions.Literal["id",b"id","joint",b"joint","label",b"label","parent_id",b"parent_id","side1_locations",b"side1_locations","side2_locations",b"side2_locations","suppressed",b"suppressed"]) -> None: ...
129
+ global___JointDefinition = JointDefinition
@@ -0,0 +1,167 @@
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.connections import joint_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__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 JointStub(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.CreateJoint = channel.unary_unary(
19
+ '/ansys.api.discovery.v0.connections.joint.Joint/CreateJoint',
20
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.JointCreationRequest.SerializeToString,
21
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.JointCreationResponse.FromString,
22
+ )
23
+ self.ChangeJointSide1Location = channel.unary_unary(
24
+ '/ansys.api.discovery.v0.connections.joint.Joint/ChangeJointSide1Location',
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.ChangeJointSide2Location = channel.unary_unary(
29
+ '/ansys.api.discovery.v0.connections.joint.Joint/ChangeJointSide2Location',
30
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
31
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
32
+ )
33
+ self.ChangeJointType = channel.unary_unary(
34
+ '/ansys.api.discovery.v0.connections.joint.Joint/ChangeJointType',
35
+ request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.ChangeJointTypeRequest.SerializeToString,
36
+ response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
37
+ )
38
+
39
+
40
+ class JointServicer(object):
41
+ """Missing associated documentation comment in .proto file."""
42
+
43
+ def CreateJoint(self, request, context):
44
+ """Joint condition methods
45
+ """
46
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
47
+ context.set_details('Method not implemented!')
48
+ raise NotImplementedError('Method not implemented!')
49
+
50
+ def ChangeJointSide1Location(self, request, context):
51
+ """Missing associated documentation comment in .proto file."""
52
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
53
+ context.set_details('Method not implemented!')
54
+ raise NotImplementedError('Method not implemented!')
55
+
56
+ def ChangeJointSide2Location(self, request, context):
57
+ """Missing associated documentation comment in .proto file."""
58
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
59
+ context.set_details('Method not implemented!')
60
+ raise NotImplementedError('Method not implemented!')
61
+
62
+ def ChangeJointType(self, request, context):
63
+ """Missing associated documentation comment in .proto file."""
64
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
65
+ context.set_details('Method not implemented!')
66
+ raise NotImplementedError('Method not implemented!')
67
+
68
+
69
+ def add_JointServicer_to_server(servicer, server):
70
+ rpc_method_handlers = {
71
+ 'CreateJoint': grpc.unary_unary_rpc_method_handler(
72
+ servicer.CreateJoint,
73
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.JointCreationRequest.FromString,
74
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.JointCreationResponse.SerializeToString,
75
+ ),
76
+ 'ChangeJointSide1Location': grpc.unary_unary_rpc_method_handler(
77
+ servicer.ChangeJointSide1Location,
78
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
79
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
80
+ ),
81
+ 'ChangeJointSide2Location': grpc.unary_unary_rpc_method_handler(
82
+ servicer.ChangeJointSide2Location,
83
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.FromString,
84
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
85
+ ),
86
+ 'ChangeJointType': grpc.unary_unary_rpc_method_handler(
87
+ servicer.ChangeJointType,
88
+ request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.ChangeJointTypeRequest.FromString,
89
+ response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
90
+ ),
91
+ }
92
+ generic_handler = grpc.method_handlers_generic_handler(
93
+ 'ansys.api.discovery.v0.connections.joint.Joint', rpc_method_handlers)
94
+ server.add_generic_rpc_handlers((generic_handler,))
95
+
96
+
97
+ # This class is part of an EXPERIMENTAL API.
98
+ class Joint(object):
99
+ """Missing associated documentation comment in .proto file."""
100
+
101
+ @staticmethod
102
+ def CreateJoint(request,
103
+ target,
104
+ options=(),
105
+ channel_credentials=None,
106
+ call_credentials=None,
107
+ insecure=False,
108
+ compression=None,
109
+ wait_for_ready=None,
110
+ timeout=None,
111
+ metadata=None):
112
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.joint.Joint/CreateJoint',
113
+ ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.JointCreationRequest.SerializeToString,
114
+ ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.JointCreationResponse.FromString,
115
+ options, channel_credentials,
116
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
117
+
118
+ @staticmethod
119
+ def ChangeJointSide1Location(request,
120
+ target,
121
+ options=(),
122
+ channel_credentials=None,
123
+ call_credentials=None,
124
+ insecure=False,
125
+ compression=None,
126
+ wait_for_ready=None,
127
+ timeout=None,
128
+ metadata=None):
129
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.joint.Joint/ChangeJointSide1Location',
130
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
131
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
132
+ options, channel_credentials,
133
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
134
+
135
+ @staticmethod
136
+ def ChangeJointSide2Location(request,
137
+ target,
138
+ options=(),
139
+ channel_credentials=None,
140
+ call_credentials=None,
141
+ insecure=False,
142
+ compression=None,
143
+ wait_for_ready=None,
144
+ timeout=None,
145
+ metadata=None):
146
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.joint.Joint/ChangeJointSide2Location',
147
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeLocationRequest.SerializeToString,
148
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
149
+ options, channel_credentials,
150
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
151
+
152
+ @staticmethod
153
+ def ChangeJointType(request,
154
+ target,
155
+ options=(),
156
+ channel_credentials=None,
157
+ call_credentials=None,
158
+ insecure=False,
159
+ compression=None,
160
+ wait_for_ready=None,
161
+ timeout=None,
162
+ metadata=None):
163
+ return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.joint.Joint/ChangeJointType',
164
+ ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_joint__pb2.ChangeJointTypeRequest.SerializeToString,
165
+ ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
166
+ options, channel_credentials,
167
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)