Skip to content

Commit b5693b2

Browse files
RobPasMuetfs_caslservice
andauthored
sync: file sync performed by ansys-tools-repo-sync (#80)
Co-authored-by: tfs_caslservice <tfs_caslservice@PDUCASLVM02>
1 parent 9b631c7 commit b5693b2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

ansys/api/geometry/v0/preparetools.proto

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
syntax = "proto3";
33
package ansys.api.geometry.v0.preparetools;
44

5+
import "ansys/api/dbu/v0/dbumodels.proto";
56
import "ansys/api/geometry/v0/models.proto";
67
import "google/protobuf/wrappers.proto";
78

@@ -21,6 +22,10 @@ service PrepareTools{
2122
rpc RemoveRounds(RemoveRoundsRequest) returns(RemoveRoundsResponse);
2223

2324
rpc RemoveFaces(RemoveFacesRequest) returns(RemoveFacesResponse);
25+
26+
rpc ExtractVolumeFromFaces(ExtractVolumeFromFacesRequest) returns(VolumeExtractionResponse);
27+
28+
rpc ExtractVolumeFromEdgeLoops(ExtractVolumeFromEdgeLoopsRequest) returns(VolumeExtractionResponse);
2429
}
2530

2631

@@ -85,4 +90,25 @@ message RemoveFacesRequest{
8590

8691
message RemoveFacesResponse{
8792
bool result = 1;
93+
}
94+
95+
message ExtractVolumeFromFacesRequest{
96+
// The id of the faces that seal the volume to be extracted.
97+
repeated dbu.v0.EntityIdentifier sealing_faces = 1;
98+
// The id of one or more faces inside the volume to be extracted.
99+
repeated dbu.v0.EntityIdentifier inside_faces = 2;
100+
}
101+
102+
message ExtractVolumeFromEdgeLoopsRequest{
103+
// The id of edge loops that seal the volume to be extracted.
104+
repeated dbu.v0.EntityIdentifier sealing_edges = 1;
105+
// The id of one or more faces inside the volume to be extracted. Not needed for simple cases.
106+
repeated dbu.v0.EntityIdentifier inside_faces = 2;
107+
}
108+
109+
message VolumeExtractionResponse{
110+
// Whether the volume extraction is successful.
111+
bool success = 1;
112+
// The bodies created from the volume extraction.
113+
repeated Body created_bodies = 2;
88114
}

0 commit comments

Comments
 (0)