CATIA V5の強みの1つとしてナレッジ機能があります。これは設計の自動化に役立ちます。その際、最もよく使われるワークベンチはナレッジ・アドバイザです。形状情報をパラメータで制御することができます。
The follwoing 2 icon functions can be useful:
- The [Formula] icon([式]アイコン)
This allows you to create various kind of parameters in order to create relationships between existing parameters.
- The [Rule] icon ([ルール]アイコン)
This allows you to define design rules of a part or product.
In order to explain how they actually work, take a look at the scenario below.
[1] Create 3 [Length] parameters by using the [F(x)] command, and name them [Point8X], [Point8Y], and [Point8Z].
[2] Next click the [Rule] icon to open the [Rule Editor] window, and then enter the following statement.
[1] [F(x)] コマンドを使って[長さ]パラメータを3つ作成し、 [Point8X], [Point8Y], [Point8Z]と名前をつけます。
[2] 次に[ルール]アイコンをクリックし、[ルールエディタ]を開き、次の構文を記述します。
++++++++++++++++++++++++++++
if Geometrical Set.1\Point.8.coord(1) > 12mm
Message("Way to go!This point is acceptable!")
else
{
Geometrical Set.1\Point.8.coord(Point8X, Point8Y, Point8Z)
Message("Hey, I told you! Change the value right now! You made it at: # ", Point8X)
}
++++++++++++++++++++++++++++
This means that if the X coordinate (X座標 ) of [Point.8] is more than 12mm, a message will be displayed, saying "Way to go! This point is acceptable!"
But if it is 12mm or less (say, 10mm), another message will pop up, saying "Hey, I told you! Change the value right now! You made it at: 10mm".
Here's the word list:
[1] Create 3 [Length] parameters by using the [F(x)] command, and name them [Point8X], [Point8Y], and [Point8Z].
[2] Next click the [Rule] icon to open the [Rule Editor] window, and then enter the following statement.
[1] [F(x)] コマンドを使って[長さ]パラメータを3つ作成し、 [Point8X], [Point8Y], [Point8Z]と名前をつけます。
[2] 次に[ルール]アイコンをクリックし、[ルールエディタ]を開き、次の構文を記述します。
++++++++++++++++++++++++++++
if Geometrical Set.1\Point.8.coord(1) > 12mm
Message("Way to go!This point is acceptable!")
else
{
Geometrical Set.1\Point.8.coord(Point8X, Point8Y, Point8Z)
Message("Hey, I told you! Change the value right now! You made it at: # ", Point8X)
}
++++++++++++++++++++++++++++
This means that if the X coordinate (X座標 ) of [Point.8] is more than 12mm, a message will be displayed, saying "Way to go! This point is acceptable!"
But if it is 12mm or less (say, 10mm), another message will pop up, saying "Hey, I told you! Change the value right now! You made it at: 10mm".
Here's the word list: