diff --git a/src/db/db/dbLayout.h b/src/db/db/dbLayout.h
index 13bf6cee6..3d4c269ec 100644
--- a/src/db/db/dbLayout.h
+++ b/src/db/db/dbLayout.h
@@ -434,7 +434,7 @@ private:
};
/**
- * @brief An interface that is used to map layer between libraries and PCell's and the layout
+ * @brief An interface that is used to map layer between libraries and PCells and the layout
*/
class ImportLayerMapping
{
@@ -1510,7 +1510,7 @@ public:
/**
* @brief Gets the guiding shape layer
*
- * The guiding shape layer is used to store the guiding shapes of PCell's
+ * The guiding shape layer is used to store the guiding shapes of PCells
*/
unsigned int guiding_shape_layer () const;
diff --git a/src/db/db/dbLibrary.cc b/src/db/db/dbLibrary.cc
index 008af5085..45765a6f3 100644
--- a/src/db/db/dbLibrary.cc
+++ b/src/db/db/dbLibrary.cc
@@ -143,7 +143,7 @@ Library::remap_to (db::Library *other)
}
// We do PCell resolution before the library proxy resolution. The reason is that
- // PCell's may generate library proxies in their instantiation. Hence we must instantiate
+ // PCells may generate library proxies in their instantiation. Hence we must instantiate
// the PCells before we can resolve them.
for (std::vector
- Starting with version 0.22, KLayout offers parametrized cells (PCell's).
+ Starting with version 0.22, KLayout offers parametrized cells (PCells).
PCells are a feature found in other tools to simplify layout by providing generators
for common layout building blocks. Parametrized cells do not contain
static layout but are created dynamically by code using a given set of parameters.
@@ -20,14 +20,14 @@
Using a PCell is easy: choose the library and the PCell from that library when asked for
- the cell in the instance options dialog. For PCell's, KLayout offers an additional
+ the cell in the instance options dialog. For PCells, KLayout offers an additional
parameters page where it asks for the parameter required by the PCell. The placement
- of the PCell is done as for simple instances. PCell's offer the same instantiation
+ of the PCell is done as for simple instances. PCells offer the same instantiation
options that normal cells.
- KLayout provides a simple library called "Basic" with some useful basic PCell's.
+ KLayout provides a simple library called "Basic" with some useful basic PCells.
See for more details about that library.
A PCell implementation consists of at least three parts:
a description text, a parameter declaration and a production callback. In addition, a PCell
- can provide a method that "fixes" parameters according to the PCell's consistency rules
+ can provide a method that "fixes" parameters according to the PCells consistency rules
(coerce parameters). Technically, a PCell is a class implementing a certain interface with
these methods.
- PCell's are usually packed in libraries. PCell libraries can be provided as
+ PCells are usually packed in libraries. PCell libraries can be provided as
shared objects/DLL's (in C++) or as Ruby scripts. Because PCell code is only executed if
required, performance usually is not the main objective. A Ruby implementation
will therefore be sufficient in most cases and
diff --git a/src/lay/lay/doc/about/basic_lib.xml b/src/lay/lay/doc/about/basic_lib.xml
index 2d08969ff..a2592561e 100644
--- a/src/lay/lay/doc/about/basic_lib.xml
+++ b/src/lay/lay/doc/about/basic_lib.xml
@@ -10,22 +10,22 @@
- The "Basic" Library provides some useful generic PCell's.
+ The "Basic" Library provides some useful generic PCells.
One use model is to draw a shape and convert the shape to one
- of the provided PCell's. This use model is suitable for creating
+ of the provided PCells. This use model is suitable for creating
Circles, Ellipses, Donuts, Texts and rounded and stroked polygons or
rounded paths.
- To use that feature, draw the shape and choose "Convert To PCell's"
+ To use that feature, draw the shape and choose "Convert To PCells"
from the "Edit"/"Selection" menu. A dialog will be shown where the
- target PCell can be selected. Only those PCell's supporting that
+ target PCell can be selected. Only those PCells supporting that
shape type will be shown.
- The "Basic" library provides the following PCell's:
+ The "Basic" library provides the following PCells:
These PCell's define a circle and an ellipse. In both cases, the number of interpolation
+ These PCells define a circle and an ellipse. In both cases, the number of interpolation
points (per full circle) can be specified. The default is 64 points. A circle features
a handle to define the diameter. An ellipse features two handles defining the diameters in
x and y direction.
@@ -112,7 +112,7 @@
Both of these PCell's are segments of circles or donuts. The PIE PCell features two handles to
+ Both of these PCells are segments of circles or donuts. The PIE PCell features two handles to
define the radius and start and end angle. The ARC PCell also features two handles to define outer
and inner radius as well. The following image shows PIE and ARC in action:The "Basic" library
@@ -88,7 +88,7 @@
CIRCLE and ELLIPSE
- PIE and ARC
-
Both PCell's do not support conversion of shapes.
+Both PCells do not support conversion of shapes.
To learn more about libraries, read . Read - for details about PCell's. + for details about PCells.
diff --git a/src/lay/lay/doc/manual/pcell_operations.xml b/src/lay/lay/doc/manual/pcell_operations.xml index 952608b1f..f92ca7e0a 100644 --- a/src/lay/lay/doc/manual/pcell_operations.xml +++ b/src/lay/lay/doc/manual/pcell_operations.xml @@ -8,15 +8,15 @@- PCell's can be created from shapes if the PCell is derived from a "guiding shape". - Specifically the Basic library PCell's support derivation from guiding shapes with a few + PCells can be created from shapes if the PCell is derived from a "guiding shape". + Specifically the Basic library PCells support derivation from guiding shapes with a few exceptions. So for example, a round-cornered polygon can be created from a normal polygon by selecting the polygons, choosing "Edit/Selection/Convert To PCell" and selecting the "Basic.ROUND_POLYGON" for the PCell.
- PCell's can be converted to normal cells by choosing "Edit/Cell/Convert Cell To Static" + PCells can be converted to normal cells by choosing "Edit/Cell/Convert Cell To Static" or "Edit/Layout/Convert All Cells To Static". Normal (static) cells can be edited individually but do no longer offer parameters to control the look of the cell.
diff --git a/src/lay/lay/doc/programming/database_api.xml b/src/lay/lay/doc/programming/database_api.xml index cd4dfc0c8..b7dce4f13 100644 --- a/src/lay/lay/doc/programming/database_api.xml +++ b/src/lay/lay/doc/programming/database_api.xml @@ -321,7 +321,7 @@ lv.remove_unused_layers is a special layer. -In addition, a layout contains a special layer which is used to implement the "guiding shape" feature of PCell's. +
In addition, a layout contains a special layer which is used to implement the "guiding shape" feature of PCells.
It is a special layer that serves as a container for shapes which parametrize PCells. The index of that layer can be
obtained with
diff --git a/src/lay/lay/doc/programming/python.xml b/src/lay/lay/doc/programming/python.xml index ad2094e66..6eb8449d6 100644 --- a/src/lay/lay/doc/programming/python.xml +++ b/src/lay/lay/doc/programming/python.xml @@ -17,7 +17,7 @@ So it is possible to write one script in Ruby and another one in Python. Just pick your favorite language. Scripts written in different languages share the same KLayout data structures. Naturally they cannot directly share variables or language-specific data. But you can, for example, - implement PCell's in Python and Ruby and use those different PCells in the same layout at the same time. + implement PCells in Python and Ruby and use those different PCells in the same layout at the same time. Depending on the type of PCell, KLayout will either execute Python or Ruby code.
diff --git a/src/lay/lay/doc/programming/ruby_pcells.xml b/src/lay/lay/doc/programming/ruby_pcells.xml index 59918c91d..caabcf7ac 100644 --- a/src/lay/lay/doc/programming/ruby_pcells.xml +++ b/src/lay/lay/doc/programming/ruby_pcells.xml @@ -3,7 +3,7 @@- A good starting point for Ruby PCell's is the PCell sample. Create a macro in the + A good starting point for Ruby PCells is the PCell sample. Create a macro in the macro development IDE (use the "+" button) and choose "PCell sample" from the templates.
@@ -171,7 +171,7 @@ endUsing the same concept, a library is an object derived from the
Of course, more than one PCell class can be declared. Each PCell type must - have an own implementation class which we will use later to create the PCell's from. + have an own implementation class which we will use later to create the PCells from.
- The library is the container for the PCell's. + The library is the container for the PCells. All important code is packed into the constructor of the library.
@@ -476,14 +476,14 @@ endThis line of code will instantiate the library and, through the constructor, instantiate - the PCell's and register the library. We are done now and can use the library and our PCell. + the PCells and register the library. We are done now and can use the library and our PCell.
When you have modified the code, you need to rerun the script. That will create the classes - again and re-register the PCell's and the Library with the new implementation. PCell's already + again and re-register the PCells and the Library with the new implementation. PCells already living in the layout will be migrated to the new implementation by mapping their parameters by their symbolic names.
diff --git a/src/lay/lay/salt_templates/tech/tech/tech.lyt b/src/lay/lay/salt_templates/tech/tech/tech.lyt index ac78bda13..b0d1af571 100644 --- a/src/lay/lay/salt_templates/tech/tech/tech.lyt +++ b/src/lay/lay/salt_templates/tech/tech/tech.lyt @@ -4,6 +4,6 @@