Skip to content

Commit

Permalink
Merge pull request #18 from ansys/release1.0.3_jlin_1
Browse files Browse the repository at this point in the history
FEATURE: Add GetConnectionPt SetConnectionPt API in PadstackDefData
  • Loading branch information
drewm102 authored Apr 24, 2024
2 parents 47f3317 + 592ed9f commit 45307c2
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansys/api/edb/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.2
1.0.3
40 changes: 40 additions & 0 deletions ansys/api/edb/v1/padstack_def_data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ enum SolderballPlacement {
UNKNOWN_PLACEMENT = 2;
}

// CONNECTIONPT_DIRECTION type enum
enum ConnectionPtDirection {
PS_NO_DIRECTION = 0;
PS_ANY_DIRECTION = 1;
PS_0_DIRECTION = 2;
PS_45_DIRECTION = 3;
PS_90_DIRECTION = 4;
PS_135_DIRECTION = 5;
PS_180_DIRECTION = 6;
PS_225_DIRECTION = 7;
PS_270_DIRECTION = 8;
PS_315_DIRECTION = 9;
PS_UNKNOWN_DIRECTION = 10;
}

service PadstackDefDataService {
// create a PadstackDefData
rpc Create(google.protobuf.Empty) returns (EDBObjMessage) {}
Expand Down Expand Up @@ -115,6 +130,12 @@ service PadstackDefDataService {

// set solderBall material of PadstackDefData
rpc SetSolderBallMaterial(PadstackDefDataSetSolderBallMaterialMessage) returns (google.protobuf.Empty) {}

// get ConnectionPt of PadstackDefData
rpc GetConnectionPt(PadstackDefDataGetConnectionPtMessage) returns (PadstackDefDataConnectionPtMessage) {}

// set ConnectionPt of PadstackDefData
rpc SetConnectionPt(PadstackDefDataSetConnectionPtMessage) returns (google.protobuf.Empty) {}
}

// Message representing target and material
Expand Down Expand Up @@ -238,4 +259,23 @@ message PadstackDefDataSetSolderBallParamMessage{
message PadstackDefDataSetSolderBallMaterialMessage{
EDBObjMessage target = 1;
string material = 2;
}

message PadstackDefDataGetConnectionPtMessage {
EDBObjMessage target = 1;
string layer = 2;
}

message PadstackDefDataSetConnectionPtMessage {
EDBObjMessage target = 1;
string layer = 2;
ValueMessage x = 3;
ValueMessage y = 4;
ConnectionPtDirection direction = 5;
}

message PadstackDefDataConnectionPtMessage {
ValueMessage x = 1;
ValueMessage y = 2;
ConnectionPtDirection direction = 3;
}

0 comments on commit 45307c2

Please sign in to comment.