Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync: file sync performed by ansys-tools-repo-sync #52

Closed
wants to merge 1 commit into from
Closed
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
30 changes: 16 additions & 14 deletions ansys/api/geometry/v0/bodies.proto
Original file line number Diff line number Diff line change
@@ -1,52 +1,54 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Bodies;
package ansys.api.geometry.v0.bodies;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Bodies";

service Bodies
{
rpc Get(GetRequest) returns(Body);

rpc GetMaster(EntityIdentifier) returns(Body);
rpc GetMaster(ansys.api.dbu.v0.EntityIdentifier) returns(Body);

rpc GetOriginal(EntityIdentifier) returns(Body);
rpc GetOriginal(ansys.api.dbu.v0.EntityIdentifier) returns(Body);

rpc GetParent(EntityIdentifier) returns(Part);
rpc GetParent(ansys.api.dbu.v0.EntityIdentifier) returns(Part);

rpc GetAll(GetAllRequest) returns(GetAllResponse) ;

rpc GetAssignedMaterial(EntityIdentifier) returns(Material);
rpc GetAssignedMaterial(ansys.api.dbu.v0.EntityIdentifier) returns(Material);

rpc SetAssignedMaterial(SetAssignedMaterialRequest) returns(SetAssignedMaterialResponse);

rpc Translate(TranslateRequest) returns(Empty);
rpc Translate(TranslateRequest) returns(google.protobuf.Empty);

rpc GetFaces(EntityIdentifier) returns (GetFacesResponse);
rpc GetFaces(ansys.api.dbu.v0.EntityIdentifier) returns (GetFacesResponse);

rpc CreateBodyFromFace(CreateBodyFromFaceRequest) returns (Body);

rpc CreateExtrudedBodyFromFaceProfile(CreateExtrudedBodyFromFaceProfileRequest) returns (Body);

rpc Delete(EntityIdentifier) returns (Empty);
rpc Delete(ansys.api.dbu.v0.EntityIdentifier) returns (google.protobuf.Empty);

rpc CreatePlanarBody(CreatePlanarBodyRequest) returns (Body);

rpc CreateExtrudedBody(CreateExtrudedBodyRequest) returns (Body);

rpc GetVolume(EntityIdentifier) returns(GetVolumeResponse);
rpc GetVolume(ansys.api.dbu.v0.EntityIdentifier) returns(GetVolumeResponse);

rpc GetTessellation(EntityIdentifier) returns(GetTessellationResponse);
rpc GetTessellation(ansys.api.dbu.v0.EntityIdentifier) returns(GetTessellationResponse);

rpc GetEdges(EntityIdentifier) returns (GetEdgesResponse);
rpc GetEdges(ansys.api.dbu.v0.EntityIdentifier) returns (GetEdgesResponse);

rpc GetName(EntityIdentifier) returns (GetNameResponse);
rpc GetName(ansys.api.dbu.v0.EntityIdentifier) returns (GetNameResponse);

rpc Copy(CopyRequest) returns (Body);

rpc GetUpdateState(EntityIdentifier) returns (UpdateState);
rpc GetUpdateState(ansys.api.dbu.v0.EntityIdentifier) returns (UpdateState);

rpc Boolean(BooleanRequest) returns (BooleanResponse);
}
Expand Down
37 changes: 28 additions & 9 deletions ansys/api/geometry/v0/commands.proto
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.

syntax = "proto3";

package ansys.api.geometry.v0.Commands;
package ansys.api.geometry.v0.commands;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Commands";

Expand All @@ -29,29 +31,31 @@ service Commands{

rpc CreateBeamSegments(CreateBeamSegmentsRequest) returns (CreateBeamSegmentsResponse);

rpc FillFaces(FillFacesRequest) returns (Empty);
rpc FillFaces(FillFacesRequest) returns (google.protobuf.Empty);

rpc CreateDesignPoint(CreateDesignPointRequest) returns (CreateDesignPointResponse);

rpc CreateDesignPoints(CreateDesignPointsRequest) returns (CreateDesignPointsResponse);

rpc CreateCurvesFromProfile(CreateCurvesFromProfileRequest) returns (CreateCurvesFromProfileResponse);

rpc AssignMidSurfaceThickness(AssignMidSurfaceThicknessRequest) returns (Empty);
rpc AssignMidSurfaceThickness(AssignMidSurfaceThicknessRequest) returns (google.protobuf.Empty);

rpc AssignMidSurfaceOffsetType(AssignMidSurfaceOffsetTypeRequest) returns (Empty);
rpc AssignMidSurfaceOffsetType(AssignMidSurfaceOffsetTypeRequest) returns (google.protobuf.Empty);

rpc DownloadFile(Empty) returns (DownloadFileResponse);
rpc DownloadFile(google.protobuf.Empty) returns (DownloadFileResponse);

rpc UploadFile(UploadFileRequest) returns (UploadFileResponse);

rpc CreateSphere(CreateSphereRequest) returns (CreateSphereResponse);

rpc CreateTorus(CreateTorusRequest) returns (CreateTorusResponse);

rpc DeleteBeam(EntityIdentifier) returns (Empty);
rpc DeleteBeam(ansys.api.dbu.v0.EntityIdentifier) returns (google.protobuf.Empty);

rpc DeleteBeamProfile(EntityIdentifier) returns (Empty);
rpc DeleteBeamProfile(ansys.api.dbu.v0.EntityIdentifier) returns (google.protobuf.Empty);

rpc GetAssembly(ansys.api.dbu.v0.EntityIdentifier) returns (GetAssemblyResponse);
}

message RenameManyRequest{
Expand Down Expand Up @@ -223,4 +227,19 @@ message CreateTorusRequest {

message CreateTorusResponse {
string id=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;
}
21 changes: 11 additions & 10 deletions ansys/api/geometry/v0/components.proto
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Components;

package ansys.api.geometry.v0.components;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Components";

service Components{
rpc Get(EntityIdentifier) returns(Component);
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Component);

rpc GetAll(GetAllRequest) returns(GetAllResponse) ;

rpc GetBodies(EntityIdentifier) returns (GetBodiesResponse);
rpc GetBodies(ansys.api.dbu.v0.EntityIdentifier) returns (GetBodiesResponse);

rpc Delete(EntityIdentifier) returns(Empty);
rpc Delete(ansys.api.dbu.v0.EntityIdentifier) returns(google.protobuf.Empty);

rpc Create(CreateRequest) returns(CreateResponse);

rpc SetSharedTopology(SetSharedTopologyRequest) returns (Empty);
rpc SetSharedTopology(SetSharedTopologyRequest) returns (google.protobuf.Empty);

rpc GetRootComponent(Empty) returns (GetRootComponentResponse);
rpc GetRootComponent(google.protobuf.Empty) returns (GetRootComponentResponse);

rpc GetName(EntityIdentifier) returns (GetComponentNameResponse);
rpc GetName(ansys.api.dbu.v0.EntityIdentifier) returns (GetComponentNameResponse);

rpc GetUpdateState(EntityIdentifier) returns (UpdateState);
rpc GetUpdateState(ansys.api.dbu.v0.EntityIdentifier) returns (UpdateState);

rpc SetPlacement(SetPlacementRequest) returns (SetPlacementResponse);
}
Expand Down
8 changes: 5 additions & 3 deletions ansys/api/geometry/v0/coordinatesystems.proto
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.CoordinateSystems;
package ansys.api.geometry.v0.coordinatesystems;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.CoordinateSystems";

service CoordinateSystems{

rpc Get(EntityIdentifier) returns(CoordinateSystem);
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(CoordinateSystem);

rpc GetAll(GetAllRequest) returns(GetAllResponse) ;

Expand Down
7 changes: 4 additions & 3 deletions ansys/api/geometry/v0/curves.proto
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Curves;
package ansys.api.geometry.v0.curves;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Curves";
option go_package = "ansys/api/geometry/v0";

service Curves{
rpc Get(EntityIdentifier) returns(Curve) ;
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Curve) ;
rpc GetAll(GetAllRequest) returns(GetAllResponse) ;
}

Expand Down
17 changes: 9 additions & 8 deletions ansys/api/geometry/v0/edges.proto
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Edges;
package ansys.api.geometry.v0.edges;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Edges";

service Edges{
rpc Get(EntityIdentifier) returns(Edge);
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Edge);

rpc GetAll(GetAllRequest) returns(GetAllResponse);

rpc GetFaces(EntityIdentifier) returns(GetFacesResponse);
rpc GetFaces(ansys.api.dbu.v0.EntityIdentifier) returns(GetFacesResponse);

rpc GetLength(EntityIdentifier) returns(GetLengthResponse);
rpc GetLength(ansys.api.dbu.v0.EntityIdentifier) returns(GetLengthResponse);

rpc IsDeleted(EntityIdentifier) returns(IsDeletedResponse);
rpc IsDeleted(ansys.api.dbu.v0.EntityIdentifier) returns(IsDeletedResponse);

rpc GetUpdateState(EntityIdentifier) returns (UpdateState);
rpc GetUpdateState(ansys.api.dbu.v0.EntityIdentifier) returns (UpdateState);

rpc GetStartAndEndPoints(EntityIdentifier) returns (GetStartAndEndPointsResponse);
rpc GetStartAndEndPoints(ansys.api.dbu.v0.EntityIdentifier) returns (GetStartAndEndPointsResponse);
}

message GetStartAndEndPointsResponse {
Expand Down
21 changes: 11 additions & 10 deletions ansys/api/geometry/v0/faces.proto
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Faces;
package ansys.api.geometry.v0.faces;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Faces";

service Faces{
rpc Get(EntityIdentifier) returns(Face);
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Face);

rpc GetAll(GetAllRequest) returns(GetAllResponse);

rpc GetNormal(GetNormalRequest) returns(GetNormalResponse);

rpc GetArea(EntityIdentifier) returns(GetAreaResponse);
rpc GetArea(ansys.api.dbu.v0.EntityIdentifier) returns(GetAreaResponse);

rpc Evaluate(EvaluateRequest) returns(EvaluateResponse);

rpc GetEdges(EntityIdentifier) returns(GetEdgesResponse);
rpc GetEdges(ansys.api.dbu.v0.EntityIdentifier) returns(GetEdgesResponse);

rpc IsDeleted(EntityIdentifier) returns(IsDeletedResponse);
rpc IsDeleted(ansys.api.dbu.v0.EntityIdentifier) returns(IsDeletedResponse);

rpc GetExternalEdges(EntityIdentifier) returns(GetExternalEdgesResponse);
rpc GetExternalEdges(ansys.api.dbu.v0.EntityIdentifier) returns(GetExternalEdgesResponse);

rpc GetInternalEdges(EntityIdentifier) returns(GetInternalEdgesResponse);
rpc GetInternalEdges(ansys.api.dbu.v0.EntityIdentifier) returns(GetInternalEdgesResponse);

rpc GetLoops(EntityIdentifier) returns (GetLoopsResponse);
rpc GetLoops(ansys.api.dbu.v0.EntityIdentifier) returns (GetLoopsResponse);

rpc GetUpdateState(EntityIdentifier) returns (UpdateState);
rpc GetUpdateState(ansys.api.dbu.v0.EntityIdentifier) returns (UpdateState);

}

Expand Down
4 changes: 2 additions & 2 deletions ansys/api/geometry/v0/facettools.proto
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.FacetTools;
package ansys.api.geometry.v0.facettools;

import "ansys/api/geometry/v0/models.proto";

Expand Down
9 changes: 5 additions & 4 deletions ansys/api/geometry/v0/materials.proto
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Materials;
package ansys.api.geometry.v0.materials;

import "ansys/api/geometry/v0/models.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Materials";

service Materials{

rpc GetAllNames(Empty) returns(GetAllNamesResponse);
rpc GetAllNames(google.protobuf.Empty) returns(GetAllNamesResponse);

rpc AddToDocument(AddToDocumentRequest) returns (Empty);
rpc AddToDocument(AddToDocumentRequest) returns (google.protobuf.Empty);
}

message AddToDocumentRequest {
Expand Down
8 changes: 5 additions & 3 deletions ansys/api/geometry/v0/meshes.proto
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
// Copyright 2023, ANSYS Inc. Unauthorized use, distribution or duplication is prohibited.
syntax = "proto3";
package ansys.api.geometry.v0.Meshes;
package ansys.api.geometry.v0.meshes;

import "ansys/api/dbu/v0/dbumodels.proto";
import "ansys/api/geometry/v0/models.proto";

option csharp_namespace = "Ansys.Api.Geometry.V0.Meshes";

service Meshes{
rpc Get(EntityIdentifier) returns(Mesh);
rpc Get(ansys.api.dbu.v0.EntityIdentifier) returns(Mesh);

rpc GetAll(GetAllRequest) returns(GetAllResponse);

Expand Down
Loading