Functions | |
| int | SPI_ASM_load_assembly () |
| Loads tool assemblies. | |
| void | SPI_ASM_free_assembly () |
| Releases the tool assembly. | |
| int | SPI_ASM_init_toollist () |
| Initializes the list of assembly tools. | |
| int | SPI_ASM_free_toollist () |
| Releases the assembly tool list. | |
| int | SPI_ASM_select_tool (int index) |
| Selects a tool from the assembly. | |
| void | SPI_ASM_read_string_tool (int key, std::string &sValue) |
| Reads a string parameter of the tool. | |
| void | SPI_ASM_read_integer_tool (int key, int *iValue) |
| Reads an integer parameter of the tool. | |
| void | SPI_ASM_read_real_tool (int key, double *rValue) |
| Reads a real parameter of the tool. | |
| int | SPI_ASM_nb_tool_position (int toolType, const std::string &toolName) |
| Reads the number of tool positions. | |
| int | SPI_ASM_get_tool_position (int index, int *turretNb, int *toolNb) |
| Reads the position of a tool with its index. | |
| int | SPI_ASM_export_assembly_3d (const std::string &folderName) |
| Exports a 3D tool assembly. | |
Tool gauges
| int SPI_ASM_export_assembly_3d | ( | const std::string & | folderName | ) |
Exports a 3D tool assembly.
| [in] | folderName | Name of the export directory |
| void SPI_ASM_free_assembly | ( | ) |
Releases the tool assembly.
| int SPI_ASM_free_toollist | ( | ) |
Releases the assembly tool list.
| int SPI_ASM_get_tool_position | ( | int | index, |
| int * | turretNb, | ||
| int * | toolNb ) |
Reads the position of a tool with its index.
| [in] | index | Index of the tool |
| [out] | turretNb | Turret number |
| [out] | toolNb | Tool number |
| int SPI_ASM_init_toollist | ( | ) |
Initializes the list of assembly tools.
| int SPI_ASM_load_assembly | ( | ) |
Loads tool assemblies.
| int SPI_ASM_nb_tool_position | ( | int | toolType, |
| const std::string & | toolName ) |
Reads the number of tool positions.
| [in] | toolType | Type of tool |
| [in] | toolName | Name of tool |
| void SPI_ASM_read_integer_tool | ( | int | key, |
| int * | iValue ) |
Reads an integer parameter of the tool.
| [in] | key | Field name to read MT_NUMERO_TOURELLE MT_NUMERO_OUTIL MT_NUMERO_POSTE MT_POSTE_INDEX EO_* |
| [out] | iValue | Value read |
| void SPI_ASM_read_real_tool | ( | int | key, |
| double * | rValue ) |
Reads a real parameter of the tool.
| [in] | key | Field name to read MT_LONGUEUR_UTILE MT_TRANSLATION_X MT_TRANSLATION_Y MT_TRANSLATION_Z MT_ROTATION_Y MT_ROTATION_Z MT_JAUGE_X MT_JAUGE_Y MT_JAUGE_Z !RO_DIAMETRE!, RO_* |
| [out] | rValue | Value read |
| void SPI_ASM_read_string_tool | ( | int | key, |
| std::string & | sValue ) |
Reads a string parameter of the tool.
| [in] | key | Field name to read SO_NOM_OUTIL SO_TYPE_OUTIL SO_* |
| [out] | sValue | Value read |
| int SPI_ASM_select_tool | ( | int | index | ) |
Selects a tool from the assembly.
| [in] | index | Position of the tool in the toollist |