File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 11syntax = "proto3" ;
22package ansys.api.geometry.v0 ;
33option csharp_namespace = "Ansys.Api.Geometry.V0" ;
4+ import "ansys/api/geometry/v0/models.proto" ;
5+
46
57service Designs {
68 rpc New (NewDesignRequest ) returns (Design );
79
810 rpc SaveAs (SaveAsDocumentRequest ) returns (SaveAsDocumentResponse );
11+
12+ rpc ExportDesign (ExportDesignRequest ) returns (ExportDesignResponse );
913}
1014
1115message NewDesignRequest {
@@ -23,4 +27,12 @@ message SaveAsDocumentRequest{
2327
2428message SaveAsDocumentResponse {
2529 string id = 1 ;
30+ }
31+
32+ message ExportDesignRequest {
33+ PartExportFormat format = 1 ;
34+ }
35+
36+ message ExportDesignResponse {
37+ bytes data = 1 ;
2638}
Original file line number Diff line number Diff line change @@ -163,4 +163,9 @@ message Tessellation {
163163 repeated double vertices = 1 ;
164164 repeated int32 faces = 2 ;
165165 int32 facecolor = 3 ;
166+ }
167+
168+ enum PartExportFormat {
169+ PARTEXPORTFORMAT_PARASOLID_TEXT = 0 ;
170+ PARTEXPORTFORMAT_PARASOLID_BINARY = 1 ;
166171}
You can’t perform that action at this time.
0 commit comments