File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1- // ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1+ // ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
22syntax = "proto3" ;
33package ansys.api.geometry.v0.Designs ;
44
@@ -30,6 +30,8 @@ service Designs{
3030 rpc Export (ExportRequest ) returns (ExportResponse );
3131
3232 rpc GetAsJson (GetAsJsonRequest ) returns (GetAsJsonResponse );
33+
34+ rpc GetAssembly (EntityIdentifier ) returns (GetAssemblyResponse );
3335}
3436
3537message GetAllResponse {
@@ -65,6 +67,22 @@ message ExportResponse {
6567message GetAsJsonRequest {
6668 string id = 1 ;
6769}
70+
6871message GetAsJsonResponse {
6972 string json = 1 ;
70- }
73+ }
74+
75+ message CoordinateSystemList {
76+ repeated CoordinateSystem coordinate_systems = 1 ;
77+ }
78+
79+ message GetAssemblyResponse {
80+ repeated Part parts = 1 ;
81+ repeated Component transformed_parts = 2 ;
82+ repeated Component components = 3 ;
83+ repeated Body bodies = 4 ;
84+ repeated Material materials = 5 ;
85+ repeated NamedSelection named_selections = 6 ;
86+ map <string , CoordinateSystemList > component_coord_systems = 7 ;
87+ map <string , int32 > component_shared_topologies = 8 ;
88+ }
Original file line number Diff line number Diff line change 1- // ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
1+ // ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
22syntax = "proto3" ;
33package ansys.api.geometry.v0 ;
44
@@ -107,6 +107,7 @@ message Body{
107107 Matrix transform_to_master = 6 ;
108108 BodyMasterNullable master = 7 ;
109109 string master_id = 8 ;
110+ string parent_id = 9 ;
110111}
111112
112113//
@@ -146,6 +147,9 @@ message Component{
146147 string name = 2 ;
147148 Part part_occurrence = 3 ;
148149 Matrix placement = 4 ;
150+ string master_id = 5 ;
151+ string parent_id = 6 ;
152+ Part part_master = 7 ;
149153}
150154
151155//
You can’t perform that action at this time.
0 commit comments