EASY-ROB™ Application Programming Interface  v8.008
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Static Public Member Functions | List of all members
ER_CAPI_CAD_CREATE Class Reference

Method class for creating primitive geometries such as cubes, cylinder, spheres, etc. More...

#include <ER_CAPI.H>

Inheritance diagram for ER_CAPI_CAD_CREATE:
ER_CAPI_CAD ER_CAPI

Static Public Member Functions

static ER_DllExport int Create_CAD (int cad_type, char *body_name=0, float *parameter=0)
 Creates primitive CADs, such as CUBE, PYRAMID, ...
Parameter cad_type for a primitive CAD geometry is one of
CUBE_CAD_TYPE - Primitive Cube, scale[] = X, Y, Height
PYRAMID_CAD_TYPE - Primitive pyramide, scale[] = X, Y, Height, dx, dy
WEDGE_CAD_TYPE - Primitive wedge, scale[] = X, Y, Height X top, Y top, dx dy
CYLINDER_CAD_TYPE - Primitive cylinder, scale[] = Radius, Height 1, y Scale, Radius top, Height 2, y Scale top, dx, dy, Angle
CONE_CAD_TYPE - Primitive cone, scale[] = Radius, Height 1, y Scale, dx, dy, Angle
SPHERE_CAD_TYPE - Primitive sphere, scale[] = Radius, y Scale, Angle, beta 1, beta 2
Parameter parameter is according to parameter cad_type see ER_CAPI_CAD_IO::inq_body_cad_type() 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 creating primitive geometries such as cubes, cylinder, spheres, etc.

Member Function Documentation

static ER_DllExport int ER_CAPI_CAD_CREATE::Create_CAD ( int  cad_type,
char *  body_name = 0,
float *  parameter = 0 
)
static

Creates primitive CADs, such as CUBE, PYRAMID, ...
Parameter cad_type for a primitive CAD geometry is one of
CUBE_CAD_TYPE - Primitive Cube, scale[] = X, Y, Height
PYRAMID_CAD_TYPE - Primitive pyramide, scale[] = X, Y, Height, dx, dy
WEDGE_CAD_TYPE - Primitive wedge, scale[] = X, Y, Height X top, Y top, dx dy
CYLINDER_CAD_TYPE - Primitive cylinder, scale[] = Radius, Height 1, y Scale, Radius top, Height 2, y Scale top, dx, dy, Angle
CONE_CAD_TYPE - Primitive cone, scale[] = Radius, Height 1, y Scale, dx, dy, Angle
SPHERE_CAD_TYPE - Primitive sphere, scale[] = Radius, y Scale, Angle, beta 1, beta 2
Parameter parameter is according to parameter cad_type see ER_CAPI_CAD_IO::inq_body_cad_type()

Parameters
[in]cad_type
[in]body_namename of body
[in]parameter
Return values
0- Ok
1- Error

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