Skip to content

Commit 11ace07

Browse files
Merge branch 'main' into release/0.4
2 parents 3e41dee + 8cdef4f commit 11ace07

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed

ansys/api/geometry/v0/commands.proto

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,35 @@ service Commands{
196196
rpc GetTrackerChanges(GetTrackerChangesRequest) returns (GetTrackerChangesResponse);
197197

198198
rpc DisposeTracker(DisposeTrackerRequest) returns (DisposeTrackerResponse);
199+
200+
rpc CreateAlignCondition(CreateAlignTangentOrientGearConditionRequest) returns (AlignCondition);
201+
202+
rpc CreateTangentCondition(CreateAlignTangentOrientGearConditionRequest) returns (TangentCondition);
203+
204+
rpc CreateOrientCondition(CreateAlignTangentOrientGearConditionRequest) returns (OrientCondition);
205+
206+
rpc CreateRigidCondition(CreateRigidConditionRequest) returns (RigidCondition);
207+
208+
rpc CreateAnchorCondition(CreateAnchorConditionRequest) returns (AnchorCondition);
209+
210+
rpc CreateGearCondition(CreateAlignTangentOrientGearConditionRequest) returns (GearCondition);
211+
}
212+
213+
message CreateAnchorConditionRequest {
214+
ansys.api.dbu.v0.EntityIdentifier parent = 1;
215+
ansys.api.dbu.v0.EntityIdentifier component = 2;
216+
}
217+
218+
message CreateRigidConditionRequest {
219+
ansys.api.dbu.v0.EntityIdentifier parent = 1;
220+
ansys.api.dbu.v0.EntityIdentifier component_a = 2;
221+
ansys.api.dbu.v0.EntityIdentifier component_b = 3;
222+
}
223+
224+
message CreateAlignTangentOrientGearConditionRequest {
225+
ansys.api.dbu.v0.EntityIdentifier parent = 1;
226+
ansys.api.dbu.v0.EntityIdentifier geometric_a = 2;
227+
ansys.api.dbu.v0.EntityIdentifier geometric_b = 3;
199228
}
200229

201230
message CreatePlaneRequest {

ansys/api/geometry/v0/models.proto

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,4 +852,50 @@ message TessellationOptions{
852852
message SetObjectNameRequest{
853853
ansys.api.dbu.v0.EntityIdentifier id = 1;
854854
string name = 2;
855+
}
856+
857+
message MatingCondition {
858+
string moniker = 1;
859+
bool is_deleted = 2;
860+
bool is_enabled = 3;
861+
bool is_satisfied = 4;
862+
}
863+
864+
message AlignCondition {
865+
MatingCondition condition = 1;
866+
double offset = 2;
867+
bool is_reversed = 3;
868+
bool is_valid = 4;
869+
}
870+
871+
message TangentCondition {
872+
MatingCondition condition = 1;
873+
double offset = 2;
874+
bool is_reversed = 3;
875+
bool is_valid = 4;
876+
}
877+
878+
message OrientCondition {
879+
MatingCondition condition = 1;
880+
double offset = 2;
881+
bool is_reversed = 3;
882+
bool is_valid = 4;
883+
}
884+
885+
message RigidCondition {
886+
MatingCondition condition = 1;
887+
Component component_a = 2;
888+
Component component_b = 3;
889+
}
890+
891+
message AnchorCondition {
892+
MatingCondition condition = 1;
893+
Component component = 2;
894+
}
895+
896+
message GearCondition {
897+
MatingCondition condition = 1;
898+
bool is_belt = 2;
899+
bool is_reversed = 3;
900+
bool is_valid = 4;
855901
}

0 commit comments

Comments
 (0)