diff --git a/src/lay/lay/doc/about/drc_ref_drc.xml b/src/lay/lay/doc/about/drc_ref_drc.xml index 0c62ead5a..f2bddd69f 100644 --- a/src/lay/lay/doc/about/drc_ref_drc.xml +++ b/src/lay/lay/doc/about/drc_ref_drc.xml @@ -55,7 +55,6 @@ The following global functions are relevant for the DRC expressions:
  • length
  • middle
  • notch
  • -
  • odd_polygons
  • outside
  • overlap
  • overlapping
  • @@ -140,7 +139,7 @@ CAUTION: be careful not to take secondary input for the first argument. This will not render the desired results. Remember that the "drc" function will walk over all primary shapes and present single primaries to the NOT operation together -the the secondaries of that single shape. So when you use +with the secondaries of that single shape. So when you use secondary shapes as the first argument, they will not see all all the primaries required to compute the correct result. That's also why a XOR operation cannot be provided in the @@ -166,7 +165,7 @@ axis in the mathematical sense.

    For this measurement edges are considered without their direction and straight lines. A horizontal edge has an angle of zero degree. A vertical one has -an angle of 90 degee. The angle range is from -90 (exclusive) to 90 degree (inclusive). +an angle of 90 degrees. The angle range is from -90 (exclusive) to 90 degree (inclusive).

    If the input shapes are not polygons or edge pairs, they are converted to edges before the angle test is made. @@ -180,7 +179,7 @@ out = in.drc((primary.angle == 45) + (primary.angle == 135)) # equivalent

    Note that angle checks usually imply the need to rotation variant formation as cells which -are placed unrotated and rotated by 90 degree cannot be considered identical. This imposes +are placed non-rotated and rotated by 90 degree cannot be considered identical. This imposes a performance penalty in hierarchical mode. If possible, consider using DRC#rectilinear for example to detect shapes with non-manhattan geometry instead of using angle checks.

    @@ -520,7 +519,7 @@ This method is basically equivalent to the extended meth "extended(0, 0, dist, 0)". A version extending to the inside is extended_in.

    -

    "extent_refs" - Returns partial references to the boundings boxes of the polygons

    +

    "extent_refs" - Returns partial references to the bounding boxes of the polygons

    Usage:

    -This operation acts on polygons and applies corner rounding the the given inner +This operation acts on polygons and applies corner rounding to the given inner and outer corner radius and the number of points n per full circle. See Layer#rounded_corners for more details.

    The "rounded_corners" method is available as a plain function or as a method on DRC expressions. diff --git a/src/lay/lay/doc/about/drc_ref_global.xml b/src/lay/lay/doc/about/drc_ref_global.xml index 6400aa092..6cff08384 100644 --- a/src/lay/lay/doc/about/drc_ref_global.xml +++ b/src/lay/lay/doc/about/drc_ref_global.xml @@ -349,7 +349,7 @@ output type option: "as_dots" for dot-like edges and "as_boxes" for small (2x2 DBU) box markers.

    The "corners" operator can be put into a condition which means it's -applied to coners meeting a particular angle constraint. +applied to corners meeting a particular angle constraint.

    "covering" - Selects shapes entirely covering other shapes

    @@ -1118,19 +1118,6 @@ See
    enclosing for more details about the various ways t

    -

    "odd_polygons" - Selects all polygons which are non-orientable

    - -

    Usage:

    - -

    -This function can be used with a layer argument. In this case it -is equivalent to "layer.odd_polygons" (see Layer#odd_polygons). Without a layer -argument, "odd_polygons" represents an odd polygon filter for primary shapes in -DRC expressions (see Layer#drc and DRC#odd_polygons for more details). -

    "output" - Outputs a layer to the report database or output layout

    Usage:

    diff --git a/src/lay/lay/doc/about/drc_ref_layer.xml b/src/lay/lay/doc/about/drc_ref_layer.xml index c15dd08b9..b82899503 100644 --- a/src/lay/lay/doc/about/drc_ref_layer.xml +++ b/src/lay/lay/doc/about/drc_ref_layer.xml @@ -336,7 +336,7 @@ and methods to build an abstract definition of the operations to perform within the DRC.

    When the DRC function is executed, it will basically visit all shapes -from the input layer. This is the layer, the "drc" method is called on. +from the input layer (the layer, the "drc" method is called on)). While it does, it collects the neighbor shapes from all involved other inputs and runs the requested operations on each cluster. Currently, "drc" is only available for polygon layers. @@ -348,10 +348,10 @@ operation" or similar. This often can be achieved with conventional DRC function but involves potentially complex and heavy operations such as booleans, interact etc. For this reason, the "drc" function may provide a better performance.

    -In addition, within the loop a single shape from the input layer is presented to +In addition, within the loop a single shape from the input layer is presented to the execution engine which runs the operations. This allows using operations such as "size" without having to consider -neigbor polygons growing into the area of the initial shape. In this sense, +neighbor polygons growing into the area of the initial shape. In this sense, the "drc" function sees the layer as individual polygons rather than a global "sea of polygons". This enables new applications which are otherwise difficult to implement. @@ -571,7 +571,7 @@ one input is a non-empty shape set ("if_any") or if all inputs are non-empty ("if_all").

    For example, this will select all polygons which are rectangles -and whose area is larger than 20 quare micrometers: +and whose area is larger than 20 square micrometers:

     out = in.drc(if_all(rectangles, area > 20.0))