Create rectangle centered at origin on X-Y plane
Use the antenna.Rectangle
object to create a rectangle
centered at the origin and on the X-Y plane. You can use
antenna.Polygon
to create single-layer or multi-layered antennas
using pcbStack
.
rect = antenna.Rectangle
creates a rectangle centered
at the origin and on the X-Y plane.
rect = antenna.Rectangle(Name,Value)
sets properties
using one or more name-value pair. For example, rectangle =
antenna.Rectangle('Length',0.2)
creates a rectangle of length
0.2 m. Enclose each property name in quotes.
add | Boolean unite operation on two shapes |
area | Calculate area of shape in square meters |
subtract | Boolean subtraction operation on two shapes |
intersect | Boolean intersection operation on two shapes |
rotate | Rotate shape about axis and angle |
rotateX | Rotate shape about X-axis and angle |
rotateY | Rotate shape about Y-axis and angle |
rotateZ | Rotate shape about Z-axis and angle |
translate | Move shape to new location |
show | Display antenna or array structure; display shape as filled patch |
mesh | Mesh properties of metal or dielectric antenna or array structure |
removeHoles | Remove holes from shape |
removeSlivers | Remove sliver outliers from boundary of shape |