Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions ansys/api/geometry/v0/designs.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Designs;

Expand Down Expand Up @@ -30,6 +30,8 @@ service Designs{
rpc Export(ExportRequest) returns(ExportResponse);

rpc GetAsJson(GetAsJsonRequest) returns(GetAsJsonResponse);

rpc GetAssembly(EntityIdentifier) returns (GetAssemblyResponse);
}

message GetAllResponse{
Expand Down Expand Up @@ -65,6 +67,22 @@ message ExportResponse {
message GetAsJsonRequest {
string id=1;
}

message GetAsJsonResponse {
string json=1;
}
}

message CoordinateSystemList {
repeated CoordinateSystem coordinate_systems=1;
}

message GetAssemblyResponse {
repeated Part parts=1;
repeated Component transformed_parts=2;
repeated Component components=3;
repeated Body bodies=4;
repeated Material materials=5;
repeated NamedSelection named_selections=6;
map <string, CoordinateSystemList> component_coord_systems=7;
map <string, int32> component_shared_topologies=8;
}
6 changes: 5 additions & 1 deletion ansys/api/geometry/v0/models.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// ©2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0;

Expand Down Expand Up @@ -107,6 +107,7 @@ message Body{
Matrix transform_to_master = 6;
BodyMasterNullable master = 7;
string master_id = 8;
string parent_id = 9;
}

//
Expand Down Expand Up @@ -146,6 +147,9 @@ message Component{
string name = 2;
Part part_occurrence = 3;
Matrix placement =4;
string master_id=5;
string parent_id=6;
Part part_master=7;
}

//
Expand Down