Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ansys/api/geometry/v0/commands.proto
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ service Commands{

rpc CreateCircularPattern(CreateCircularPatternRequest) returns (PatternCommandResponse);

rpc ModifyCircularPattern(ModifyCircularPatternRequest) returns (PatternCommandResponse);

rpc CreateFillPattern(CreateFillPatternRequest) returns (PatternCommandResponse);

rpc UpdateFillPattern(PatternRequest) returns (PatternCommandResponse);
Expand Down Expand Up @@ -237,6 +239,14 @@ message ModifyLinearPatternRequest {
int32 old_seed_index = 7;
}

message ModifyCircularPatternRequest {
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
int32 circular_count = 2;
int32 linear_count = 3;
double step_angle = 4;
double step_linear = 5;
}

message CreateCircularPatternRequest {
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
double circular_angle = 2;
Expand Down
12 changes: 12 additions & 0 deletions ansys/api/geometry/v0/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,10 @@ message GapProblemArea {
repeated ansys.api.dbu.v0.EntityIdentifier edge_monikers = 2;
}

message GenericProblemArea {
int32 id = 1;
repeated ansys.api.dbu.v0.EntityIdentifier monikers = 2;
}

message RepairToolMessage {
bool success = 1;
Expand All @@ -336,6 +340,14 @@ message RepairToolMessage {
repeated string deleted_bodies_monikers = 4;
}

message EnhancedRepairToolMessage {
bool success = 1;
int32 found = 2;
int32 repaired = 3;
repeated string created_bodies_monikers = 4;
repeated string modified_bodies_monikers = 5;
repeated string deleted_bodies_monikers = 6;
}

message Material{
string name=1;
Expand Down
2 changes: 2 additions & 0 deletions ansys/api/geometry/v0/preparetools.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ service PrepareTools{
rpc ExtractVolumeFromFaces(ExtractVolumeFromFacesRequest) returns(VolumeExtractionResponse);

rpc ExtractVolumeFromEdgeLoops(ExtractVolumeFromEdgeLoopsRequest) returns(VolumeExtractionResponse);

rpc EnhancedShareTopology(ShareTopologyRequest) returns (EnhancedRepairToolMessage);
}


Expand Down
12 changes: 8 additions & 4 deletions ansys/api/geometry/v0/repairtools.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ service RepairTools{

rpc RepairGeometry(RepairGeometryRequest) returns (RepairGeometryResponse);

rpc FindAndFixExtraEdges(FindExtraEdgesRequest) returns (RepairToolMessage);
rpc FindAndFixExtraEdges(FindExtraEdgesRequest) returns (EnhancedRepairToolMessage);

rpc FindAndFixSplitEdges(FindSplitEdgesRequest) returns (RepairToolMessage);
rpc FindAndFixSplitEdges(FindSplitEdgesRequest) returns (EnhancedRepairToolMessage);

rpc FindAndFixShortEdges(FindShortEdgesRequest) returns (RepairToolMessage);
rpc FindAndFixShortEdges(FindShortEdgesRequest) returns (EnhancedRepairToolMessage);

rpc FindAndSimplify(FindAdjustSimplifyRequest) returns (RepairToolMessage);
rpc FindAndSimplify(FindAdjustSimplifyRequest) returns (EnhancedRepairToolMessage);
}

message FindInterferenceRequest{
Expand All @@ -110,6 +110,7 @@ message FindSplitEdgesRequest{
repeated string bodies_or_faces=1;
google.protobuf.DoubleValue angle=2;
google.protobuf.DoubleValue distance = 3;
bool comprehensive = 4;
}

message FindSplitEdgesResponse{
Expand All @@ -126,6 +127,7 @@ message FixSplitEdgesResponse{

message FindExtraEdgesRequest{
repeated string selection = 1;
bool comprehensive = 2;
}

message FindExtraEdgesResponse{
Expand All @@ -143,6 +145,7 @@ message FixExtraEdgesResponse{
message FindShortEdgesRequest{
repeated string selection = 1;
google.protobuf.DoubleValue max_edge_length=2;
bool comprehensive = 3;
}

message FindShortEdgesResponse{
Expand Down Expand Up @@ -349,6 +352,7 @@ message AdjustMergeFacesResponse{

message FindAdjustSimplifyRequest{
repeated string selection = 1;
bool comprehensive = 2;
}

message FindAdjustSimplifyResponse{
Expand Down