Functions | |
| void | SPI_TOOL_draw_label_edm (int on, int full) |
| Plots the labels of the erosion threading points. | |
| void | SPI_TOOL_draw_label_profile (int on) |
| Plots the labels of the machining profiles. | |
| int | SPI_TOOL_free_list_elt () |
| Releases the list of elements. | |
| int | SPI_TOOL_geometry_3d (const std::string &toolDir, const std::string &subDir, const std::string &toolName, const std::string &dirName, const std::string &fileName, int toolType) |
| Creates a 3D file of the tool geometry. | |
| int | SPI_TOOL_get_geometry_list_elt (int ind, double *elt, int *eltType) |
| Reads a geometric element from the list. | |
| int | SPI_TOOL_import_GTC (const std::string &dirName, const std::string &fileName) |
| import GTC package and convert it to GO2cam tools,symbols | |
| int | SPI_TOOL_init_list_elt (const std::string &toolFolder, const std::string &toolFileName, int toolType, int mode, int viewType) |
| Reads the geometry of a tool. | |
Tool Geometry
| void SPI_TOOL_draw_label_edm | ( | int | on, |
| int | full ) |
Plots the labels of the erosion threading points.
| [in] | on | enables or disables the plot |
| [in] | full | full information (profile name, diameter, X, Y) |
| void SPI_TOOL_draw_label_profile | ( | int | on | ) |
Plots the labels of the machining profiles.
| [in] | on | enables or disables the plot |
| int SPI_TOOL_free_list_elt | ( | ) |
Releases the list of elements.
| int SPI_TOOL_geometry_3d | ( | const std::string & | toolDir, |
| const std::string & | subDir, | ||
| const std::string & | toolName, | ||
| const std::string & | dirName, | ||
| const std::string & | fileName, | ||
| int | toolType ) |
Creates a 3D file of the tool geometry.
| [in] | toolDir | tool directory |
| [in] | subDir | tool sub directory |
| [in] | toolName | tool name |
| [in] | dirName | directory of the 3D file to create |
| [in] | fileName | name of the 3D file to create |
| [in] | toolType | tool type |
| int SPI_TOOL_get_geometry_list_elt | ( | int | ind, |
| double * | elt, | ||
| int * | eltType ) |
Reads a geometric element from the list.
| [in] | ind | element number |
| [out] | elt | TR9 canonical form of the element |
| [out] | eltType | 2 = segment 3 = conter clockwise arc -3 = clock wise arc |
| int SPI_TOOL_import_GTC | ( | const std::string & | dirName, |
| const std::string & | fileName ) |
import GTC package and convert it to GO2cam tools,symbols
| [in] | dirName | File directory |
| [in] | fileName | File name |
| int SPI_TOOL_init_list_elt | ( | const std::string & | toolFolder, |
| const std::string & | toolFileName, | ||
| int | toolType, | ||
| int | mode, | ||
| int | viewType ) |
Reads the geometry of a tool.
| [in] | toolFolder | tool folder |
| [in] | toolFileName | tool file name |
| [in] | toolType | tool type |
| [in] | mode | part of the desired tool :
|
| [in] | viewType |
|