antenna.Polygon
xy 平面上での多角形の作成
説明
antenna.Polygon オブジェクトを使用して、xy 平面上に原点を中心とする多角形のボード形状を作成します。antenna.Polygon を使用すると、pcbStack を使用して単層または多層のアンテナを作成できます。
作成
説明
は、xy 平面上に原点を中心とする多角形の形状を作成します。poly = antenna.Polygon
は、名前と値の引数を 1 つ以上使用してプロパティを設定します。poly = antenna.Polygon(PropertyName=Value)PropertyName はプロパティ名、Value は対応する値です。PropertyName1=Value1,...,PropertyNameN=ValueN のように、複数の名前と値の引数を任意の順番で指定できます。指定されなければ、プロパティは既定値を保持します。
たとえば、poly = antenna.Polygon(Name="polygon-1") は、polygon-1 という名前の多角形を作成します。
プロパティ
オブジェクト関数
add | Perform Boolean unite operation on two shapes |
subtract | Perform Boolean subtraction operation on two shapes |
intersect | Generate and plot intersection of two shapes |
plus | Join two shapes |
minus | Carve a shape from other shape |
and | Perform Boolean intersection operation on two shapes |
area | Calculate area of 2-D shapes in square meters |
show | アンテナ、アレイ、AI ベースのアンテナ、プラットフォーム、または形状の表示 |
plot | Plot boundary of 2-D shape |
mesh | Generate and view mesh for antennas, arrays, and custom shapes |
rotate | Rotate shape about axis by angle |
rotateX | Rotate shape about x-axis by angle |
rotateY | Rotate shape about y-axis by angle |
rotateZ | Rotate shape about z-axis by angle |
translate | 形状を新しい位置に移動する |
scale | Change size of shape by fixed factor |
mirrorX | Mirror shape along x-axis |
mirrorY | Mirror shape along y-axis |
removeHoles | Remove holes from shape |
removeSlivers | Remove sliver outliers from shape boundary |
例
バージョン履歴
R2017a で導入


