@@ -130,6 +130,83 @@ service Commands{
130130 rpc ProjectToSolid (ProjectToSolidRequest ) returns (CommandResponse );
131131
132132 rpc SplitBody (SplitBodyRequest ) returns (CommandResponse );
133+
134+ rpc CreateLinearPattern (CreateLinearPatternRequest ) returns (PatternCommandResponse );
135+
136+ rpc ModifyLinearPattern (ModifyLinearPatternRequest ) returns (PatternCommandResponse );
137+
138+ rpc CreateCircularPattern (CreateCircularPatternRequest ) returns (PatternCommandResponse );
139+
140+ rpc CreateFillPattern (CreateFillPatternRequest ) returns (PatternCommandResponse );
141+
142+ rpc UpdateFillPattern (PatternRequest ) returns (PatternCommandResponse );
143+
144+ rpc RemovePatterns (PatternRequest ) returns (PatternCommandResponse );
145+
146+ rpc RemovePatternMember (PatternRequest ) returns (PatternCommandResponse );
147+
148+ rpc SetPatternValue (SetPatternValueRequest ) returns (PatternCommandResponse );
149+ }
150+
151+ message CreateLinearPatternRequest {
152+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
153+ bool two_dimensional = 2 ;
154+ ansys.api.dbu.v0.EntityIdentifier linear_direction = 3 ;
155+ int32 count_x = 4 ;
156+ int32 count_y = 5 ;
157+ double pitch_x = 6 ;
158+ double pitch_y = 7 ;
159+ }
160+
161+ message ModifyLinearPatternRequest {
162+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
163+ int32 count_x = 2 ;
164+ int32 count_y = 3 ;
165+ double pitch_x = 4 ;
166+ double pitch_y = 5 ;
167+ int32 new_seed_index = 6 ;
168+ int32 old_seed_index = 7 ;
169+ }
170+
171+ message CreateCircularPatternRequest {
172+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
173+ double circular_angle = 2 ;
174+ ansys.api.dbu.v0.EntityIdentifier circular_axis = 3 ;
175+ int32 circular_count = 4 ;
176+ int32 linear_count = 5 ;
177+ double linear_pitch = 6 ;
178+ bool two_dimensional = 7 ;
179+ Direction radial_direction = 8 ;
180+ }
181+
182+ message CreateFillPatternRequest {
183+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
184+ double column_x_offset = 2 ;
185+ double column_y_offset = 3 ;
186+ FillPatternType fill_pattern_type = 4 ;
187+ ansys.api.dbu.v0.EntityIdentifier linear_direction = 5 ;
188+ double margin = 6 ;
189+ double row_x_offset = 7 ;
190+ double row_y_offset = 8 ;
191+ double x_spacing = 9 ;
192+ double y_spacing = 10 ;
193+ }
194+
195+ message SetPatternValueRequest {
196+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
197+ PatternModificationType modification_type = 2 ;
198+ double value = 3 ;
199+ }
200+
201+ message PatternRequest {
202+ repeated ansys.api.dbu.v0.EntityIdentifier selection = 1 ;
203+ }
204+
205+ message PatternCommandResponse {
206+ ansys.api.dbu.v0.RequestResult result = 1 ;
207+ repeated Face created_faces = 2 ;
208+ repeated Edge created_edges = 3 ;
209+ repeated Body modified_bodies = 4 ;
133210}
134211
135212message CombineIntersectBodiesRequest {
0 commit comments