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
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/bodies.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.bodies;

Expand Down
14 changes: 12 additions & 2 deletions ansys/api/geometry/v0/commands.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.

syntax = "proto3";

Expand Down Expand Up @@ -181,6 +181,8 @@ service Commands{

rpc ImprintCurvesAndSync(ImprintCurvesRequest) returns (ImprintCurvesAndSyncResponse);


rpc DeleteEntities(DeleteEntitiesRequest) returns (DeleteEntitiesResponse);
}

message CreatePlaneRequest {
Expand Down Expand Up @@ -855,4 +857,12 @@ message RoundInfoRequest {
message RoundInfoResponse {
bool along_u = 1;
double radius = 2;
}
}

message DeleteEntitiesRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message DeleteEntitiesResponse{
repeated ansys.api.dbu.v0.EntityIdentifier deleted_entities = 1;
}
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/components.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.components;

Expand Down
12 changes: 11 additions & 1 deletion ansys/api/geometry/v0/coordinatesystems.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.coordinatesystems;

Expand All @@ -14,6 +14,8 @@ service CoordinateSystems{
rpc GetAll(GetAllRequest) returns(GetAllResponse) ;

rpc Create(CreateRequest) returns(CoordinateSystem);

rpc Delete(DeleteRequest) returns(DeleteResponse);
}

message GetAllRequest{
Expand All @@ -33,3 +35,11 @@ message CreateRequest{
message CreateResponse{
CoordinateSystem coordinate_system=1;
}

message DeleteRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message DeleteResponse{
repeated ansys.api.dbu.v0.EntityIdentifier deleted_coordinates_systems = 1;
}
13 changes: 12 additions & 1 deletion ansys/api/geometry/v0/curves.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.curves;

Expand All @@ -10,7 +10,10 @@ option go_package = "ansys/api/geometry/v0";

service Curves{
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Curve) ;

rpc GetAll(GetAllRequest) returns(GetAllResponse) ;

rpc Delete(DeleteRequest) returns(DeleteResponse);
}

message GetAllRequest{
Expand All @@ -21,4 +24,12 @@ message GetAllRequest{
message GetAllResponse{
// The curves on this page.
repeated Curve curves = 1;
}

message DeleteRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message DeleteResponse{
repeated ansys.api.dbu.v0.EntityIdentifier deleted_curves = 1;
}
49 changes: 49 additions & 0 deletions ansys/api/geometry/v0/datumplanes.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.datumplanes;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.DatumPlanes";

service DatumPlanes{
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(DatumPlane);

rpc GetAll(google.protobuf.Empty) returns(GetAllResponse);

rpc IsDeleted(IsDeletedRequest) returns(IsDeletedResponse);

rpc GetUpdateState(GetUpdateStateRequest) returns (UpdateStateResponse);

rpc Delete(DeleteRequest) returns (DeleteResponse);
}

message GetAllResponse{
repeated DatumPlane planes = 1;
}

message IsDeletedRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message IsDeletedResponse{
map<string, bool> deleted=1;
}

message GetUpdateStateRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message UpdateStateResponse{
map<string, UpdateState> update_states = 1;
}

message DeleteRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message DeleteResponse{
repeated ansys.api.dbu.v0.EntityIdentifier deleted_planes = 1;
}
12 changes: 11 additions & 1 deletion ansys/api/geometry/v0/edges.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.edges;

Expand Down Expand Up @@ -27,6 +27,8 @@ service Edges{
rpc GetCurve(ansys.api.dbu.v0.EntityIdentifier) returns (CurveGeometry);

rpc GetBoundingBox(ansys.api.dbu.v0.EntityIdentifier) returns (Box);

rpc Delete(DeleteRequest) returns(DeleteResponse);
}

message GetIntervalResponse {
Expand Down Expand Up @@ -58,3 +60,11 @@ message IsDeletedResponse{
message GetLengthResponse{
double length=1;
}

message DeleteRequest{
repeated ansys.api.dbu.v0.EntityIdentifier selection = 1;
}

message DeleteResponse{
repeated ansys.api.dbu.v0.EntityIdentifier deleted_edges = 1;
}
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/faces.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.faces;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/facettools.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.facettools;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/materials.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.materials;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/measuretools.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.measuretools;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/meshes.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.meshes;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/models.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/namedselections.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.namedselections;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/parts.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.parts;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/preparetools.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.preparetools;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/repairtools.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.repairtools;

Expand Down
2 changes: 1 addition & 1 deletion ansys/api/geometry/v0/unsupported.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2025, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";

package ansys.api.geometry.v0.unsupported;
Expand Down