From 8193f55d1d1ee16a24c69531fc6eef23f7c91393 Mon Sep 17 00:00:00 2001 From: tfs_caslservice Date: Tue, 17 Dec 2024 21:12:47 -0500 Subject: [PATCH] sync: add changes from local folder --- ansys/api/geometry/v0/commands.proto | 40 ++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) 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; }