Skip to content

Commit 1ce9ef1

Browse files
pyansys-ci-bottfs_caslservice
andauthored
sync: file sync performed by ansys-tools-repo-sync (#116)
Co-authored-by: tfs_caslservice <tfs_caslservice@cdcw22cslbld02>
1 parent 795d7e2 commit 1ce9ef1

File tree

3 files changed

+24
-25
lines changed

3 files changed

+24
-25
lines changed

ansys/api/geometry/v0/commands.proto

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -499,16 +499,10 @@ message CommandResponse {
499499
bool success = 1;
500500
repeated Body created_bodies = 2;
501501
repeated Body modified_bodies = 3;
502-
repeated Body deleted_bodies = 4;
503-
repeated Face created_faces = 5;
504-
repeated Face modified_faces = 6;
505-
repeated Face deleted_faces = 7;
506-
repeated Edge created_edges = 8;
507-
repeated Edge modified_edges = 9;
508-
repeated Edge deleted_edges = 10;
509-
repeated Component created_components = 11;
510-
repeated Component modified_components = 12;
511-
repeated Component deleted_components = 13;
502+
repeated Face created_faces = 4;
503+
repeated Face modified_faces = 5;
504+
repeated Edge created_edges = 6;
505+
repeated Edge modified_edges = 7;
512506
}
513507

514508
message FilletRequest {

ansys/api/geometry/v0/models.proto

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,19 @@ message DuplicateCurveProblemArea {
313313

314314
message SmallCurveProblemArea {
315315
int32 id = 1;
316-
repeated string curve_point_monikers = 2;
316+
repeated ansys.api.dbu.v0.EntityIdentifier curve_monikers = 2;
317317
}
318318

319319
message AdjustSimplifyProblemArea {
320320
int32 id = 1;
321321
repeated string body_monikers = 2;
322322
}
323323

324+
message GapProblemArea {
325+
int32 id = 1;
326+
repeated ansys.api.dbu.v0.EntityIdentifier edge_monikers = 2;
327+
}
328+
324329
message RepairToolMessage {
325330
bool success = 1;
326331
repeated string created_bodies_monikers = 2;

ansys/api/geometry/v0/repairtools.proto

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ service RepairTools{
5454

5555
rpc FixGaps(FixGapsRequest) returns (FixGapsResponse);
5656

57+
rpc FindSmallCurves(FindSmallCurvesRequest) returns (FindSmallCurvesResponse);
58+
59+
rpc FixSmallCurves(FixSmallCurvesRequest) returns (FixSmallCurvesResponse);
60+
5761
rpc FindCurveGaps(FindCurveGapsRequest) returns (FindCurveGapsResponse);
5862

5963
rpc FixCurveGaps(FixCurveGapsRequest) returns (FixCurveGapsResponse);
@@ -243,27 +247,23 @@ message FixSmallFacesResponse{
243247
}
244248

245249
message FindGapsRequest{
246-
repeated string faces = 1;
250+
repeated ansys.api.dbu.v0.EntityIdentifier bodies = 1;
247251
google.protobuf.DoubleValue angle=2;
248252
google.protobuf.DoubleValue distance = 3;
249-
oneof method
250-
{
251-
google.protobuf.NullValue null = 4;
252-
SolidifyFixMethodType data =5;
253-
}
254-
google.protobuf.BoolValue allow_multi_patch = 6;
253+
optional SolidifyFixMethodType fix_method = 4;
254+
google.protobuf.BoolValue allow_multi_patch = 5;
255255
}
256256

257257
message FindGapsResponse{
258-
repeated ansys.api.geometry.v0.SplitEdgeProblemArea result = 1;
258+
repeated ansys.api.geometry.v0.GapProblemArea result = 1;
259259
}
260260

261261
message FixGapsRequest{
262-
google.protobuf.Int32Value problemarea_id = 1;
262+
google.protobuf.Int32Value gap_problem_area_id = 1;
263263
}
264264

265265
message FixGapsResponse{
266-
bool result = 1;
266+
RepairToolMessage result = 1;
267267
}
268268

269269
message FindCurveGapsRequest{
@@ -296,19 +296,19 @@ message FixDuplicateCurvesResponse{
296296
}
297297

298298
message FindSmallCurvesRequest{
299-
google.protobuf.DoubleValue distance = 1;
299+
google.protobuf.DoubleValue max_curve_length = 1;
300300
}
301301

302302
message FindSmallCurvesResponse{
303-
repeated ansys.api.geometry.v0.DuplicateCurveProblemArea result = 1;
303+
repeated ansys.api.geometry.v0.SmallCurveProblemArea result = 1;
304304
}
305305

306306
message FixSmallCurvesRequest{
307-
google.protobuf.Int32Value duplicate_curve_problem_area_id = 1;
307+
google.protobuf.Int32Value small_curve_problem_area_id = 1;
308308
}
309309

310310
message FixSmallCurvesResponse{
311-
bool result = 1;
311+
RepairToolMessage result = 1;
312312
}
313313

314314
message FindAdjustMergeFacesRequest{

0 commit comments

Comments
 (0)