@@ -148,12 +148,52 @@ service Commands{
148148 rpc SetPatternValue (SetPatternValueRequest ) returns (PatternCommandResponse );
149149
150150 rpc DetachFaces (DetachFacesRequest ) returns (CommandResponse );
151+
152+ rpc PullCurvePoint (PullCurvePointRequest ) returns (CommandResponse );
153+
154+ rpc RenameObject (RenameObjectRequest ) returns (CommandResponse );
155+
156+ rpc ReplaceFace (ReplaceFaceRequest ) returns (CommandResponse );
157+
158+ rpc Shell (ShellRequest ) returns (CommandResponse );
159+
160+ rpc Move (MoveRequest ) returns (CommandResponse );
161+
162+ rpc MoveRotate (MoveRotateRequest ) returns (CommandResponse );
163+
164+ rpc Mirror (MirrorRequest ) returns (CommandResponse );
165+
166+ rpc SplitFace (SplitFaceRequest ) returns (CommandResponse );
167+
168+ rpc SplitEdge (SplitEdgeRequest ) returns (CommandResponse );
151169}
152170
153171message DetachFacesRequest {
154172 repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
155173}
156174
175+ message PullCurvePointRequest {
176+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
177+ double distance = 2 ;
178+ bool linear = 3 ;
179+ bool reversed = 4 ;
180+ }
181+
182+ message RenameObjectRequest {
183+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
184+ string name = 2 ;
185+ }
186+
187+ message ReplaceFaceRequest {
188+ repeated ansys.api.dbu.v0.EntityIdentifier target_selection = 1 ;
189+ repeated ansys.api.dbu.v0.EntityIdentifier replacement_selection = 2 ;
190+ }
191+
192+ message ShellRequest {
193+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
194+ double offset = 2 ;
195+ }
196+
157197message CreateLinearPatternRequest {
158198 repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
159199 bool two_dimensional = 2 ;
@@ -245,6 +285,26 @@ message SplitBodyRequest {
245285 bool extend_surfaces = 5 ;
246286}
247287
288+ enum SplitEdgeType {
289+ SPLITEDGE_BY_PROPORTION = 0 ;
290+ SPLITEDGE_BY_POINT = 1 ;
291+ SPLITEDGE_BY_LENGTH = 2 ;
292+ }
293+
294+ enum SplitEdgeReference {
295+ SPLITEDGE_REFERENCE_START = 0 ;
296+ SPLITEDGE_REFERENCE_END = 1 ;
297+ }
298+
299+ message SplitEdgeRequest {
300+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
301+ SplitEdgeType split_type = 2 ;
302+ repeated double proportions = 3 ;
303+ repeated Point points = 4 ;
304+ repeated double lengths = 5 ;
305+ SplitEdgeReference reference = 6 ;
306+ }
307+
248308message SweepFacesRequest {
249309 repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
250310 repeated ansys.api.dbu.v0.EntityIdentifier trajectories = 2 ;
@@ -429,6 +489,10 @@ message CommandResponse {
429489 bool success = 1 ;
430490 repeated Body created_bodies = 2 ;
431491 repeated Body modified_bodies = 3 ;
492+ repeated Face created_faces = 4 ;
493+ repeated Face modified_faces = 5 ;
494+ repeated Edge created_edges = 6 ;
495+ repeated Edge modified_edges = 7 ;
432496}
433497
434498message FilletRequest {
@@ -672,3 +736,43 @@ message GetAssemblyResponse {
672736 map <string , CoordinateSystemList > component_coord_systems = 7 ;
673737 map <string , int32 > component_shared_topologies = 8 ;
674738}
739+
740+ message MoveRequest {
741+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
742+ Direction direction = 2 ;
743+ double distance = 3 ;
744+ }
745+
746+ message MoveRotateRequest {
747+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
748+ Line axis = 2 ;
749+ double angle = 3 ;
750+ }
751+
752+ message MirrorRequest {
753+ ansys.api.dbu.v0.EntityIdentifier mirror_plane = 1 ;
754+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 2 ;
755+ }
756+
757+ enum SplitFaceType {
758+ SPLITFACE_BY_PARAMETER = 0 ;
759+ SPLITFACE_BY_TWO_POINTS = 1 ;
760+ SPLITFACE_BY_CURVES = 2 ;
761+ SPLITFACE_BY_CUTTER = 3 ;
762+ }
763+
764+ enum SplitFaceParameterType {
765+ SPLITFACEPARAMETER_UV = 0 ;
766+ SPLITFACEPARAMETER_PERPENDICULAR = 1 ;
767+ }
768+
769+ message SplitFaceRequest {
770+ ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
771+ Point split_parameter = 2 ;
772+ Point split_start = 3 ;
773+ Point split_end = 4 ;
774+ ansys.api.dbu.v0.EntityIdentifier face_cutter = 5 ;
775+ repeated TrimmedCurve split_curves = 6 ;
776+ SplitFaceType split_type = 7 ;
777+ SplitFaceParameterType parameter_type = 8 ;
778+ }
0 commit comments