SeparationTo Commands

This topic describes the following SeparationTo commands:

Input: One or two DV layers (containing polygons)

Constraint (operator and distance)

Measurement region qualifier (optional)

Qualifiers (optional)

Intersecting Edge qualifier (optional)

Raw/Merged qualifier (optional)

Output: DV layer – Type varies with the command. SeparationToErrors outputs a DV layer containing error clusters. SeparationToPolygons outputs a DV layer containing polygons.

Description: Separation is the distance between the outside facing edges of separate geometry. The single layer version checks the separation between different geometries on the same layer. The two layer version checks the separation between geometry on one layer and geometry on the other layer. This is an edge-to-edge check, not corner-to-corner, or corner-to-edge.

For separation checking, edges are considered to face each other only if the angle between the outsides of the edges is less than 180 degrees. Collinear edges are not considered facing. The following figure illustrates the various angles between outside edges:

The arrows in the figures in the following sections 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 Separation

For a sufficiently large distance, the separation of edges from polygon A to polygon C is measured. The presence of polygon B between them does not prevent the check.

Single Layer Separation Example

Two Layer Separation

Checking is based on the separation of edges, not the separation of the polygons. In some cases shapes that interact are checked.

Two Layer Separation Example

The heavy lines in the following example show the portions of edges that are returned as one error cluster.

Specified Constaint Example

SeparationToPolygons 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 example are returned.

Specified Constraint Example

The heavy lines in the following example 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.

Specified Constraint Example

The constraint amount may be given with or without units. If no units are specified, the current default length units are used.

Supported operators:

< Less than

<= Less than or equal to

== Equal to

> Greater than

>= Greater than or equal to

Qualifiers may be specified to constrain the edges checked. The defaults, if no qualifiers are specified, are Round, Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not Intersecting, and Merged.

Example (JScript):

var layer1 = DVChecker.ImportLayer("trace");

var sepLayer1 = DVChecker.SeparationToErrors(Array(“<”, “5mm”), layer1,

Array( “Round”, “Acute Also”, “Not Obtuse”, “Parallel Also”,

“Not Perpendicular”));

DVChecker.SaveLayer(sepLayer1, “separation errors”, “sep < 5 on trace layer”);

var layer2 = DVChecker.ImportLayer("ground");

var sepLayer2 = DVChecker.SeparationToErrors(Array(“<”, 5), layer1, layer2,

Array( “Round”, “Acute Also”, “Not Obtuse”, “Parallel Also”));

DVChecker.SaveLayer(sepLayer2, “separation errors”, “sep < 5 trace to ground

layers”);

Measurement Region Qualifier

Measurement region qualifier specifies the construction of the region used to test the constraint. There exist the following choices:

Measurement Region Use To Check Constraint

The following figure displays the returned segment for error or edge output, marked in blue, and the measurement regions, marked in red and green, that are used to check the constraint.

Example

Orientation Qualifiers

Orientation qualifiers specify edge or angle orientations that qualify edges to be checked against each other. Up to one choice from each of the following four groups may be used:

If multiple choices from any of the groups are used, the last choice on the group is used. It replaces any earlier choices of that group in the command.

SeparationToErrors(Array(“<”, 5), layer, Array(“Acute Also, Obtuse Also, Not Parallel, Not Acute));

is interpreted as:

SeparationToErrors(Array(“<”, 5), layer, Array(“Obtuse Also, Not Parallel, Not Acute));

If a choice contains “Only”, that is the only orientation qualifier recognized. Any other orientation qualifiers before or after the first “Only” is ignored.

SeparationToErrors(Array(“<”, “5mm”), layer, Array(“Acute Also, Obtuse Only, Not Parallel, Perpendicular Only));

is interpreted as:

SeparationToErrors(Array(“<”, “5mm”), layer, Array(“Obtuse Only));

Acute filter

Obtuse filter

Parallel filter

Perpendicular filter

Intersecting Edge Qualifier

Intersecting Edge qualifier determines if two edges that intersect are checked against each other. Intersecting edges are edges that share at least one point. This qualifier is used in conjunction with the orientation qualifiers to determine which edges to check. One of the three choices may be specified.

The arrows in the following figure indicate the edge pairs checked using Intersecting Only with the other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular).

Intersecting Edge Qualifier Example

Raw/Merged Qualifier

The Raw/Merged qualifier applies to a DV layer created using the ImportLayer command. Raw specifies the geometry is to be used without first being merged. In contrast, the default setting of Merged specifies the geometry is merged prior to its use.

The arrows in the following figures indicate the edge pairs checked using Raw versus Merged with the other qualifiers defaulted (Acute Also, Not Obtuse, Parallel Also, Not Perpendicular, Not Intersecting).

Raw/Merged Qualifier Example