![]() ![]() ![]() ![]() ![]() |
|
微波射频仿真设计 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Design Verification > EncloseTo CommandsThis section describes the following EncloseTo commands: EncloseToErrors EncloseToPolygons EncloseToEdges
Input: One or two DV layers (containing polygons) Constraint (operator and positive real number) Measurement region qualifier (optional) Orientation Qualifiers (optional) Intersecting Edge qualifier (optional) Raw/Merged qualifier (optional)
Output: DV layer – Type varies with the command. EncloseToErrors outputs a DV layer containing error clusters. EncloseToPolygons outputs a DV layer containing polygons. EncloseToEdges outputs a DV layer containing edges.
Description: Enclose is the distance between edges of separate geometry that face each other, one from the inside and one from the outside AND one of the geometry is completely inside the other. The single layer version checks the enclosure between different geometries on the same layer. Enclosure from one to the other, both ways, is checked on each pair of geometry. The two layer version checks the enclosure of geometry on the second layer by geometry on the first layer. This is an edge to edge check, not corner to corner, or corner to edge.
This is not a symmetric operation. The order of the input layers does change the results.
An edge is considered to enclose another edge if the geometry of the first edge contains the other geometry, and the first edge is inside facing and the other edge is outside facing. Arrows in the following diagrams indicate edge pairs where an edge of the geometry with dots encloses an edge of the white geometry:
Edges are considered to face each other for enclosure checking only if the angle between the inside of one edge and the outside of the other is less than 180 degrees. Collinear edges are not considered facing. The following diagram illustrates angles between inside/outside edges:
The arrows in the following figures indicate the edge pairs that are checked when considering the facing requirement and using default orientation and intersecting qualifiers: Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, and Not Intersecting:
Single Layer Enclose Two Layer Enclose The first layer is white and the second layer has a dot fill pattern. The command looks for the enclosure of dot geometry by white geometry.
EncloseToError results are clusters of segments that meet the specified constraint. Each error segment indicates the portion of the geometry edge that meets the constraint. The error clusters are returned in a DV layer. The heavy lines in the illustration that follows show the portions of edges that are returned as one error cluster.
EncloseToPolygons results are any polygons that have at least one edge that meets the specified constraints. The polygons are returned in a DV layer. Both polygons in the following illustration are returned.
EncloseToEdges results are segments of edges that meet the specified constraints. These segments retain information about the polygon they were created from. This information allows the edges to be used as input to other DV commands. The segments are returned in a DV layer. The heavy lines in the illustration that follows show the segments that are returned as edges. They are not clustered, and they retain information about the directions inside and outside of the polygon and sibling relationship.
The constraint amount may be given with or without units. If no units are specified the current default length units are used.
Supported operators:
Qualifiers may be specified to constrain the edges checked. The defaults, if qualifiers are not specified, are Round (measurement region), Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not Adjacent, and Merged (geometry).
Example (JScript): var layer1 = DVChecker.ImportLayer("trace"); var encloseLayer1 = DVChecker.EncloseToErrors(Array("<", "5mm"), layer1, Array( "Round", "Acute Also", "Not Obtuse", "Parallel Also", "Not Perpendicular")); DVChecker.SaveLayer(encloseLayer1, "enclose errors", "enclose < 5 on trace layer"); var layer2 = DVChecker.ImportLayer("ground"); var encloseLayer2 = DVChecker.EncloseToErrors(Array("<", 5), layer1, layer2, Array( "Round", "Acute Also", "Not Obtuse", "Parallel Also")); DVChecker.SaveLayer(encloseLayer2, "enclose errors", "trace encloses ground by < 5");
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |