EASY-ROB™ Application Programming Interface  v9.301
Static Public Member Functions | List of all members
ER_CAPI_CAD_CONVERT Class Reference

Method class for converting external neutral and native CAD formats (STEP, IGES, JT-Open, CATIA, Pro/E, and so on) into the internal IGP Part File Format. More...

#include <ER_CAPI.H>

Inheritance diagram for ER_CAPI_CAD_CONVERT:
ER_CAPI_CAD ER_CAPI

Static Public Member Functions

static ER_DllExport int Convert_CAD (char *cad_file, char *igp_file=0, int confirm=1)
 Converts a CAD file (step, iges,...) to Igp format. More...
 
static ER_DllExport int Convert_CAD_Setting (int Setting=CONVERT_CAD_DEFAULT)
 Set conversion settings
Parameter Setting is a bitwise inclusive OR operator (|) of
CONVERT_CAD_DEFAULT, CONVERT_CAD_MSG_VERBOSE, CONVERT_CAD_MSG_WARNING, CONVERT_CAD_MSG_SILENT, CONVERT_CAD_HEAL, CONVERT_CAD_SEW, CONVERT_CAD_USR_COLOR. More...
 
static ER_DllExport float Convert_CAD_SetTesselation (int Tesselation=CONVERT_CAD_TESSELATION_RESET)
 Tesselation of an imported CAD model Parameter Tesselation is one of
CONVERT_CAD_TESSELATION_RESET, CONVERT_CAD_TESSELATION_COARSE, CONVERT_CAD_TESSELATION_FINE
The return value 'sag' is the maximum allowed distance between the planar approximation polygon and the surface. More...
 
static ER_DllExport int Convert_CAD_ReStore (void)
 Restore and reload converted CAD File into CAD Preview. More...
 
static ER_DllExport int Convert_CAD_Unload (void)
 Unload CAD Import Kernel. More...
 
- Static Public Member Functions inherited from ER_CAPI_CAD
static ER_DllExport int Unload_cCAD (int confirm=1)
 Unload current selected CAD geometry. More...
 
static ER_DllExport int Unload_allCAD (int confirm=1)
 Unload all CAD Geometries in current selected grp. More...
 

Additional Inherited Members

- Static Public Attributes inherited from ER_CAPI_CAD
static ER_CAPI_CAD_IO er_capi_cad_io
 Method class for access to geometry parameter: Location, polygons, vertices, attributes, etc. More...
 
static ER_CAPI_CAD_CREATE er_capi_cad_create
 Method class for creating primitive geometries such as cubes, cylinder, spheres, etc. More...
 
static ER_CAPI_CAD_IMPORT er_capi_cad_import
 Method class for importing existing 3D geometries (IGP, STL, 3DS) More...
 
static ER_CAPI_CAD_CONVERT er_capi_cad_convert
 Method class for converting external neutral and native CAD formats (STEP, IGES, JT-Open, CATIA, Pro/E, and so on) into the internal IGP Part File Format. More...
 
- Static Public Attributes inherited from ER_CAPI
static ER_CAPI_USER_IO er_capi_user_io
 Method class for interaction with EASY-ROB. More...
 
static ER_CAPI_DEVICES er_capi_devices
 Method class to create, attach, update devices, for kinematics calculations and for trajectory planning and -execution. More...
 
static ER_CAPI_SIM er_capi_sim
 Method class for simulation settings. More...
 
static ER_CAPI_TARGETS er_capi_targets
 Method class for paths and tags. More...
 
static ER_CAPI_CAD er_capi_cad
 Method class for for 3D CAD Data import and -export, changing attributes and positions. More...
 
static ER_CAPI_SYS er_capi_sys
 Method class for mathematical calculations, simulation status, units. More...
 

Detailed Description

Method class for converting external neutral and native CAD formats (STEP, IGES, JT-Open, CATIA, Pro/E, and so on) into the internal IGP Part File Format.

Member Function Documentation

◆ Convert_CAD()

static ER_DllExport int ER_CAPI_CAD_CONVERT::Convert_CAD ( char *  cad_file,
char *  igp_file = 0,
int  confirm = 1 
)
static

Converts a CAD file (step, iges,...) to Igp format.

Parameters
[in]cad_fileto convert
[in]igp_fileconverted file
[in]confirm0 - suppress message, 1-show message in a dialog to be confirmed
Return values
0- Ok
1- Error

◆ Convert_CAD_ReStore()

static ER_DllExport int ER_CAPI_CAD_CONVERT::Convert_CAD_ReStore ( void  )
static

Restore and reload converted CAD File into CAD Preview.

Return values
0- Ok
1- Error

◆ Convert_CAD_SetTesselation()

static ER_DllExport float ER_CAPI_CAD_CONVERT::Convert_CAD_SetTesselation ( int  Tesselation = CONVERT_CAD_TESSELATION_RESET)
static

Tesselation of an imported CAD model Parameter Tesselation is one of
CONVERT_CAD_TESSELATION_RESET, CONVERT_CAD_TESSELATION_COARSE, CONVERT_CAD_TESSELATION_FINE
The return value 'sag' is the maximum allowed distance between the planar approximation polygon and the surface.

Parameters
[in]Tesselation
Return values
1- Error in tesselation
sagvalue

◆ Convert_CAD_Setting()

static ER_DllExport int ER_CAPI_CAD_CONVERT::Convert_CAD_Setting ( int  Setting = CONVERT_CAD_DEFAULT)
static

Set conversion settings
Parameter Setting is a bitwise inclusive OR operator (|) of
CONVERT_CAD_DEFAULT, CONVERT_CAD_MSG_VERBOSE, CONVERT_CAD_MSG_WARNING, CONVERT_CAD_MSG_SILENT, CONVERT_CAD_HEAL, CONVERT_CAD_SEW, CONVERT_CAD_USR_COLOR.

Parameters
[in]Setting
Return values
0- Ok
1- Error

◆ Convert_CAD_Unload()

static ER_DllExport int ER_CAPI_CAD_CONVERT::Convert_CAD_Unload ( void  )
static

Unload CAD Import Kernel.

Return values
0- Ok
1- Error

The documentation for this class was generated from the following file: