Skip to content

Commit 9ce5cc4

Browse files
pyansys-ci-bottfs_caslservice
andauthored
sync: file sync performed by ansys-tools-repo-sync (#117)
Co-authored-by: tfs_caslservice <tfs_caslservice@cdcw22cslbld06>
1 parent 1ce9ef1 commit 9ce5cc4

File tree

4 files changed

+33
-24
lines changed

4 files changed

+33
-24
lines changed

ansys/api/geometry/v0/bodies.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ service Bodies
9797
rpc SeparatePieces(SeparatePiecesRequest) returns (GetAllResponse);
9898

9999
rpc CreateBlockBody(CreateBlockBodyRequest) returns (Body);
100+
101+
rpc CreateSurfaceBodyFromTrimmedCurves(CreateSurfaceBodyFromTrimmedCurvesRequest) returns (Body);
102+
}
103+
104+
message CreateSurfaceBodyFromTrimmedCurvesRequest {
105+
string name = 1;
106+
string parent = 2;
107+
repeated TrimmedCurve trimmed_curves = 3;
100108
}
101109

102110
message CreateBlockBodyRequest {

ansys/api/geometry/v0/commands.proto

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,16 @@ message CommandResponse {
499499
bool success = 1;
500500
repeated Body created_bodies = 2;
501501
repeated Body modified_bodies = 3;
502-
repeated Face created_faces = 4;
503-
repeated Face modified_faces = 5;
504-
repeated Edge created_edges = 6;
505-
repeated Edge modified_edges = 7;
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;
506512
}
507513

508514
message FilletRequest {

ansys/api/geometry/v0/models.proto

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

314314
message SmallCurveProblemArea {
315315
int32 id = 1;
316-
repeated ansys.api.dbu.v0.EntityIdentifier curve_monikers = 2;
316+
repeated string curve_point_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-
329324
message RepairToolMessage {
330325
bool success = 1;
331326
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,10 +54,6 @@ service RepairTools{
5454

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

57-
rpc FindSmallCurves(FindSmallCurvesRequest) returns (FindSmallCurvesResponse);
58-
59-
rpc FixSmallCurves(FixSmallCurvesRequest) returns (FixSmallCurvesResponse);
60-
6157
rpc FindCurveGaps(FindCurveGapsRequest) returns (FindCurveGapsResponse);
6258

6359
rpc FixCurveGaps(FixCurveGapsRequest) returns (FixCurveGapsResponse);
@@ -247,23 +243,27 @@ message FixSmallFacesResponse{
247243
}
248244

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

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

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

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

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

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

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

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

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

314314
message FindAdjustMergeFacesRequest{

0 commit comments

Comments
 (0)