IPRO_BOM.ini の設定¶
各規格フォルダーの中に IPRO_BOM.ini という ASCII ファイルがあります。
このファイルは、パーツ番号、説明、カスタムプロパティの自動生成を管理するのに使用します。
IPRO_BOM.ini ファイルの構造はとてもシンプルです。
## ====================================================================================
## * IronPROLibrary Data Manager - *** Fronema Srl *** - www.ironcad.it
## ====================================================================================
#
# These TAGS will be replaced by the corresponding parameter:
# <C> Code of the component ex: M10
# <L> Length of the component
# <N> Rule of the component
# <S> Thickness (when defined in the component parameters)
# <M> Material
# <Mc> Material Code
# <Md> Material Description
# <X> Latest field of DataFile
#
# (optional) (optional)
# File INI; PartNumber @ PartName; Description; Item in the INI File OtherCustomData_File
#
Bolt.ini; BE<C>x<L><Mc> @ Bolt; Bolt <C>x<L>; 1; CD_Bolt.dat
Bolt.ini; BE<C>x<L><Mc>; Bolt <C>x<L> ; 2; CD_Bolt.dat
....
Bolt.ini; TS<C>x<L><Mc>; Countersunk head screw <C>x<L>; 10; CD_BoltCHS.dat
#
Screw.ini; VT1<C>x<L><Mc>; Cylindrical head screw <C>x<L>; 1
Screw.ini; VT2<C>x<L><Mc>; Cylindrical Allen screw <C>x<L>; 2
....
Screw.ini; VTT<C>x<L><Mc>; Hex head screw with flange <C>x<L>; 17
#
ScrewNoHead.ini; ST1<C>x<L><Mc>; Headless flat Allen key <C>x<L>; 1
ScrewNoHead.ini; ST2<C>x<L><Mc>; Headless cylindrical Allen key <C>x<L>; 2
....
ScrewNoHead.ini; ST9<C>x<L><Mc>; Prisoner <C>x<L>; 9
#
Washer.ini; RD1<C><Mc>; Washer <C>; 1
Washer.ini; RD2<C><Mc>; Elastic Washer <C>; 2
....
Washer.ini; RD8<C><Mc>; High resistance Washer <C>; 8
#
Nut.ini; DD1<C><Mc>; Hex nut <C>; 1
Nut.ini; DD2<C><Mc>; Slotted Hex nut <C>; 2
....
Nut.ini; DD10<C><Mc>; Hex nut with ring nut <C>; 10
#
Profil.ini; P1S<C>x<L><Mc>; Beam <C>x<L>; 1
Profil.ini; P2S<C>x<L><Mc>; Beam <C>x<L>; 2
....
Profil.ini; PIS<C>x<L><Mc>; Profiles <C>x<L>; 19
#
SteelEndCap; CP<C>x<Mc>; SteelCap <C>; 1
SteelEndCap; CP<C>x<Mc>; SteelCap <C>; 2
....
SteelEndCap; CP<C>x<Mc>; SteelCap <C>; 19
#
ORing.ini; R1S<C><Mc>; Oring Shafts <C>; 1
ORing.ini; R2S<C><Mc>; Oring Shafts <C>; 2
....
ORing.ini; R6S<C><Mc>; Oring external pressure <C>; 6
#
ANtenuta.ini; AT1 <C><Mc>; Shafts Holder ring <C>; 1
ANtenuta.ini; AT2 <C><Mc>; Holder ring dust cover <C>; 2
ANtenuta.ini; AT3 <C><Mc>; Holder ring <C>; 3
#
Seeger.ini; SG1 <C><Mc>; Shafts Seeger; 1
Seeger.ini; SG2 <C><Mc>; Holes Seeger; 2
....
Seeger.ini; SG6 <C><Mc>; Holes Seeger K; 6
#
Cuscinetti.ini; Ba1 <C>; Ball Bearing; 0 1
Cuscinetti.ini; Ba2 <C>; Ball Bearing; 0 2
....
Cuscinetti.ini; AB8 <C>; Axial Bearing; 2 4
ご覧の通り、ファイルにはいくつかのレコードが含まれています。すべてのレコードに、「;(セミコロン)」で区切られたいくつかのフィールドがあります。
レコードはすべてコンポーネントに関するものです。
ファイルには、コンポーネントの作成中に特定のパラメーターに置き換えられるタグがいくつかあります。
例えば
例:
# These TAGS will be replaced by the corresponding parameter:
# <C> Code of the component ex: M10
# <L> Length of the component
# <N> Rule of the component
# <M> Material
#PartNumber @ PartName; Description; Item.. OtherCustomData_File
BE<C>x<L> <M> @ Bolt<C>; Bolt <C>x<L> <N>; 1; CD_Bolt.dat
出力:
- Name:
@
Bolt<C>
-> BoltM16 - PartNumer: BE
<C>
x<L>
<M>
-> BEM16x30 OBEH -
Description: Bolt
<C>
x<L>
<N>
-> Bolt M16x30 UNI5725-65 -
名前:
@
Bolt<C>
-> BoltM16 - パーツ番号:BE
<C>
x<L>
<M>
-> BEM16x30 OBEH - 説明:Bolt
<C>
x<L>
<N>
-> Bolt M16x30 UNI5725-65
カスタマイズされたカスタムプロパティの生成には、レコードの 5 番目のフィールドが使用されます。
前の例では、「CD_Bolt.dat」というファイル名が含まれています。
これは、フォルダー内に「CD_Bolt.dat」という名前の ASCII ファイルに、カスタムプロパティを自動作成するために使用するレコードが含まれている、という意味です。
以下がファイルの構造です。
Comp Code = <N> <C>x<L>-<M>
Rule Code = PN-85/M-82101
ご覧の通り、構造は大変シンプルです。レコードは「=」で区切られた 2 つのフィールドで構成されています。
- 最初の フィールドはカスタムプロパティのタイトルです。
- 2 番目の フィールドはカスタムプロパティの値です。
IPRO_BOM.ini で使用可能なタグはすべて値に使用できます。
BOM のルールを編集するのに GUI を使用する場合は、以下をご参照ください。