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,88 @@
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.mass_pb2
7
+ import ansys.api.discovery.v0.discoverymodels_pb2
8
+ import grpc
9
+
10
+ class MassStub:
11
+ def __init__(self, channel: grpc.Channel) -> None: ...
12
+ CreateMass: grpc.UnaryUnaryMultiCallable[
13
+ ansys.api.discovery.v0.conditions.mass_pb2.MassCreationRequest,
14
+ ansys.api.discovery.v0.conditions.mass_pb2.MassCreationResponse] = ...
15
+ """Mass condition methods"""
16
+
17
+ ChangeMassLocation: grpc.UnaryUnaryMultiCallable[
18
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
19
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
20
+
21
+ ChangeMassMagnitude: grpc.UnaryUnaryMultiCallable[
22
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
23
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
24
+
25
+ ChangeMassUseRemotePointEnabled: grpc.UnaryUnaryMultiCallable[
26
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
27
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
28
+
29
+ ChangeMassRemotePositionX: grpc.UnaryUnaryMultiCallable[
30
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
31
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
32
+
33
+ ChangeMassRemotePositionY: grpc.UnaryUnaryMultiCallable[
34
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
35
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
36
+
37
+ ChangeMassRemotePositionZ: grpc.UnaryUnaryMultiCallable[
38
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
39
+ ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
40
+
41
+
42
+ class MassServicer(metaclass=abc.ABCMeta):
43
+ @abc.abstractmethod
44
+ def CreateMass(self,
45
+ request: ansys.api.discovery.v0.conditions.mass_pb2.MassCreationRequest,
46
+ context: grpc.ServicerContext,
47
+ ) -> ansys.api.discovery.v0.conditions.mass_pb2.MassCreationResponse:
48
+ """Mass condition methods"""
49
+ pass
50
+
51
+ @abc.abstractmethod
52
+ def ChangeMassLocation(self,
53
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeLocationRequest,
54
+ context: grpc.ServicerContext,
55
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
56
+
57
+ @abc.abstractmethod
58
+ def ChangeMassMagnitude(self,
59
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
60
+ context: grpc.ServicerContext,
61
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
62
+
63
+ @abc.abstractmethod
64
+ def ChangeMassUseRemotePointEnabled(self,
65
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeBooleanRequest,
66
+ context: grpc.ServicerContext,
67
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
68
+
69
+ @abc.abstractmethod
70
+ def ChangeMassRemotePositionX(self,
71
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
72
+ context: grpc.ServicerContext,
73
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
74
+
75
+ @abc.abstractmethod
76
+ def ChangeMassRemotePositionY(self,
77
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
78
+ context: grpc.ServicerContext,
79
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
80
+
81
+ @abc.abstractmethod
82
+ def ChangeMassRemotePositionZ(self,
83
+ request: ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
84
+ context: grpc.ServicerContext,
85
+ ) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
86
+
87
+
88
+ def add_MassServicer_to_server(servicer: MassServicer, server: grpc.Server) -> None: ...
@@ -0,0 +1,67 @@
1
+ // Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
2
+ syntax = "proto3";
3
+ package ansys.api.discovery.v0.conditions.moment;
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 Moment
11
+ {
12
+ //Moment condition methods
13
+ rpc CreateMomentLocal(MomentCreationRequest) returns (MomentCreationResponse);
14
+ rpc CreateMomentGlobal(MomentCreationRequest) returns (MomentCreationResponse);
15
+
16
+ rpc ChangeMomentLocation(ChangeLocationRequest) returns(ChangeResponse);
17
+
18
+ rpc ChangeMomentSpecification(ChangeMomentSpecificationRequest) returns(ChangeResponse);
19
+ rpc ChangeMomentOrientation(ChangeDirectionRequest) returns(ChangeResponse);
20
+
21
+ rpc ChangeMomentLocalX(ChangeQuantityRequest) returns (ChangeResponse);
22
+ rpc ChangeMomentLocalY(ChangeQuantityRequest) returns (ChangeResponse);
23
+ rpc ChangeMomentLocalZ(ChangeQuantityRequest) returns (ChangeResponse);
24
+
25
+ rpc ChangeMomentGlobalX(ChangeQuantityRequest) returns (ChangeResponse);
26
+ rpc ChangeMomentGlobalY(ChangeQuantityRequest) returns (ChangeResponse);
27
+ rpc ChangeMomentGlobalZ(ChangeQuantityRequest) returns (ChangeResponse);
28
+ }
29
+
30
+ // Moment
31
+ message MomentCreationRequest{
32
+ ScopedCreationData creation_data = 1;
33
+ MomentProperties moment_properties = 2;
34
+ }
35
+
36
+ message MomentCreationResponse{
37
+ CreationResponse condition_response = 1;
38
+ MomentDefinition condition_data = 2;
39
+ }
40
+
41
+ message ChangeMomentSpecificationRequest{
42
+ ansys.api.dbu.v0.PhysicsEntityIdentifier object_id = 1;
43
+ MomentSpecification moment_specification = 2;
44
+ }
45
+
46
+ // Moment enumerations
47
+
48
+ enum MomentSpecification {
49
+ GLOBAL = 0;
50
+ LOCAL = 1;
51
+ }
52
+
53
+ // Moment condition definitions
54
+
55
+ message MomentProperties {
56
+ QuantityVector moment = 1;
57
+ }
58
+
59
+ message MomentDefinition {
60
+ ansys.api.dbu.v0.PhysicsEntityIdentifier id = 1;
61
+ ansys.api.dbu.v0.PhysicsEntityIdentifier parent_id = 2;
62
+ string label = 3;
63
+ repeated string locations = 4;
64
+ bool suppressed = 5;
65
+ MomentProperties local = 6;
66
+ MomentProperties global = 7;
67
+ }
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: ansys/api/discovery/v0/conditions/moment.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf.internal import builder as _builder
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pool as _descriptor_pool
8
+ from google.protobuf import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from ansys.api.dbu.v0 import dbumodels_pb2 as ansys_dot_api_dot_dbu_dot_v0_dot_dbumodels__pb2
15
+ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.ansys/api/discovery/v0/conditions/moment.proto\x12(ansys.api.discovery.v0.conditions.moment\x1a ansys/api/dbu/v0/dbumodels.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xb1\x01\n\x15MomentCreationRequest\x12\x41\n\rcreation_data\x18\x01 \x01(\x0b\x32*.ansys.api.discovery.v0.ScopedCreationData\x12U\n\x11moment_properties\x18\x02 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.moment.MomentProperties\"\xb2\x01\n\x16MomentCreationResponse\x12\x44\n\x12\x63ondition_response\x18\x01 \x01(\x0b\x32(.ansys.api.discovery.v0.CreationResponse\x12R\n\x0e\x63ondition_data\x18\x02 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.moment.MomentDefinition\"\xbd\x01\n ChangeMomentSpecificationRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12[\n\x14moment_specification\x18\x02 \x01(\x0e\x32=.ansys.api.discovery.v0.conditions.moment.MomentSpecification\"J\n\x10MomentProperties\x12\x36\n\x06moment\x18\x01 \x01(\x0b\x32&.ansys.api.discovery.v0.QuantityVector\"\xd4\x02\n\x10MomentDefinition\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\x12I\n\x05local\x18\x06 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.moment.MomentProperties\x12J\n\x06global\x18\x07 \x01(\x0b\x32:.ansys.api.discovery.v0.conditions.moment.MomentProperties*,\n\x13MomentSpecification\x12\n\n\x06GLOBAL\x10\x00\x12\t\n\x05LOCAL\x10\x01\x32\xc0\n\n\x06Moment\x12\x96\x01\n\x11\x43reateMomentLocal\x12?.ansys.api.discovery.v0.conditions.moment.MomentCreationRequest\x1a@.ansys.api.discovery.v0.conditions.moment.MomentCreationResponse\x12\x97\x01\n\x12\x43reateMomentGlobal\x12?.ansys.api.discovery.v0.conditions.moment.MomentCreationRequest\x1a@.ansys.api.discovery.v0.conditions.moment.MomentCreationResponse\x12m\n\x14\x43hangeMomentLocation\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8f\x01\n\x19\x43hangeMomentSpecification\x12J.ansys.api.discovery.v0.conditions.moment.ChangeMomentSpecificationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12q\n\x17\x43hangeMomentOrientation\x12..ansys.api.discovery.v0.ChangeDirectionRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeMomentLocalX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeMomentLocalY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12k\n\x12\x43hangeMomentLocalZ\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeMomentGlobalX\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeMomentGlobalY\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeMomentGlobalZ\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.moment_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
+ _MOMENTSPECIFICATION._serialized_start=1144
27
+ _MOMENTSPECIFICATION._serialized_end=1188
28
+ _MOMENTCREATIONREQUEST._serialized_start=173
29
+ _MOMENTCREATIONREQUEST._serialized_end=350
30
+ _MOMENTCREATIONRESPONSE._serialized_start=353
31
+ _MOMENTCREATIONRESPONSE._serialized_end=531
32
+ _CHANGEMOMENTSPECIFICATIONREQUEST._serialized_start=534
33
+ _CHANGEMOMENTSPECIFICATIONREQUEST._serialized_end=723
34
+ _MOMENTPROPERTIES._serialized_start=725
35
+ _MOMENTPROPERTIES._serialized_end=799
36
+ _MOMENTDEFINITION._serialized_start=802
37
+ _MOMENTDEFINITION._serialized_end=1142
38
+ _MOMENT._serialized_start=1191
39
+ _MOMENT._serialized_end=2535
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,132 @@
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 _MomentSpecification:
18
+ ValueType = typing.NewType('ValueType', builtins.int)
19
+ V: typing_extensions.TypeAlias = ValueType
20
+ class _MomentSpecificationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_MomentSpecification.ValueType], builtins.type):
21
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor = ...
22
+ GLOBAL: MomentSpecification.ValueType = ... # 0
23
+ LOCAL: MomentSpecification.ValueType = ... # 1
24
+ class MomentSpecification(_MomentSpecification, metaclass=_MomentSpecificationEnumTypeWrapper):
25
+ """Moment enumerations
26
+
27
+ """
28
+ pass
29
+
30
+ GLOBAL: MomentSpecification.ValueType = ... # 0
31
+ LOCAL: MomentSpecification.ValueType = ... # 1
32
+ global___MomentSpecification = MomentSpecification
33
+
34
+
35
+ class MomentCreationRequest(google.protobuf.message.Message):
36
+ """Moment"""
37
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
38
+ CREATION_DATA_FIELD_NUMBER: builtins.int
39
+ MOMENT_PROPERTIES_FIELD_NUMBER: builtins.int
40
+ @property
41
+ def creation_data(self) -> ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData: ...
42
+ @property
43
+ def moment_properties(self) -> global___MomentProperties: ...
44
+ def __init__(self,
45
+ *,
46
+ creation_data : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.ScopedCreationData] = ...,
47
+ moment_properties : typing.Optional[global___MomentProperties] = ...,
48
+ ) -> None: ...
49
+ def HasField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","moment_properties",b"moment_properties"]) -> builtins.bool: ...
50
+ def ClearField(self, field_name: typing_extensions.Literal["creation_data",b"creation_data","moment_properties",b"moment_properties"]) -> None: ...
51
+ global___MomentCreationRequest = MomentCreationRequest
52
+
53
+ class MomentCreationResponse(google.protobuf.message.Message):
54
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
55
+ CONDITION_RESPONSE_FIELD_NUMBER: builtins.int
56
+ CONDITION_DATA_FIELD_NUMBER: builtins.int
57
+ @property
58
+ def condition_response(self) -> ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse: ...
59
+ @property
60
+ def condition_data(self) -> global___MomentDefinition: ...
61
+ def __init__(self,
62
+ *,
63
+ condition_response : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.CreationResponse] = ...,
64
+ condition_data : typing.Optional[global___MomentDefinition] = ...,
65
+ ) -> None: ...
66
+ def HasField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> builtins.bool: ...
67
+ def ClearField(self, field_name: typing_extensions.Literal["condition_data",b"condition_data","condition_response",b"condition_response"]) -> None: ...
68
+ global___MomentCreationResponse = MomentCreationResponse
69
+
70
+ class ChangeMomentSpecificationRequest(google.protobuf.message.Message):
71
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
72
+ OBJECT_ID_FIELD_NUMBER: builtins.int
73
+ MOMENT_SPECIFICATION_FIELD_NUMBER: builtins.int
74
+ @property
75
+ def object_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
76
+ moment_specification: global___MomentSpecification.ValueType = ...
77
+ def __init__(self,
78
+ *,
79
+ object_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
80
+ moment_specification : global___MomentSpecification.ValueType = ...,
81
+ ) -> None: ...
82
+ def HasField(self, field_name: typing_extensions.Literal["object_id",b"object_id"]) -> builtins.bool: ...
83
+ def ClearField(self, field_name: typing_extensions.Literal["moment_specification",b"moment_specification","object_id",b"object_id"]) -> None: ...
84
+ global___ChangeMomentSpecificationRequest = ChangeMomentSpecificationRequest
85
+
86
+ class MomentProperties(google.protobuf.message.Message):
87
+ """Moment condition definitions
88
+
89
+ """
90
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
91
+ MOMENT_FIELD_NUMBER: builtins.int
92
+ @property
93
+ def moment(self) -> ansys.api.discovery.v0.discoverymodels_pb2.QuantityVector: ...
94
+ def __init__(self,
95
+ *,
96
+ moment : typing.Optional[ansys.api.discovery.v0.discoverymodels_pb2.QuantityVector] = ...,
97
+ ) -> None: ...
98
+ def HasField(self, field_name: typing_extensions.Literal["moment",b"moment"]) -> builtins.bool: ...
99
+ def ClearField(self, field_name: typing_extensions.Literal["moment",b"moment"]) -> None: ...
100
+ global___MomentProperties = MomentProperties
101
+
102
+ class MomentDefinition(google.protobuf.message.Message):
103
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor = ...
104
+ ID_FIELD_NUMBER: builtins.int
105
+ PARENT_ID_FIELD_NUMBER: builtins.int
106
+ LABEL_FIELD_NUMBER: builtins.int
107
+ LOCATIONS_FIELD_NUMBER: builtins.int
108
+ SUPPRESSED_FIELD_NUMBER: builtins.int
109
+ LOCAL_FIELD_NUMBER: builtins.int
110
+ GLOBAL_FIELD_NUMBER: builtins.int
111
+ @property
112
+ def id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
113
+ @property
114
+ def parent_id(self) -> ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier: ...
115
+ label: typing.Text = ...
116
+ @property
117
+ def locations(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[typing.Text]: ...
118
+ suppressed: builtins.bool = ...
119
+ @property
120
+ def local(self) -> global___MomentProperties: ...
121
+ def __init__(self,
122
+ *,
123
+ id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
124
+ parent_id : typing.Optional[ansys.api.dbu.v0.dbumodels_pb2.PhysicsEntityIdentifier] = ...,
125
+ label : typing.Text = ...,
126
+ locations : typing.Optional[typing.Iterable[typing.Text]] = ...,
127
+ suppressed : builtins.bool = ...,
128
+ local : typing.Optional[global___MomentProperties] = ...,
129
+ ) -> None: ...
130
+ def HasField(self, field_name: typing_extensions.Literal["global",b"global","id",b"id","local",b"local","parent_id",b"parent_id"]) -> builtins.bool: ...
131
+ def ClearField(self, field_name: typing_extensions.Literal["global",b"global","id",b"id","label",b"label","local",b"local","locations",b"locations","parent_id",b"parent_id","suppressed",b"suppressed"]) -> None: ...
132
+ global___MomentDefinition = MomentDefinition