uc5595 (查看源代码)
定义在: uf_std.h
概述
uc5595 import icad binary report
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int uc5595
(
char * cp1,
double * rp2,
tag_t * nr3,
char * cr4
)
uc5596 (查看源代码)
定义在: uf_std.h
概述
uc5596 export NX objects to an icad binary report
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int uc5596
(
char * cp1,
tag_t * np2,
int ip3,
char * cr4
)
UF_STD_ask_stl_file_type (查看源代码)
定义在: uf_std.h
概述
This routine enquires the type of STL file for the specified filename.
The type of files are
UF_STD_STL_FILE_TYPE_ASCII -- Ascii STL file
UF_STD_STL_FILE_TYPE_BINARY -- Binary STL file
UF_STD_STL_FILE_TYPE_EXT_BINARY -- Extended binary STL file
UF_STD_STL_FILE_TYPE_UNSURE -- Either ascii or binary STL file
UF_STD_STL_FILE_TYPE_NONE -- Not an STL file
Note: Binary files which aren't STL binary files may be identified
incorrectly as extended binary STL files.
环境
内部和外部
参见
历史
This function was originally released in V16.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_ask_stl_file_type
(
char * filename,
UF_STD_stl_file_type_p_t file_type
)
UF_STD_close_stl_file (查看源代码)
定义在: uf_std.h
概述
Closes an STL file.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_close_stl_file
(
void * file_handle
)
| void * | file_handle | Input(输入) | Handle of file |
UF_STD_create_activeweb_file (查看源代码)
定义在: uf_std.h
概述
Create an ActiveWeb output file from geometry definitions in the part.
NOTES: This is a WNTI only function
Most of the input parameters can be left as empty strings and
appropriate values will be assigned from environment variables.
The following environment variables are used:
Variable Default for Field
UGII_ACTIVEWEB_GEOM_SERVER Node name for geometry server
UGII_ACTIVEWEB_ATTR_SERVER Node name for attribute server
UGII_ACTIVEWEB_SERVER_DIR Relative path for amm files
UGII_ACTIVEWEB_GEOM_DIR Path for geometry files
UGII_ACTIVEWEB_ATTR_DIR Path to attribute database directory
UGII_ACTIVEWEB_LOCAL_SERVER Local path to amm directory
UGII_ACTIVEWEB_LOCAL_GEOM Local path to geometry directory
UGII_ACTIVEWEB_LOCAL_WEB Local path to web server directory
EXAMPLE:
UF_STD_create_activeweb_file(
"c:\temp", "cypci204", "AmGeombase", "c:\\GeomFiles\\",
"phantom", "c:\\AttrDatabase\\",
"", "", "", 1.0,
UF_STD_ACTIVEWEB_CREATE_ATTR | UF_STD_ACTIVEWEB_ERASE_LOG );
This command would generate files in the temp directory.
The geometry server is "cypci204" and the local directory for amm files
is "AmGeombase". Attributes are on "phantom" under the directory
c:\\AttrDatabase. No attempt will be made to move files to output
directories so all of the generated files will be in the working
directory. The flags are set so that attributes are created and the
log files will be erased.
环境
内部和外部
历史
This function was originally released in V16.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_create_activeweb_file
(
char * working_directory,
char * base_name,
char * geom_server,
char * server_directory,
char * geometry_directory,
char * attribute_server,
char * attribute_directory,
char * local_server_directory,
char * local_geom_directory,
char * local_web_directory,
double tolerance,
int mode_flags
)
| char * (字符型指针) | working_directory | Input(输入) | The working directory to be used for data files. |
| char * (字符型指针) | base_name | Input(输入) | The default root name for all the generated files. |
| char * (字符型指针) | geom_server | Input(输入) | The node name or IP address of the geometry server. |
| char * (字符型指针) | server_directory | Input(输入) | The relative directory path on the geometry server for the .amm files. |
| char * (字符型指针) | geometry_directory | Input(输入) | The relative or absolute path on the geometry server to the 3d data files (.3di or .3dd). |
| char * (字符型指针) | attribute_server | Input(输入) | The name or IP address for the attribute/ annotation database server. |
| char * (字符型指针) | attribute_directory | Input(输入) | The absolute path on the attribute serve to the .mdb database files. |
| char * (字符型指针) | local_server_directory | Input(输入) | The absolute directory path for the location of the .amm files generated by the translator. |
| char * (字符型指针) | local_geom_directory | Input(输入) | The absolute directory path for the location of the 3di and 3dd geometry data files. |
| char * (字符型指针) | local_web_directory | Input(输入) | The absolute directory path for the location of the am3 web files. This directory will probably be the same location that other HTML, TIF or VRML files are being written. |
| double (实数型) | tolerance | Input(输入) | Adjustment to facet tolerance. Values larger than 1.0 produce fewer output facets. Values less than 1.0 increase the number of facets generated. |
| int (整数型) | mode_flags | Input(输入) | Bit field to control output contents. Flags are: UF_STD_ACTIVEWEB_CREATE_ATTR Controls creation of attribute database. UF_STD_ACTIVEWEB_ERASE_LOG Erases log files after successful optimization. UF_STD_ACTIVEWEB_MOVE_FILES Moves generated files to the output directories as specified by the local_server_directory, the local_geom_directory, and the local_web_directory. If the move flag is set and the directory spec for one of the local directories is blank, then that move will be ignored. UF_STD_ACTIVEWEB_RECURSIVE Apply translation to all components of an assembly. For component parts the base_name will be the part name. UF_STD_ACTIVEWEB_NO_OPTIMIZE Generates the polygon data (.3dx) file but does not invoke the optimizer to create any of the other files. This is useful if you desire to manually perform the optimization at another time. |
UF_STD_create_vrml_file (查看源代码)
定义在: uf_std.h
概述
Create a Virtual Reality Modeling Language (VRML) output file
from geometry definitions in the part file. If no mode flags are
specified a file is produced that contains only geometry and matches
the VRML 1.0 specification. You can OR mode_flags to obtain
different outputs.
This function can add Photo materials and textures to the export
file. Any lights or backgrounds set up by NX in the current view can
also be included in the VRML file. The file is in ASCII 3D data
format for geometry that is used by the World Wide Web.
To output a VRML 2.0 spec file with light sources but no materials,
textures, or backgrounds you could call this function as follows:
UF_STD_create_vrml_file( "test.wrl", 1.0,
UF_STD_OUTPUT_LIGHTS | UF_STD_OUTPUT_VRML_2 );
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_create_vrml_file
(
char * file_name,
double tolerance,
int mode_flags
)
| char * (字符型指针) | file_name | Input(输入) | Name for the output VRML file. |
| double (实数型) | tolerance | Input(输入) | adjustment to facet tolerance. Values larger than 1.0 produce fewer output facets. Values less than 1.0 increase the number of facets generated. |
| int (整数型) | mode_flags | Input(输入) | Control bit fields for controlling output facets. The following are valid flags: UF_STD_OUTPUT_LIGHTS - output light sources when set. UF_STD_OUTPUT_MATERIALS - output material properties if set. UF_STD_OUTPUT_TEXTURES - output image textures if set. UF_STD_OUTPUT_BACKGROUND - output background/foreground information UF_STD_OUTPUT_VRML_2 - use VRML 2.0 specification if set. |
UF_STD_export_icad_geometry (查看源代码)
定义在: uf_std.h
概述
Exports geometry to an ICAD transfer file.
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_export_icad_geometry
(
char * file_spec,
tag_t * objects,
int count
)
| char * (字符型指针) | file_spec | Input(输入) | File specification of binary transfer file to export |
| tag_t * (tag_t型的指针) | objects | Input(输入) | Array of object tags to export |
| int (整数型) | count | Input(输入) | Number of objects |
UF_STD_import_icad_geometry (查看源代码)
定义在: uf_std.h
概述
import an icad transfer file
环境
内部和外部
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_import_icad_geometry
(
char * file_spec,
double matrix [ 12 ] ,
tag_t * ug_tag
)
| char * (字符型指针) | file_spec | Input(输入) | File specification of binary transfer file to import |
| double (实数型) | matrix [ 12 ] | Input(输入) | Orientation matrix of reference set: [0-8] Reference Set Orientation Matrix [9-11] Reference Set Origin |
| tag_t * (tag_t型的指针) | ug_tag | Output(输出) | tag of reference set |
UF_STD_import_stl_ascii_file (查看源代码)
定义在: uf_std.h
概述
This routine imports the specified ascii STL file with the given STL
parameters. The ascii STL file can be in gzipped format.
环境
内部和外部
参见
历史
This function was originally released in V16.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_import_stl_ascii_file
(
char * filename,
UF_STD_stl_params_p_t parameters,
long * parser_line,
int * num_topologies,
tag_t * * topologies,
int * * facets_per_topol
)
| char * (字符型指针) | filename | Input(输入) | Name of ascii STL file |
| UF_STD_stl_params_p_t | parameters | Input(输入) | STL input parameters |
| long * | parser_line | Output(输出) | Last line reached when parsing file |
| int * (整数型指针) | num_topologies | Output(输出) | Number of topologies created |
| tag_t * * | topologies | Output to be freed 输出并释放 | Array of topology tags. This array must be freed by calling UF_free. |
| int * * | facets_per_topol | Output to be freed 输出并释放 | Array of number of facets per topology. This array must be freed by calling UF_free. |
UF_STD_import_stl_binary_file (查看源代码)
定义在: uf_std.h
概述
This routine imports the specified binary STL file with the given STL
parameters. The binary STL file cannot be in gzipped format, but can be
an extended STL file.
环境
内部和外部
参见
历史
This function was originally released in V16.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_import_stl_binary_file
(
char * filename,
UF_STD_stl_params_p_t parameters,
int * num_facets,
tag_t * topology
)
| char * (字符型指针) | filename | Input(输入) | Name of binary STL file |
| UF_STD_stl_params_p_t | parameters | Input(输入) | STL import parameters |
| int * (整数型指针) | num_facets | Output(输出) | Number of facets specified in the STL file |
| tag_t * (tag_t型的指针) | topology | Output(输出) | Topology tag of new facet model |
UF_STD_import_vrml_file (查看源代码)
定义在: uf_std.h
概述
Imports a VRML file into the work part according to the specified
parameters.
环境
内部和外部
参见
历史
This function was originally released in V15.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_import_vrml_file
(
char * filename,
UF_STD_vrml_params_p_t parameters,
int * num_errors,
int * num_warnings,
int * n_topologies,
tag_p_t * topologies
)
| char * (字符型指针) | filename | Input(输入) | Name of file to import |
| UF_STD_vrml_params_p_t | parameters | Input(输入) | a Import parameters |
| int * (整数型指针) | num_errors | Output(输出) | Number of errors found whilst parsing |
| int * (整数型指针) | num_warnings | Output(输出) | Number of warnings found whilst parsing |
| int * (整数型指针) | n_topologies | Output(输出) | Number of new facet topologies created |
| tag_p_t * | topologies | Output to be freed 输出并释放 | Array of tags of the created facet topologies. Must be freed by the caller. |
UF_STD_open_binary_stl_file (查看源代码)
定义在: uf_std.h
概述
Opens an STL file for binary output and return its handle.
环境
内部和外部
参见
需要许可证(S)
( moldflow_ppa or sla_3d_systems )
int UF_STD_open_binary_stl_file
(
char * file_name,
logical append,
char * header,
void * * file_handle
)
| char * (字符型指针) | file_name | Input(输入) | Name of STL file to be written |
| logical | append | Input(输入) | Append flag: TRUE = Append FALSE = No append |
| char * (字符型指针) | header | Input(输入) | Header text for start of binary file |
| void * * | file_handle | Output(输出) | Handle of file |
UF_STD_open_text_stl_file (查看源代码)
定义在: uf_std.h
概述
Opens an STL file for text output and return its handle.
环境
内部和外部
参见
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_open_text_stl_file
(
char * file_name,
logical append,
void * * file_handle
)
| char * (字符型指针) | file_name | Input(输入) | Name of STL file to be written |
| logical | append | Input(输入) | Append flag: TRUE = Append FALSE = No append |
| void * * | file_handle | Output(输出) | Handle of file |
UF_STD_put_sheets_in_stl_file (查看源代码)
定义在: uf_std.h
概述
Puts a facetized set of sheets in an STL file. The first sheet in the
sheets array must have its normal in the correct direction to indicate
the outside of the shell and it must have only one face.
环境
内部和外部
需要许可证(S)
( moldflow_ppa or sla_3d_systems )
int UF_STD_put_sheets_in_stl_file
(
void * file_handle,
tag_t csys,
int num_sheets,
tag_t sheets [ ] ,
double min_edge_len,
double max_edge_len,
double facet_toler,
double adj_toler,
int * num_negated,
tag_p_t * negated,
int * num_errors,
UF_STD_stl_error_p_t * error_info
)
| void * | file_handle | Input(输入) | Handle of file |
| tag_t (tag_t类型) | csys | Input(输入) | Specifies the coordinate system with respect to which output data is to be made. If specified as NULL_TAG, the current WCS is used. |
| int (整数型) | num_sheets | Input(输入) | Number of sheets in shell |
| tag_t (tag_t类型) | sheets [ ] | Input(输入) | Solid bodies to facetize for STL |
| double (实数型) | min_edge_len | Input(输入) | This argument is not used, it for future enhancements (Minimum facet edge length). |
| double (实数型) | max_edge_len | Input(输入) | Maximum facet edge length |
| double (实数型) | facet_toler | Input(输入) | Facet to surface tolerance |
| double (实数型) | adj_toler | Input(输入) | Adjacency tolerance |
| int * (整数型指针) | num_negated | Output(输出) | Number of sheets with inverted normals |
| tag_p_t * | negated | Output to be freed 输出并释放 | Tags of sheets with inverted normals |
| int * (整数型指针) | num_errors | Output(输出) | Number of errors |
| UF_STD_stl_error_p_t * | error_info | Output to be freed 输出并释放 | Error information - NULL if there is none. This must be free by calling UF_free. |
UF_STD_put_solid_in_stl_file (查看源代码)
定义在: uf_std.h
概述
Puts a facetized solid in an STL file.
环境
内部和外部
需要许可证(S)
( moldflow_ppa or sla_3d_systems )
int UF_STD_put_solid_in_stl_file
(
void * file_handle,
tag_t csys,
tag_t body,
double min_edge_len,
double max_edge_len,
double facet_toler,
int * num_errors,
UF_STD_stl_error_p_t * error_info
)
| void * | file_handle | Input(输入) | Handle of file |
| tag_t (tag_t类型) | csys | Input(输入) | Specifies the coordinate system with respect to which output data is to be made. If specified as NULL_TAG, the current WCS is used. |
| tag_t (tag_t类型) | body | Input(输入) | Solid body to facetize for STL |
| double (实数型) | min_edge_len | Input(输入) | This argument is not used, it for future enhancements (Minimum facet edge length). |
| double (实数型) | max_edge_len | Input(输入) | Maximum facet edge length |
| double (实数型) | facet_toler | Input(输入) | Facet to surface tolerance (Interactive Triangle Tolerance) |
| int * (整数型指针) | num_errors | Output(输出) | Number of errors |
| UF_STD_stl_error_p_t * | error_info | Output to be freed 输出并释放 | Error information - NULL if there is none. This must be free by calling UF_free. |
UF_STD_set_default_stl_params (查看源代码)
定义在: uf_std.h
概述
This routine sets the given parameters to default.
环境
内部和外部
参见
历史
This function was originally released in V16.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_set_default_stl_params
(
UF_STD_stl_params_p_t params
)
UF_STD_set_default_vrml_params (查看源代码)
定义在: uf_std.h
概述
Initializes the params data structure with the default VRML import
parameter values.
环境
内部和外部
参见
历史
This function was originally released in V15.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_STD_set_default_vrml_params
(
UF_STD_vrml_params_p_t params
)