findProfilePlane()

概要

入力カーブ parts list が含まれている面の法線と vector 中心 point を返します。

構文

findProfilePlane ( curves As List ) As List 
引数 [タイプ] 説明
curve List このフォームは、カーブの list プロファイル parts になります。 曲線はすべて同じ平面にある必要があり、そうでない場合はエラーが発生します。

例 1

両方の例で定義されたパーツ
Child Line_1 As Line
    thruPoint1 = point(0,0,0)
    thruPoint2 = point(1,0,0)
End Child

Child Line_2 As Line
    thruPoint1 = point(1,0,0)
    thruPoint2 = point(1,1,0)
End Child

Child Line_3 As Line
    thruPoint1 = point(1,1,0)
    thruPoint2 = point(1,1,1)
End Child
この結果は 、Intent >findProfilePlane({Line_1, Line_2}) 
--> {Point_(0.0, 0.0, 0.0, WorldFrame()), Vector_(0.0, 0.0, 1.0, WorldFrame())}
2 つの線分は、X、Y 平面上にプロファイルを形成していることを示します。

例 2

Intent >findProfilePlane({Line_1, Line_2, Line_3}) 
結果: エラー

この例では 3 番目の線分が他の 2 つと同じ平面上に配置されていないため、エラーが発生します。