uf_cam.h (查看源代码)
概述
文件描述:
This file contains the information required to use the UF_CAM module.
This module allows the NX CAM User Function programmer to interface
with the current CAM session object and the current CAM Object Parameter
Templates object (OPT). See the documentation of the below functions for
a description of the functionality provided by these objects.
If a function takes a file name as an input parameter then this can
be a full path name or a relative path name. It can also contain
environment variables. If it is not a full path name, UF CAM will use
the directories found in the UGII_CAM_STANDARD_SEARCH_PATH to locate
the specified file.
For sample CAM application's, please refer to the following files in
the NX Open kit.
ufd_cam_create_ude.c ufd_camgeom.c
ufd_cam_sample.c ufd_cambnd_grp_data_ude.c
ufd_cam_udop.c ufd_cam_turn_autoprog.c
ufd_cambnd.c ufx_cam.c
uf_cam_errors.h (查看源代码)
概述
文件描述:
This file defines those error codes which are specific to the CAM User
Function API. They do not duplicate any error codes of the NX CAM core
modules. A CAM User Function might return any NX core module error code
as well as any of the error codes defined here.
This file contains all such CAM User Function error codes regardless of
what CAM User Function module they pertain to. In this way, the programmer
has access to all CAM User Function error codes by including this one
file instead of including a separate file for each CAM User Function module.
uf_cam_planes.h (查看源代码)
概述
文件描述:
This file contains the Open C API interface to Special planes in CAM
Currently Clearance and Lower Limit Planes are the only ones supported.
The CAM Plane routines in this file enable you to:
. Define, edit, and query the origin and normal of special planes
. Set and ask the status of a special plane
. Set and ask the usage of a special plane
uf_cam_prefs.h (查看源代码)
概述
文件描述:
This file contains the information required to use the UF_CAM module.
This module allows the CAM User Function programmer to interface
with the current CAM session object and the current CAM Object Parameter
Templates object (OPT). See the documentation of the below functions for
a description of the functionality provided by these objects.
If a function takes a file name as an input parameter then this can
be a full path name or a relative path name. It can also contain
environment variables. If it is not a full path name, UF CAM will use
the directories found in the UGII_CAM_STANDARD_SEARCH_PATH to locate
the specified file.
For a sample CAM application, please refer to ufx_cam.c in the UGOPEN
kit.
uf_cam_prepro.h (查看源代码)
概述
This module combined with the faceting module interface (defined in uf_facet.h)
provides the CAM user with the capability to preprocess geometry just as in the
user interface.
Preprocessing data for CAM use in Fixed Axis Machining operations includes the
creation of a faceted model for the user defined geometry.
For preprocessing geometry for CAM purposes, the following steps are recommended
for the user:
1) Create a facet model for the geometry using the interface provided in
uf_facet.h
The user should provide the faceting parameters using the following
guidelines to ensure that the model is valid for use by CAM.
a) max_facet_edges = 3
b) number_storage_type = FACET_TYPE_DOUBLE
c) specify_surface_tolerance = true
d) surface_dist_tolerance <= 0.0381 (mm)
e) curve_dist_tolerance <= 0.0381 (mm)
f) surface_angular_tolerance <= 0.4
g) specify_curve_tolerance = true
h) curve_angular_tolerance <= 0.4
i) specify_parameters = true
j) specify_view_direction = true
k) silh_view_direction[0] = tool_axis i component
l) silh_view_direction[1] = tool_axis j component
m) silh_view_direction[2] = tool_axis k component
n) silh_chord_tolerance <= surface_dist_tolerance/2.0
2) Assigning the facet model for CAM by using the functions in this file.
To avoid duplication of interface, the user is required to use uf_facet.h
interface for creating and manipulating faceted models in NX. The faceted
models are standard NX entities in that they can have names and attributes
attached to them. Their type, etc. can be enquired in the usual way and they
are deleted in the usual way.
NX faceted models are occurrenceable and can be added to reference sets. They
are usable for visualisation and clearance analysis, but cannot be dimensioned
to, so they are of little use in drafting.
Errors returned by this module:
- UF_CAM_PREPRO_invalid_model : Input Facet Model not valid for CAM
uf_cam_spec.h (查看源代码)
概述
This file contains the documentation for the pre-v16 UF_CAM module.
UF_CAM_exit_id_t is the identifier type that is passed between NX CAM and a
User Exit. This identifier is only used upon the original call to the User
Exit. After receiving this identifier the User Exit must call
UF_<module>_ask_<module> to retrieve the identifier which will be used in
further transactions with NX CAM via the User Function layer for a
particular module.
uf_cambnd.h (查看源代码)
概述
文件描述:
This file contains the Open API interface to boundary in CAM.
The CAM boundary routines in this file enable you to:
. Append boundaries created from a planar face
. Append a single boundary created from a list of curves/edges
. Get boundaries
. Delete all boundaries of a geometry type
. Delete a single boundary
. Get boundary data
. Get boundary application data
. Set boundary application data
. Get boundary items
. Get item entity
. Get item application data
. Set item application data
. Get boundary group application data (offset)
. Set boundary group application data (offset)
. Get item group application data (offset)
. Set item group application data (offset)
. Determine whether boundary geometry is inherited
. Ask item user defined events (ude)
. Append an item ude
. Delete all item ude(s)
. Delete an item ude
. Determine whether an item can accept ude(s)
uf_camgeom.h (查看源代码)
概述
文件描述:
This file contains the Open API interface to geometry in CAM.
The CAM geometry routines in this file enable you to:
. Append entities to CAM geometry
. Get CAM geometry items
. Delete CAM geometry
. Get the item entity
. Get the item application data
. Set the item application data
. Delete a single item from CAM geometry
. Evaluate a surface at a given (u,v) parameter
uf_camtext.h (查看源代码)
概述
文件描述:
This file contains the Open C API interface to text geometry in CAM.
Text geometry includes drafting note and drafting label objects.
The CAM text geometry routines in this file enable you to:
. Append entities to CAM geometry
. Get CAM geometry items
. Delete CAM geometry
. Get the item entity
. Delete a sigle item from CAM geometry
uf_cut_levels.h (查看源代码)
概述
文件描述:
This file contains the Open C API interface to cut levels in CAM.
Cut levels can be used in both Cavity Mill and ZLevel machining to define
the levels at which the cuts take place.
The CAM cut levels routines in this file enable you to:
. Make a local copy of the cut levels for the user to look at.
. Change the range type
. Add levels defined by either a geometry tag or a z level.
. Delete levels
. Reset levels to their default settings.
There are 4 parameters that are relevant to this functionality
(defined in the file uf_param_indices.h):
UF_PARAM_CUTLEV_RANGE_TYPE
Possible values are:
UF_PARAM_clv_range_auto_generate - cut levels defined by the system
at horizontal regions of the part.
Any changes will cause the type to
be changed to 'user_defined'.
UF_PARAM_clv_range_user_defined - cut levels are defined by user
UF_PARAM_clv_range_single - Single cut range. Levels can not
be added or removed with this type.
This is the only type for which
top off functionality can be
requested.
This is a read only parameter value and can only be changed with the
UF_CUT_LEVELS_set_range_type function.
UF_PARAM_CUTLEV_RANGE_SUBDIV_TYPE
Possible values are:
UF_PARAM_clv_top_off_mode_off - Don't top off horizontal surfaces.
UF_PARAM_clv_top_off_mode_on - Do top off horizontal surfaces.
This type is only considered when the range type above is set to 'single'.
UF_PARAM_CUTLEV_TOP_OFF_MODE
Possible values are:
UF_PARAM_clv_range_subdiv_equalise - subdivide each cut range into
equal steps such that the depth
per cut of that range is not
exceeded.
UF_PARAM_clv_range_subdiv_bottoms_only
- cut at range bottoms only.
The ranges are not subdivided.
Note: the cut levels returned by the functionality supplied in this file
are the range ends. The subdivided levels are only used when the toolpath
is being generated.
UF_PARAM_CUTLEV_GLOBAL_CUT_DEPTH
The global cut depth used for subdividing the ranges. This is the value
used for both 'auto generate' and 'single' range type and is the default
value for 'user defined' range type. Note that only 'user defined' range
type can have different cut depths for different ranges.
uf_cutter.h (查看源代码)
概述
文件描述:
This file contains documentation for the UF_CUTTER module. This module
allows the Open API programmer to interface with the cutting tools that NX
uses in its CAM operations. The programmer can perform functions
such as retrieving a cutter into NX from an external library and creating
a cutter based upon a template object.
uf_fbm_geom.h (查看源代码)
概述
文件描述:
This file contains the Open API interface to FBM_GEOM in CAM.
The CAM FBM_GEOM routines in this file provide an API to the Feature
Geometry Groups that are used in the Feature Based Hole Making Module
uf_hmop.h (查看源代码)
概述
文件描述:
This file contains the Open API interface to HMOP in CAM.
uf_mfm.h (查看源代码)
概述
文件描述:
This file contains the Open C API interface to MFM in CAM.
The CAM MFM routines in this file provide an API to manage machining features.
uf_oper_spec.h (查看源代码)
概述
This file contains the documentation required for using the Open API
Interface to the pre-v16 Oper module.
uf_oprbnd.h (查看源代码)
概述
文件描述:
This file contains the Open API interface to boundary in CAM.
The OPR boundary routines in this file enable you to:
. Get inherited boundary application data
. Set inherited boundary application data
. Get inherited item application data
. Set inherited item application data
. Ask inherited item user defined events (udes)
. Delete all inherited item udes
. Append an inherited item ude
. Delete an inherited item ude
. Determine whether an inherited item can accpet an ude
uf_param_indices.h (查看源代码)
概述
文件描述:
This file contains the list of available parameter indices in UF CAM.
Each index represents a parameter of an NX data object. The description
of that parameter describes what effect that parameter has on the
behavior of the object that owns it.
The values of these paramaters may be asked for and set via the
UF_PARAM modules. See the UF_PARAM module for other activities that
can be performed on these activites.
uf_turn.h (查看源代码)
概述
文件描述:
This file contains the information required to use the UF_TURN module.
This module allows the TURN User Function programmer to interface
with the current CAM session object and the current CAM Object Parameter
Templates object (OPT). See the documentation of the below functions for
a description of the functionality provided by these objects.
For a sample CAM application, please refer to ufd_cam_turn_autoprog.c
in the UGOPEN kit.
uf_ude.h (查看源代码)
概述
文件描述:
This module allows programmers in CAM to work with the User Defined Machine
Control Events that can be specified for Operation and Group objects. The
functions in this file provide the interface to interrogate and edit the
User Defined Machine Control Events.
uf_ui_ont.h (查看源代码)
概述
文件描述:
This file contains the utility functions for the UF_UI_ONT module.
This module allows the CAM User Function programmer to interface
with the Operation Navigation Tool(ONT). The prototypes, descriptions
and 's here will only be usable by Internal Open API programs.
uf_ui_param.h (查看源代码)
概述
文件描述:
This file contains the information required to use the UF_UI_PARAM module.
This module allows the CAM User Function programmer to interface
with the Graphical User Interface tools available to the UF_PARAM objects.
The prototypes, descriptions and typedef's here will only be usable by
Internal Open API programs.