Integration of tool magazine and CATIA in process preparation environment (2)

<

2 CSV file analysis and its corresponding database structure

Since the tools in CATIA involve simulation and their parameters are complex and complex, the focus of integration is to simplify the data model of PPE on the basis of ensuring the integrity of various tool data. In order to prevent the classification in the CATIA tool magazine from being too complicated, only one chapter is created under CATALOG for storing all the data, and the classification is performed according to the tool type name, which simplifies the difficulty of parameter diversity. In the database, each tool information contains a var_property_value_list attribute, separated by a special symbol. This makes data reading easy and ensures the integrity and accuracy of the information.

(1) CSV file structure analysis.

The basic CSV file consists of the following parts:

· File header. In the PPE's tool library integration format, the format is:

[ENDCHAPTER, <section name>]

For example, in ENTCHAPTER, NC_TOOLS in NC_TOOLS is the name of the chapter name. From this section, the tools in the NC_TOOLS library are identified.

• Tool property name. The format is:

Keywords, <attribute 1, attribute 2, ..., attribute n >

• Tool attribute unit. The format is:

Types, <unit 1, unit 2, ..., unit n>

· Tool file body. Usually start with "Comma + Tool Category". The format is:

, <tool category>, <attribute value 1, attribute value 2, ..., attribute value n>

The parameter values ​​of the tool category are used to distinguish tool classes in CATIA. Take the Drill D2.513 tool on line 4 of the above document as an example to analyze the value of each tool. The first "," represents no value under keywords in the tool property line. In turn, the tool category (MFG_NAME_BAS) MfgDrillTool (bit), tool name (MFG_NAEM) Drill D2.513, tool description (MFG_COMMENT) is empty, tool number (MFG_TOOL_NUMBER) 2401, and so on.

• Chapter end instructions. Ending this section with "END".

It should be noted that for the convenience of program reading, all the tools are represented in one chapter, and the attribute name contains all the attributes of the tool. Corresponding to each tool attribute value is only filled with its related content, which is judged by CATIA itself.

Previous Next

CS03A Upgraded Version Lithium Battery Mini Electric Screwdriver

SUZHOU CREATION SPACE INTELLIGENT TECHNOLOGY CO.,LTD , https://www.pkanglegrinder.com