diff --git a/ansys/api/geometry/v0/commands.proto b/ansys/api/geometry/v0/commands.proto index 6e7487d..7aaf856 100644 --- a/ansys/api/geometry/v0/commands.proto +++ b/ansys/api/geometry/v0/commands.proto @@ -105,13 +105,49 @@ service Commands{ rpc MoveImprintEdges(MoveImprintEdgesRequest) returns (MoveImprintEdgesResponse); - rpc OffsetFaceCurves(OffsetFaceCurvesRequest) returns (OffsetFaceCurvesResponse); + rpc OffsetFaceCurves(OffsetFaceCurvesRequest) returns (CreatedCurvesCommandResponse); rpc RevolveFaces(RevolveFacesRequest) returns (CommandResponse); rpc RevolveFacesUpTo(RevolveFacesUpToRequest) returns (CommandResponse); rpc RevolveFacesByHelix(RevolveFacesByHelixRequest) returns (CommandResponse); + + rpc SweepFaces(SweepFacesRequest) returns (CommandResponse); + + rpc SweepPoints(SweepPointsRequest) returns (CreatedCurvesCommandResponse); + + rpc RevolvePoints(RevolvePointsRequest) returns (CreatedCurvesCommandResponse); + + rpc RevolvePointsByHelix(RevolvePointsByHelixRequest) returns (CreatedCurvesCommandResponse); +} + +message SweepFacesRequest { + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; + repeated ansys.api.dbu.v0.EntityIdentifier trajectories = 2; + double optional_distance = 3; +} + +message SweepPointsRequest { + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; + repeated ansys.api.dbu.v0.EntityIdentifier trajectories = 2; + double distance = 3; +} + +message RevolvePointsRequest { + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; + Line axis = 2; + double angle = 3; +} + +message RevolvePointsByHelixRequest { + repeated ansys.api.dbu.v0.EntityIdentifier selection = 1; + Line axis = 2; + double height = 3; + double pitch = 4; + double taper_angle = 5; + bool right_handed = 6; + bool pull_symmetric = 7; } message RevolveFacesRequest { @@ -146,7 +182,7 @@ message OffsetFaceCurvesRequest { double offset = 2; } -message OffsetFaceCurvesResponse { +message CreatedCurvesCommandResponse { ansys.api.dbu.v0.RequestResult result = 1; repeated Curve created_curves = 2; }