Creating the Feed Pin

Create a feed pin by searching and navigating the documentation.

The patch antenna contains a feed pin on which a port and voltage source will be placed. The pin is constructed with a line.
  1. Search for line in the integrated help.
    The results returned in response to the line query includes Line (object).
  2. Double-click Line (object).


    Figure 1. A snippet of the Line object which shows the Parent collection list.
  3. Click on the GeometryCollection hyperlink to navigate to the :AddLine(startpoint, endpoint) method.


    Figure 2. A snippet of the GeometryCollection which shows the :AddLine method.

Create two points that will be used to create a line.

  1. Create two points.
    startPoint = cf.Point(0, 0, 0)
    endPoint = cf.Point(0, 0, -0.551)
    my_line = myProject.Geometry:AddLine(startPoint, endPoint)
  2. Run the script created up to this point to view the progress in the GUI.
    Note:

    After running the script note that the geometry tree in the GUI contains two parts: Line1 and Rectangle1.



    Figure 3. The result of the CADFEKO GUI after running the script.
    Tip: The labels Line1 and Rectangle1 are default labels created by CADFEKO.
    Note: myLine and myRectangle are handles and not labels.
  3. Modify the label for Line1 to have the same label as the handle variable.
    my_line.Label = "my_line_Line1"

The line and rectangle must be unioned to ensure a connected mesh.

  1. Search for union in the integrated help.
    The results returned in response to the union query includes Union (method).
  2. Double-click the Union (method).


    Figure 4. A snippet of the GeometryCollection which shows the :Union method.
  3. Union all the geometry in the model using the following syntax:
    my_Union = my_project.Geometry:Union()
    After applying the Union (method) to the two parts, a union (object) is obtained.
    Tip: Alternatively you can use the following syntax:
    Union1 = my_project.Geometry:Union()
    The handle name will then be identical to the label.
    Tip: Union specific geometry using the following syntax:
    :Union({geometry1, geometry2})


    Figure 5. A snippet of the GeometryCollection which shows the :Union method that is applied only to a list of parts.