入力カーブ parts の list が含まれている面の法線と vector 中心 point を返します。
findProfilePlane ( curves As List ) As List
引数 | [タイプ] | 説明 |
---|---|---|
curve | List | このフォームは、カーブの list プロファイル parts になります。 曲線はすべて同じ平面にある必要があり、そうでない場合はエラーが発生します。 |
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 平面上にプロファイルを形成していることを示します。 Intent >findProfilePlane({Line_1, Line_2, Line_3})
結果: エラー この例では 3 番目の線分が他の 2 つと同じ平面上に配置されていないため、エラーが発生します。