IsoAlgo --- Component Definition
eryar@163.com
Keywords: PCF Component Definition, ISOGEN? PCF Component Reference Guide
一、PCF Component Definition
The component definition file defines the layout of the component definition in the PCF file. The contents of the file is documneted in the “PCF Component Reference Guide” and defines which items are obligatory in the output, and which items are optional.
There must be at least two sections in a definition file: [Component Identifier] and [Mandatory Attributes]. The first gives the name of the ISOGEN? component, the second the data required to process the component properly.
Additional sections define attributes that can be added the component definition. These are only added to the definition if corresponding properties are gived.
The Component Identifier section can contain only 1 line, the mandatory section not more than 12 lines.
Example component definition file for pipe:

Figure 1 Example component definition file for pipe
Example component definition file for normal elbow:

Figure 2 Example component defintion file for normal elbow
二、讀取PCF文件
從PCF Component definition中可以看出,PCF文件中管子部件中哪些數據是必須的,哪些數據是可選的。
必須的屬性數據一定要有,不然出來的軸測圖可能是不正確的。可選的屬性大多是一些額外標記的文件信息等。
部件數據的讀取可以將[Component Identifier]作為界限,來讀取每個部件的屬性數據。
如下圖所示為一個Elbow在PCF文件中表示:

三、Aknowledgements
ISOGEN? is the registered trademark of ICI plc.
CADDS is the registered trademark of PTC(Parameteric Technology Corporation)
The following Alias documents are used preparing the software:
PCF Format Guide
PCF Component Reference Guide
ISOGEN? SKEY Definitions
ISOGEN? SKEY Dimensions