Skip to content

Commit eafc676

Browse files
pyansys-ci-bottfs_caslservice
andauthored
sync: file sync performed by ansys-tools-repo-sync (#148)
Co-authored-by: tfs_caslservice <tfs_caslservice@cdcw22cslbld05>
1 parent fe76b86 commit eafc676

File tree

5 files changed

+38
-21
lines changed

5 files changed

+38
-21
lines changed

ansys/api/geometry/v0/bodies.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ service Bodies
5050

5151
rpc GetTessellation(ansys.api.dbu.v0.EntityIdentifier) returns(GetTessellationResponse);
5252

53-
rpc GetTessellationStream(ansys.api.dbu.v0.EntityIdentifier) returns(stream GetTessellationResponse);
53+
rpc GetTessellationStream(GetTessellationRequest) returns(stream GetTessellationResponse);
5454

5555
rpc GetEdges(ansys.api.dbu.v0.EntityIdentifier) returns (GetEdgesResponse);
5656

@@ -103,6 +103,8 @@ service Bodies
103103
rpc CreateSurfaceBodyFromTrimmedCurves(CreateSurfaceBodyFromTrimmedCurvesRequest) returns (Body);
104104

105105
rpc GetClosestSeparation(GetClosestSeparationRequest) returns (Separation);
106+
107+
rpc GetTessellationWithOptions(GetTessellationRequest) returns(GetTessellationResponse);
106108
}
107109

108110
message CreateSurfaceBodyFromTrimmedCurvesRequest {
@@ -351,4 +353,9 @@ message GetCollisionResponse {
351353
message GetClosestSeparationRequest {
352354
ansys.api.dbu.v0.EntityIdentifier body_1 = 1;
353355
ansys.api.dbu.v0.EntityIdentifier body_2 = 2;
356+
}
357+
358+
message GetTessellationRequest{
359+
ansys.api.dbu.v0.EntityIdentifier id=1;
360+
TessellationOptions options =2;
354361
}

ansys/api/geometry/v0/components.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ service Components{
2424
rpc GetRootComponent(google.protobuf.Empty) returns (GetRootComponentResponse);
2525

2626
rpc GetName(ansys.api.dbu.v0.EntityIdentifier) returns (GetComponentNameResponse);
27+
28+
rpc SetName(SetObjectNameRequest) returns (ansys.api.dbu.v0.RequestResult);
2729

2830
rpc GetUpdateState(ansys.api.dbu.v0.EntityIdentifier) returns (UpdateState);
2931

ansys/api/geometry/v0/models.proto

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,6 @@ message EnhancedRepairToolMessage {
371371
TrackerCommandResponse complete_command_response = 7; // this should become the only response in protos v1
372372
}
373373

374-
message RemoveLogoResponse {
375-
bool success = 1;
376-
repeated string created_faces_monikers = 2;
377-
repeated string modified_faces_monikers = 3;
378-
repeated string deleted_faces_monikers = 4;
379-
}
380-
381374
message Material{
382375
string name=1;
383376
repeated MaterialProperty material_properties=2;
@@ -809,15 +802,11 @@ message Separation {
809802
Point point_b = 3;
810803
}
811804

812-
message LogoDefinition {
813-
repeated Face faces = 1;
814-
}
815-
816-
message RemoveLogoOptions {
817-
google.protobuf.DoubleValue min_height = 1;
818-
google.protobuf.DoubleValue max_height = 2;
819-
google.protobuf.DoubleValue max_fillet_radio_as_sharp = 3;
820-
google.protobuf.DoubleValue fit_error = 4;
805+
message FindLogoOptions {
806+
optional double min_height = 1;
807+
optional double max_height = 2;
808+
optional double max_fillet_radio_as_sharp = 3;
809+
optional double fit_error = 4;
821810
}
822811

823812
message TrackerCommandResponse{
@@ -846,3 +835,16 @@ enum AutomaticTrackingState {
846835
message TrackerDefinition{
847836
ansys.api.dbu.v0.EntityIdentifier design_id = 1;
848837
}
838+
839+
message TessellationOptions{
840+
double surface_deviation = 1;
841+
double angle_deviation = 2;
842+
double maximum_aspect_ratio = 3;
843+
double maximum_edge_length = 4;
844+
bool watertight = 5;
845+
}
846+
847+
message SetObjectNameRequest{
848+
ansys.api.dbu.v0.EntityIdentifier id = 1;
849+
string name = 2;
850+
}

ansys/api/geometry/v0/preparetools.proto

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,18 @@ message VolumeExtractionResponse{
147147

148148
message FindLogosRequest{
149149
repeated ansys.api.dbu.v0.EntityIdentifier bodies = 1;
150-
optional RemoveLogoOptions options = 2;
150+
optional FindLogoOptions options = 2;
151151
}
152152

153153
message FindLogosResponse{
154-
repeated LogoDefinition logos = 1;
154+
string id = 1;
155+
repeated Face logo_faces = 2;
155156
}
156157

157158
message RemoveLogoRequest{
158-
LogoDefinition logo = 1;
159+
repeated dbu.v0.EntityIdentifier face_ids = 1;
160+
}
161+
162+
message RemoveLogoResponse {
163+
bool success = 1;
159164
}

ansys/api/geometry/v0/repairtools.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ message FixDuplicateCurvesResponse{
311311
}
312312

313313
message FindSmallCurvesRequest{
314-
google.protobuf.DoubleValue max_curve_length = 1;
314+
repeated ansys.api.dbu.v0.EntityIdentifier bodies = 1;
315+
google.protobuf.DoubleValue max_curve_length = 2;
315316
}
316317

317318
message FindSmallCurvesResponse{

0 commit comments

Comments
 (0)