ansys-api-discovery 0.6.5__py3-none-any.whl → 0.6.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansys-api-discovery might be problematic. Click here for more details.
- ansys/api/discovery/VERSION +1 -1
- ansys/api/discovery/v0/assignments/boltassignment.proto +1 -1
- ansys/api/discovery/v0/conditions/acceleration.proto +1 -1
- ansys/api/discovery/v0/conditions/bearing.proto +1 -1
- ansys/api/discovery/v0/conditions/boltpreload.proto +1 -1
- ansys/api/discovery/v0/conditions/condition.proto +5 -1
- ansys/api/discovery/v0/conditions/condition_pb2.py +5 -3
- ansys/api/discovery/v0/conditions/condition_pb2.pyi +11 -0
- ansys/api/discovery/v0/conditions/convection.proto +1 -1
- ansys/api/discovery/v0/conditions/displacement.proto +1 -1
- ansys/api/discovery/v0/conditions/flow.proto +1 -1
- ansys/api/discovery/v0/conditions/fluidinitialtemperature.proto +1 -1
- ansys/api/discovery/v0/conditions/force.proto +6 -1
- ansys/api/discovery/v0/conditions/force_pb2.py +32 -31
- ansys/api/discovery/v0/conditions/force_pb2_grpc.py +67 -0
- ansys/api/discovery/v0/conditions/force_pb2_grpc.pyi +21 -0
- ansys/api/discovery/v0/conditions/gravity.proto +5 -2
- ansys/api/discovery/v0/conditions/gravity_pb2.py +8 -7
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.py +35 -0
- ansys/api/discovery/v0/conditions/gravity_pb2_grpc.pyi +12 -0
- ansys/api/discovery/v0/conditions/heat.proto +1 -1
- ansys/api/discovery/v0/conditions/insulated.proto +1 -1
- ansys/api/discovery/v0/conditions/mass.proto +1 -1
- ansys/api/discovery/v0/conditions/moment.proto +1 -1
- ansys/api/discovery/v0/conditions/porous.proto +1 -1
- ansys/api/discovery/v0/conditions/pressure.proto +1 -1
- ansys/api/discovery/v0/conditions/rotatingfluidzone.proto +1 -1
- ansys/api/discovery/v0/conditions/solidtemperature.proto +1 -1
- ansys/api/discovery/v0/conditions/springpreload.proto +1 -1
- ansys/api/discovery/v0/conditions/support.proto +1 -1
- ansys/api/discovery/v0/conditions/velocity.proto +1 -1
- ansys/api/discovery/v0/conditions/wall.proto +1 -1
- ansys/api/discovery/v0/connections/contact.proto +1 -1
- ansys/api/discovery/v0/connections/contactgroup.proto +3 -1
- ansys/api/discovery/v0/connections/contactgroup_pb2.py +12 -11
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.py +34 -0
- ansys/api/discovery/v0/connections/contactgroup_pb2_grpc.pyi +11 -0
- ansys/api/discovery/v0/connections/joint.proto +1 -1
- ansys/api/discovery/v0/definedvariationstable.proto +1 -1
- ansys/api/discovery/v0/discoverymodels.proto +1 -1
- ansys/api/discovery/v0/engineeringdata/boltdata.proto +1 -1
- ansys/api/discovery/v0/historytrackparameters.proto +1 -1
- ansys/api/discovery/v0/messaging.proto +1 -1
- ansys/api/discovery/v0/monitors.proto +1 -1
- ansys/api/discovery/v0/results.proto +2 -2
- ansys/api/discovery/v0/results_pb2.py +6 -6
- ansys/api/discovery/v0/results_pb2.pyi +2 -2
- ansys/api/discovery/v0/scriptparameters.proto +1 -1
- ansys/api/discovery/v0/simulations.proto +1 -1
- ansys/api/discovery/v0/solution.proto +1 -1
- ansys/api/discovery/v0/units.proto +1 -1
- ansys/api/discovery/v0/unsupported.proto +1 -1
- {ansys_api_discovery-0.6.5.dist-info → ansys_api_discovery-0.6.6.dist-info}/METADATA +2 -2
- {ansys_api_discovery-0.6.5.dist-info → ansys_api_discovery-0.6.6.dist-info}/RECORD +58 -58
- {ansys_api_discovery-0.6.5.dist-info → ansys_api_discovery-0.6.6.dist-info}/LICENSE +0 -0
- {ansys_api_discovery-0.6.5.dist-info → ansys_api_discovery-0.6.6.dist-info}/WHEEL +0 -0
- {ansys_api_discovery-0.6.5.dist-info → ansys_api_discovery-0.6.6.dist-info}/entry_points.txt +0 -0
- {ansys_api_discovery-0.6.5.dist-info → ansys_api_discovery-0.6.6.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
2
|
syntax = "proto3";
|
|
3
3
|
package ansys.api.discovery.v0.connections.contactgroup;
|
|
4
4
|
|
|
5
5
|
import "ansys/api/dbu/v0/dbumodels.proto";
|
|
6
|
+
import "ansys/api/discovery/v0/conditions/condition.proto";
|
|
6
7
|
import "ansys/api/discovery/v0/connections/contact.proto";
|
|
7
8
|
import "ansys/api/discovery/v0/discoverymodels.proto";
|
|
8
9
|
|
|
@@ -37,6 +38,7 @@ service ContactGroup
|
|
|
37
38
|
rpc ChangeElectricConductanceThickness(ChangeQuantityRequest) returns (ChangeResponse);
|
|
38
39
|
rpc ChangeDetectionDistanceLow(ChangeQuantityRequest) returns (ChangeResponse);
|
|
39
40
|
rpc ChangeDetectionDistanceHigh(ChangeQuantityRequest) returns (ChangeResponse);
|
|
41
|
+
rpc GetByLabel(ansys.api.discovery.v0.conditions.GetByLabelRequest) returns (ContactGroupDefinition);
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
message ConvertContactGroupChangeRequest{
|
|
@@ -12,11 +12,12 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
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.conditions import condition_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2
|
|
15
16
|
from ansys.api.discovery.v0.connections import contact_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contact__pb2
|
|
16
17
|
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
17
18
|
|
|
18
19
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ansys/api/discovery/v0/connections/contactgroup.proto\x12/ansys.api.discovery.v0.connections.contactgroup\x1a ansys/api/dbu/v0/dbumodels.proto\x1a\x30\x61nsys/api/discovery/v0/connections/contact.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xf9\x02\n ConvertContactGroupChangeRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x66\n\x12\x63ontact_group_type\x18\x02 \x01(\x0e\x32J.ansys.api.discovery.v0.connections.contactgroup.ContactGoupConversionType\x12O\n\rcontact_pairs\x18\x03 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x15\n\x08idealize\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12!\n\x14\x66riction_coefficient\x18\x05 \x01(\x01H\x01\x88\x01\x01\x42\x0b\n\t_idealizeB\x17\n\x15_friction_coefficient\"\x9b\x08\n\x16\x43ontactGroupProperties\x12M\n\x0c\x63ontact_type\x18\x01 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x1c\n\x14\x66riction_coefficient\x18\x03 \x01(\x01\x12\x18\n\x10stiffness_factor\x18\x04 \x01(\x01\x12\x1f\n\x17\x64\x65tection_radius_factor\x18\x05 \x01(\x01\x12\x30\n\x06offset\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x38\n\x0eshear_strenght\x18\x07 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12:\n\x10tensile_strength\x18\x08 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x1f\n\x17\x61re_strength_limits_set\x18\t \x01(\x08\x12\x1d\n\x15\x61\x64just_gap_or_overlap\x18\n \x01(\x08\x12\x1a\n\x12make_just_touching\x18\x0b \x01(\x08\x12\x10\n\x08idealize\x18\x0c \x01(\x08\x12#\n\x1bspecify_thermal_conductance\x18\r \x01(\x08\x12?\n7specify_thermal_conductance_from_thickness_and_material\x18\x0e \x01(\x08\x12$\n\x1cspecify_electric_conductance\x18\x0f \x01(\x08\x12@\n8specify_electric_conductance_from_thickness_and_material\x18\x10 \x01(\x08\x12\x45\n\x1bthermal_contact_conductance\x18\x11 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12G\n\x1dthermal_conductance_thickness\x18\x12 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12H\n\x1e\x65lectrical_contact_conductance\x18\x13 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12J\n electrical_conductance_thickness\x18\x14 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xbc\x02\n\x16\x43ontactGroupDefinition\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\x12X\n\x07\x63ontact\x18\x07 \x01(\x0b\x32G.ansys.api.discovery.v0.connections.contactgroup.ContactGroupProperties*X\n\x19\x43ontactGoupConversionType\x12\x19\n\x15SLIDING_CONTACT_GROUP\x10\x00\x12\t\n\x05JOINT\x10\x01\x12\x08\n\x04\x42OND\x10\x02\x12\x0b\n\x07\x45XCLUDE\x10\x03\x32\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5ansys/api/discovery/v0/connections/contactgroup.proto\x12/ansys.api.discovery.v0.connections.contactgroup\x1a ansys/api/dbu/v0/dbumodels.proto\x1a\x31\x61nsys/api/discovery/v0/conditions/condition.proto\x1a\x30\x61nsys/api/discovery/v0/connections/contact.proto\x1a,ansys/api/discovery/v0/discoverymodels.proto\"\xf9\x02\n ConvertContactGroupChangeRequest\x12<\n\tobject_id\x18\x01 \x01(\x0b\x32).ansys.api.dbu.v0.PhysicsEntityIdentifier\x12\x66\n\x12\x63ontact_group_type\x18\x02 \x01(\x0e\x32J.ansys.api.discovery.v0.connections.contactgroup.ContactGoupConversionType\x12O\n\rcontact_pairs\x18\x03 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x15\n\x08idealize\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12!\n\x14\x66riction_coefficient\x18\x05 \x01(\x01H\x01\x88\x01\x01\x42\x0b\n\t_idealizeB\x17\n\x15_friction_coefficient\"\x9b\x08\n\x16\x43ontactGroupProperties\x12M\n\x0c\x63ontact_type\x18\x01 \x01(\x0e\x32\x37.ansys.api.discovery.v0.connections.contact.ContactType\x12O\n\rcontact_pairs\x18\x02 \x01(\x0b\x32\x38.ansys.api.discovery.v0.connections.contact.ContactPairs\x12\x1c\n\x14\x66riction_coefficient\x18\x03 \x01(\x01\x12\x18\n\x10stiffness_factor\x18\x04 \x01(\x01\x12\x1f\n\x17\x64\x65tection_radius_factor\x18\x05 \x01(\x01\x12\x30\n\x06offset\x18\x06 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x38\n\x0eshear_strenght\x18\x07 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12:\n\x10tensile_strength\x18\x08 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12\x1f\n\x17\x61re_strength_limits_set\x18\t \x01(\x08\x12\x1d\n\x15\x61\x64just_gap_or_overlap\x18\n \x01(\x08\x12\x1a\n\x12make_just_touching\x18\x0b \x01(\x08\x12\x10\n\x08idealize\x18\x0c \x01(\x08\x12#\n\x1bspecify_thermal_conductance\x18\r \x01(\x08\x12?\n7specify_thermal_conductance_from_thickness_and_material\x18\x0e \x01(\x08\x12$\n\x1cspecify_electric_conductance\x18\x0f \x01(\x08\x12@\n8specify_electric_conductance_from_thickness_and_material\x18\x10 \x01(\x08\x12\x45\n\x1bthermal_contact_conductance\x18\x11 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12G\n\x1dthermal_conductance_thickness\x18\x12 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12H\n\x1e\x65lectrical_contact_conductance\x18\x13 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\x12J\n electrical_conductance_thickness\x18\x14 \x01(\x0b\x32 .ansys.api.discovery.v0.Quantity\"\xbc\x02\n\x16\x43ontactGroupDefinition\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\x12X\n\x07\x63ontact\x18\x07 \x01(\x0b\x32G.ansys.api.discovery.v0.connections.contactgroup.ContactGroupProperties*X\n\x19\x43ontactGoupConversionType\x12\x19\n\x15SLIDING_CONTACT_GROUP\x10\x00\x12\t\n\x05JOINT\x10\x01\x12\x08\n\x04\x42OND\x10\x02\x12\x0b\n\x07\x45XCLUDE\x10\x03\x32\xb6\x18\n\x0c\x43ontactGroup\x12s\n\x1a\x43hangeContactSide1Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeContactSide2Location\x12-.ansys.api.discovery.v0.ChangeLocationRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x81\x01\n\x11\x43hangeContactType\x12\x44.ansys.api.discovery.v0.connections.contact.ChangeContactTypeRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12[\n\x05Split\x12*.ansys.api.discovery.v0.ChangeEmptyRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x84\x01\n\x07\x43onvert\x12Q.ansys.api.discovery.v0.connections.contactgroup.ConvertContactGroupChangeRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x19\x43hangeFrictionCoefficient\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x15\x43hangeStiffnessFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1b\x43hangeDetectionRadiusFactor\x12+.ansys.api.discovery.v0.ChangeDoubleRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x65\n\x0c\x43hangeOffset\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12l\n\x13\x43hangeShearStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x15\x43hangeTensileStrength\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12r\n\x1a\x43hangeAreStrengthLimitsSet\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12p\n\x18\x43hangeAdjustGapOrOverlap\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12n\n\x16\x43hangeMakeJustTouching\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x66\n\x0e\x43hangeIdealize\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12w\n\x1f\x43hangeSpecifyThermalConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8f\x01\n7ChangeSpecifyThermalConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n ChangeSpecifyElectricConductance\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x90\x01\n8ChangeSpecifyElectricConductanceFromThicknessAndMaterial\x12,.ansys.api.discovery.v0.ChangeBooleanRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12x\n\x1f\x43hangeThermalContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12z\n!ChangeThermalConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12y\n ChangeElectricContactConductance\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12{\n\"ChangeElectricConductanceThickness\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12s\n\x1a\x43hangeDetectionDistanceLow\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12t\n\x1b\x43hangeDetectionDistanceHigh\x12-.ansys.api.discovery.v0.ChangeQuantityRequest\x1a&.ansys.api.discovery.v0.ChangeResponse\x12\x8b\x01\n\nGetByLabel\x12\x34.ansys.api.discovery.v0.conditions.GetByLabelRequest\x1aG.ansys.api.discovery.v0.connections.contactgroup.ContactGroupDefinitionB%\xaa\x02\"Ansys.Api.Discovery.V0.Connectionsb\x06proto3')
|
|
20
21
|
|
|
21
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
23
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.connections.contactgroup_pb2', globals())
|
|
@@ -24,14 +25,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
25
|
|
|
25
26
|
DESCRIPTOR._options = None
|
|
26
27
|
DESCRIPTOR._serialized_options = b'\252\002\"Ansys.Api.Discovery.V0.Connections'
|
|
27
|
-
_CONTACTGOUPCONVERSIONTYPE._serialized_start=
|
|
28
|
-
_CONTACTGOUPCONVERSIONTYPE._serialized_end=
|
|
29
|
-
_CONVERTCONTACTGROUPCHANGEREQUEST._serialized_start=
|
|
30
|
-
_CONVERTCONTACTGROUPCHANGEREQUEST._serialized_end=
|
|
31
|
-
_CONTACTGROUPPROPERTIES._serialized_start=
|
|
32
|
-
_CONTACTGROUPPROPERTIES._serialized_end=
|
|
33
|
-
_CONTACTGROUPDEFINITION._serialized_start=
|
|
34
|
-
_CONTACTGROUPDEFINITION._serialized_end=
|
|
35
|
-
_CONTACTGROUP._serialized_start=
|
|
36
|
-
_CONTACTGROUP._serialized_end=
|
|
28
|
+
_CONTACTGOUPCONVERSIONTYPE._serialized_start=2040
|
|
29
|
+
_CONTACTGOUPCONVERSIONTYPE._serialized_end=2128
|
|
30
|
+
_CONVERTCONTACTGROUPCHANGEREQUEST._serialized_start=288
|
|
31
|
+
_CONVERTCONTACTGROUPCHANGEREQUEST._serialized_end=665
|
|
32
|
+
_CONTACTGROUPPROPERTIES._serialized_start=668
|
|
33
|
+
_CONTACTGROUPPROPERTIES._serialized_end=1719
|
|
34
|
+
_CONTACTGROUPDEFINITION._serialized_start=1722
|
|
35
|
+
_CONTACTGROUPDEFINITION._serialized_end=2038
|
|
36
|
+
_CONTACTGROUP._serialized_start=2131
|
|
37
|
+
_CONTACTGROUP._serialized_end=5257
|
|
37
38
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
4
|
|
|
5
|
+
from ansys.api.discovery.v0.conditions import condition_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2
|
|
5
6
|
from ansys.api.discovery.v0.connections import contact_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contact__pb2
|
|
6
7
|
from ansys.api.discovery.v0.connections import contactgroup_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contactgroup__pb2
|
|
7
8
|
from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2
|
|
@@ -141,6 +142,11 @@ class ContactGroupStub(object):
|
|
|
141
142
|
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.SerializeToString,
|
|
142
143
|
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
143
144
|
)
|
|
145
|
+
self.GetByLabel = channel.unary_unary(
|
|
146
|
+
'/ansys.api.discovery.v0.connections.contactgroup.ContactGroup/GetByLabel',
|
|
147
|
+
request_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
|
|
148
|
+
response_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contactgroup__pb2.ContactGroupDefinition.FromString,
|
|
149
|
+
)
|
|
144
150
|
|
|
145
151
|
|
|
146
152
|
class ContactGroupServicer(object):
|
|
@@ -296,6 +302,12 @@ class ContactGroupServicer(object):
|
|
|
296
302
|
context.set_details('Method not implemented!')
|
|
297
303
|
raise NotImplementedError('Method not implemented!')
|
|
298
304
|
|
|
305
|
+
def GetByLabel(self, request, context):
|
|
306
|
+
"""Missing associated documentation comment in .proto file."""
|
|
307
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
308
|
+
context.set_details('Method not implemented!')
|
|
309
|
+
raise NotImplementedError('Method not implemented!')
|
|
310
|
+
|
|
299
311
|
|
|
300
312
|
def add_ContactGroupServicer_to_server(servicer, server):
|
|
301
313
|
rpc_method_handlers = {
|
|
@@ -424,6 +436,11 @@ def add_ContactGroupServicer_to_server(servicer, server):
|
|
|
424
436
|
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeQuantityRequest.FromString,
|
|
425
437
|
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.SerializeToString,
|
|
426
438
|
),
|
|
439
|
+
'GetByLabel': grpc.unary_unary_rpc_method_handler(
|
|
440
|
+
servicer.GetByLabel,
|
|
441
|
+
request_deserializer=ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.FromString,
|
|
442
|
+
response_serializer=ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contactgroup__pb2.ContactGroupDefinition.SerializeToString,
|
|
443
|
+
),
|
|
427
444
|
}
|
|
428
445
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
429
446
|
'ansys.api.discovery.v0.connections.contactgroup.ContactGroup', rpc_method_handlers)
|
|
@@ -858,3 +875,20 @@ class ContactGroup(object):
|
|
|
858
875
|
ansys_dot_api_dot_discovery_dot_v0_dot_discoverymodels__pb2.ChangeResponse.FromString,
|
|
859
876
|
options, channel_credentials,
|
|
860
877
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
878
|
+
|
|
879
|
+
@staticmethod
|
|
880
|
+
def GetByLabel(request,
|
|
881
|
+
target,
|
|
882
|
+
options=(),
|
|
883
|
+
channel_credentials=None,
|
|
884
|
+
call_credentials=None,
|
|
885
|
+
insecure=False,
|
|
886
|
+
compression=None,
|
|
887
|
+
wait_for_ready=None,
|
|
888
|
+
timeout=None,
|
|
889
|
+
metadata=None):
|
|
890
|
+
return grpc.experimental.unary_unary(request, target, '/ansys.api.discovery.v0.connections.contactgroup.ContactGroup/GetByLabel',
|
|
891
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_conditions_dot_condition__pb2.GetByLabelRequest.SerializeToString,
|
|
892
|
+
ansys_dot_api_dot_discovery_dot_v0_dot_connections_dot_contactgroup__pb2.ContactGroupDefinition.FromString,
|
|
893
|
+
options, channel_credentials,
|
|
894
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
import abc
|
|
6
|
+
import ansys.api.discovery.v0.conditions.condition_pb2
|
|
6
7
|
import ansys.api.discovery.v0.connections.contact_pb2
|
|
7
8
|
import ansys.api.discovery.v0.connections.contactgroup_pb2
|
|
8
9
|
import ansys.api.discovery.v0.discoverymodels_pb2
|
|
@@ -110,6 +111,10 @@ class ContactGroupStub:
|
|
|
110
111
|
ansys.api.discovery.v0.discoverymodels_pb2.ChangeQuantityRequest,
|
|
111
112
|
ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse] = ...
|
|
112
113
|
|
|
114
|
+
GetByLabel: grpc.UnaryUnaryMultiCallable[
|
|
115
|
+
ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
|
|
116
|
+
ansys.api.discovery.v0.connections.contactgroup_pb2.ContactGroupDefinition] = ...
|
|
117
|
+
|
|
113
118
|
|
|
114
119
|
class ContactGroupServicer(metaclass=abc.ABCMeta):
|
|
115
120
|
@abc.abstractmethod
|
|
@@ -262,5 +267,11 @@ class ContactGroupServicer(metaclass=abc.ABCMeta):
|
|
|
262
267
|
context: grpc.ServicerContext,
|
|
263
268
|
) -> ansys.api.discovery.v0.discoverymodels_pb2.ChangeResponse: ...
|
|
264
269
|
|
|
270
|
+
@abc.abstractmethod
|
|
271
|
+
def GetByLabel(self,
|
|
272
|
+
request: ansys.api.discovery.v0.conditions.condition_pb2.GetByLabelRequest,
|
|
273
|
+
context: grpc.ServicerContext,
|
|
274
|
+
) -> ansys.api.discovery.v0.connections.contactgroup_pb2.ContactGroupDefinition: ...
|
|
275
|
+
|
|
265
276
|
|
|
266
277
|
def add_ContactGroupServicer_to_server(servicer: ContactGroupServicer, server: grpc.Server) -> None: ...
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
2
|
syntax = "proto3";
|
|
3
3
|
package ansys.api.discovery.v0.results;
|
|
4
4
|
|
|
@@ -54,7 +54,7 @@ enum ResultVariable{
|
|
|
54
54
|
RESULT_VARIABLE_TORSIONAL_MOMENT = 43;
|
|
55
55
|
RESULT_VARIABLE_SHEAR_FORCE = 44;
|
|
56
56
|
RESULT_VARIABLE_ANTENNA_PARAMETERS = 45;
|
|
57
|
-
|
|
57
|
+
RESULT_VARIABLE_FAN_PRESSURE_RISE = 46;
|
|
58
58
|
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX = 47;
|
|
59
59
|
RESULT_VARIABLE_VOLTAGE = 48;
|
|
60
60
|
RESULT_VARIABLE_CURRENT_DENSITY = 49;
|
|
@@ -15,7 +15,7 @@ from ansys.api.discovery.v0 import discoverymodels_pb2 as ansys_dot_api_dot_disc
|
|
|
15
15
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ansys/api/discovery/v0/results.proto\x12\x1e\x61nsys.api.discovery.v0.results\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto*\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$ansys/api/discovery/v0/results.proto\x12\x1e\x61nsys.api.discovery.v0.results\x1a,ansys/api/discovery/v0/discoverymodels.proto\x1a\x1bgoogle/protobuf/empty.proto*\x82\x0e\n\x0eResultVariable\x12\x1f\n\x1bRESULT_VARIABLE_UNSPECIFIED\x10\x00\x12 \n\x1cRESULT_VARIABLE_DISPLACEMENT\x10\x01\x12$\n RESULT_VARIABLE_VON_MISES_STRESS\x10\x02\x12\x1f\n\x1bRESULT_VARIABLE_TEMPERATURE\x10\x03\x12\x1a\n\x16RESULT_VARIABLE_STRESS\x10\x04\x12$\n RESULT_VARIABLE_PRINCIPAL_STRESS\x10\x05\x12\"\n\x1eRESULT_VARIABLE_ELASTIC_STRAIN\x10\x06\x12,\n(RESULT_VARIABLE_PRINCIPAL_ELASTIC_STRAIN\x10\x07\x12\x1d\n\x19RESULT_VARIABLE_HEAT_FLUX\x10\x08\x12\x1c\n\x18RESULT_VARIABLE_PRESSURE\x10\t\x12\x1c\n\x18RESULT_VARIABLE_VELOCITY\x10\n\x12%\n!RESULT_VARIABLE_VORTICES_LAMBDA_2\x10\x0b\x12\x18\n\x14RESULT_VARIABLE_MASS\x10\x0c\x12(\n$RESULT_VARIABLE_LOCAL_REACTION_FORCE\x10\r\x12&\n\"RESULT_VARIABLE_REACTION_RESULTANT\x10\x0e\x12\x1b\n\x17RESULT_VARIABLE_DENSITY\x10\x0f\x12$\n RESULT_VARIABLE_FACTOR_OF_SAFETY\x10\x10\x12!\n\x1dRESULT_VARIABLE_PRESSURE_DROP\x10\x11\x12$\n RESULT_VARIABLE_CONTACT_REACTION\x10\x12\x12%\n!RESULT_VARIABLE_JOINT_TOTAL_FORCE\x10\x13\x12&\n\"RESULT_VARIABLE_JOINT_TOTAL_MOMENT\x10\x14\x12\x1d\n\x19RESULT_VARIABLE_FREQUENCY\x10\x15\x12#\n\x1fRESULT_VARIABLE_MESH_STATISTICS\x10\x16\x12 \n\x1cRESULT_VARIABLE_MESH_QUALITY\x10\x17\x12\x1f\n\x1bRESULT_VARIABLE_FLUID_FORCE\x10\x18\x12\x1a\n\x16RESULT_VARIABLE_VOLUME\x10\x19\x12\x1f\n\x1bRESULT_VARIABLE_VOLUME_FLOW\x10\x1a\x12\x1d\n\x19RESULT_VARIABLE_MASS_FLOW\x10\x1b\x12\x1d\n\x19RESULT_VARIABLE_HEAT_FLOW\x10\x1c\x12\"\n\x1eRESULT_VARIABLE_TOTAL_PRESSURE\x10\x1d\x12#\n\x1fRESULT_VARIABLE_FLOW_UNIFORMITY\x10\x1e\x12 \n\x1cRESULT_VARIABLE_S_PARAMETERS\x10\x1f\x12\x18\n\x14RESULT_VARIABLE_GAIN\x10 \x12!\n\x1dRESULT_VARIABLE_REALIZED_GAIN\x10!\x12\x1f\n\x1bRESULT_VARIABLE_DIRECTIVITY\x10\"\x12\x1f\n\x1bRESULT_VARIABLE_AXIAL_RATIO\x10#\x12\x1c\n\x18RESULT_VARIABLE_RADIAL_E\x10$\x12\"\n\x1eRESULT_VARIABLE_CONTACT_STRESS\x10%\x12\x1f\n\x1bRESULT_VARIABLE_MACH_NUMBER\x10&\x12\"\n\x1eRESULT_VARIABLE_ELECTRIC_FIELD\x10\'\x12\"\n\x1eRESULT_VARIABLE_MAGNETIC_FIELD\x10(\x12/\n+RESULT_VARIABLE_CONNECTION_FACTOR_OF_SAFETY\x10)\x12 \n\x1cRESULT_VARIABLE_AXIAL_STRESS\x10*\x12$\n RESULT_VARIABLE_TORSIONAL_MOMENT\x10+\x12\x1f\n\x1bRESULT_VARIABLE_SHEAR_FORCE\x10,\x12&\n\"RESULT_VARIABLE_ANTENNA_PARAMETERS\x10-\x12%\n!RESULT_VARIABLE_FAN_PRESSURE_RISE\x10.\x12\'\n#RESULT_VARIABLE_RADIATIVE_HEAT_FLUX\x10/\x12\x1b\n\x17RESULT_VARIABLE_VOLTAGE\x10\x30\x12#\n\x1fRESULT_VARIABLE_CURRENT_DENSITY\x10\x31\x12\x1e\n\x1aRESULT_VARIABLE_JOULE_HEAT\x10\x32*\xe7\x01\n\x0eResultFunction\x12\x1f\n\x1bRESULT_FUNCTION_UNSPECIFIED\x10\x00\x12\x1b\n\x17RESULT_FUNCTION_MINIMUM\x10\x01\x12\x1b\n\x17RESULT_FUNCTION_MAXIMUM\x10\x02\x12\x1b\n\x17RESULT_FUNCTION_AVERAGE\x10\x03\x12\x17\n\x13RESULT_FUNCTION_SUM\x10\x04\x12\x1c\n\x18RESULT_FUNCTION_INTEGRAL\x10\x05\x12&\n\"RESULT_FUNCTION_STANDARD_DEVIATION\x10\x06*\xbb\x06\n\x0fResultComponent\x12 \n\x1cRESULT_COMPONENT_UNSPECIFIED\x10\x00\x12\x19\n\x15RESULT_COMPONENT_NONE\x10\x01\x12\x16\n\x12RESULT_COMPONENT_X\x10\x02\x12\x16\n\x12RESULT_COMPONENT_Y\x10\x03\x12\x16\n\x12RESULT_COMPONENT_Z\x10\x04\x12\x17\n\x13RESULT_COMPONENT_XX\x10\x05\x12\x17\n\x13RESULT_COMPONENT_YY\x10\x06\x12\x17\n\x13RESULT_COMPONENT_ZZ\x10\x07\x12\x17\n\x13RESULT_COMPONENT_YZ\x10\x08\x12\x17\n\x13RESULT_COMPONENT_XY\x10\t\x12\x17\n\x13RESULT_COMPONENT_XZ\x10\n\x12\x18\n\x14RESULT_COMPONENT_MAG\x10\x0b\x12\x1a\n\x16RESULT_COMPONENT_FIRST\x10\x0c\x12\x1b\n\x17RESULT_COMPONENT_SECOND\x10\r\x12\x1a\n\x16RESULT_COMPONENT_THIRD\x10\x0e\x12\x1d\n\x19RESULT_COMPONENT_VELOCITY\x10\x0f\x12 \n\x1cRESULT_COMPONENT_TEMPERATURE\x10\x10\x12\x19\n\x15RESULT_COMPONENT_REAL\x10\x11\x12\x1e\n\x1aRESULT_COMPONENT_IMAGINARY\x10\x12\x12\x1a\n\x16RESULT_COMPONENT_PHASE\x10\x13\x12$\n RESULT_COMPONENT_LOGARITHMIC_MAG\x10\x14\x12$\n RESULT_COMPONENT_CONJUGATE_PHASE\x10\x15\x12\x1a\n\x16RESULT_COMPONENT_TOTAL\x10\x16\x12\x18\n\x14RESULT_COMPONENT_L3X\x10\x17\x12\x18\n\x14RESULT_COMPONENT_L3Y\x10\x18\x12\x19\n\x15RESULT_COMPONENT_RHCP\x10\x19\x12\x19\n\x15RESULT_COMPONENT_LHCP\x10\x1a\x12\x1a\n\x16RESULT_COMPONENT_THETA\x10\x1b\x12\x18\n\x14RESULT_COMPONENT_PHI\x10\x1c\x42!\xaa\x02\x1e\x41nsys.Api.Discovery.V0.Resultsb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
21
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ansys.api.discovery.v0.results_pb2', globals())
|
|
@@ -24,9 +24,9 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
25
|
DESCRIPTOR._serialized_options = b'\252\002\036Ansys.Api.Discovery.V0.Results'
|
|
26
26
|
_RESULTVARIABLE._serialized_start=148
|
|
27
|
-
_RESULTVARIABLE._serialized_end=
|
|
28
|
-
_RESULTFUNCTION._serialized_start=
|
|
29
|
-
_RESULTFUNCTION._serialized_end=
|
|
30
|
-
_RESULTCOMPONENT._serialized_start=
|
|
31
|
-
_RESULTCOMPONENT._serialized_end=
|
|
27
|
+
_RESULTVARIABLE._serialized_end=1942
|
|
28
|
+
_RESULTFUNCTION._serialized_start=1945
|
|
29
|
+
_RESULTFUNCTION._serialized_end=2176
|
|
30
|
+
_RESULTCOMPONENT._serialized_start=2179
|
|
31
|
+
_RESULTCOMPONENT._serialized_end=3006
|
|
32
32
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -61,7 +61,7 @@ class _ResultVariableEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper.
|
|
|
61
61
|
RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
|
|
62
62
|
RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
|
|
63
63
|
RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
|
|
64
|
-
|
|
64
|
+
RESULT_VARIABLE_FAN_PRESSURE_RISE: ResultVariable.ValueType = ... # 46
|
|
65
65
|
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
|
|
66
66
|
RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
|
|
67
67
|
RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
|
|
@@ -115,7 +115,7 @@ RESULT_VARIABLE_AXIAL_STRESS: ResultVariable.ValueType = ... # 42
|
|
|
115
115
|
RESULT_VARIABLE_TORSIONAL_MOMENT: ResultVariable.ValueType = ... # 43
|
|
116
116
|
RESULT_VARIABLE_SHEAR_FORCE: ResultVariable.ValueType = ... # 44
|
|
117
117
|
RESULT_VARIABLE_ANTENNA_PARAMETERS: ResultVariable.ValueType = ... # 45
|
|
118
|
-
|
|
118
|
+
RESULT_VARIABLE_FAN_PRESSURE_RISE: ResultVariable.ValueType = ... # 46
|
|
119
119
|
RESULT_VARIABLE_RADIATIVE_HEAT_FLUX: ResultVariable.ValueType = ... # 47
|
|
120
120
|
RESULT_VARIABLE_VOLTAGE: ResultVariable.ValueType = ... # 48
|
|
121
121
|
RESULT_VARIABLE_CURRENT_DENSITY: ResultVariable.ValueType = ... # 49
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
|
|
2
2
|
syntax = "proto3";
|
|
3
3
|
package ansys.api.discovery.v0;
|
|
4
4
|
option csharp_namespace = "Ansys.Api.Discovery.V0";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ansys-api-discovery
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on
|
|
3
|
+
Version: 0.6.6
|
|
4
|
+
Summary: Autogenerated python gRPC interface package for ansys-api-discovery, built on 08:29:27 on 19 February 2025
|
|
5
5
|
Home-page: https://github.com/ansys/ansys-api-discovery
|
|
6
6
|
Author: ANSYS, Inc.
|
|
7
7
|
Author-email: support@ansys.com
|