Skip to content

Commit 4172e51

Browse files
authored
Merge pull request #2 from pyansys/medson/updateModel
Added generateTraceModel API.
2 parents 45ca6d6 + 851c750 commit 4172e51

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/ansys/api/sherlock/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.1
1+
0.1.2

src/ansys/api/sherlock/v0/SherlockModelService.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,26 @@ message ExportTraceReinforcementModelRequest {
9595
string coordinateUnits = 10; // Units of exported model coordinates, valid values are "in", "mm", "m", "mil", "micron", "nm".
9696
}
9797

98+
message GenerateTraceModelRequest {
99+
string project = 1; // Sherlock project name.
100+
string ccaName = 2; // The CCA name. If left empty, trace models will be generated for all CCAs and all of their copper layers.
101+
string copperLayerName = 3; // Copper layer from which to generate the trace model. If left empty, trace models will be generated for all copper layers.
102+
double maxArcSegment = 4; // Max Arc Segment.
103+
string maxArcSegmentUnits = 5; // Max Arc Segment units.
104+
double minTraceArea = 6; // Min Trace Area.
105+
string minTraceAreaUnits = 7; // Min Trace Area units.
106+
double minHoleArea = 8; // Min Hole Area.
107+
string minHoleAreaUnits = 9; // Min Hole Area units.
108+
}
109+
98110
service SherlockModelService {
99111
// Export an FEA Model.
100112
rpc exportFEAModel(ExportFEAModelRequest) returns (ReturnCode);
101113

102114
// Export a Trace Reinforcement model.
103115
rpc exportTraceReinforcementModel(ExportTraceReinforcementModelRequest) returns (ReturnCode);
116+
117+
// Generate a trace model.
118+
rpc generateTraceModel(GenerateTraceModelRequest) returns (ReturnCode);
104119
}
105120

0 commit comments

Comments
 (0)