95 lines
3.5 KiB
Modula-2
95 lines
3.5 KiB
Modula-2
################################################################################
|
|
# This is the definition file for tool holders with an ASCII File as the
|
|
# database
|
|
#
|
|
###############################################################################
|
|
DB_PREFIX "DB("
|
|
DB_SUFFIX ")"
|
|
ESS_PREFIX "ESS("
|
|
ESS_SUFFIX ")"
|
|
|
|
|
|
#############################################################################
|
|
# The list of DB_ALIAS
|
|
#
|
|
# All the <alias> defined here can be used in the class description at the end
|
|
# of this file in order to define the fields that should appear in
|
|
# the search criteria and search result dialogs within UG for every class.
|
|
#
|
|
# DB_ALIAS <alias>
|
|
# {
|
|
# DB_ID < Attribute Identifier defined in the ASCII Data File >
|
|
# DB_ID_TYPE < Type of the identifier >
|
|
# d _ double
|
|
# i _ integer
|
|
# s _ string
|
|
# OPTIONS "opt1" "opt2 " "opt3"
|
|
# OPTIONS_IDS "val1" "val2" "val3"
|
|
# DIALOG_NAME "label in search criteria dialog"
|
|
# RSET_NAME "label in search result dialog"
|
|
# }
|
|
#
|
|
# OPTIONS and OPTIONS_IDS can be ommitted, If they are specified
|
|
# then a corresponding option menu is created in the Search Criteria Dialog
|
|
# instead of a simple search field.
|
|
#############################################################################
|
|
|
|
# The DB_ALIAS of the library reference. It is mandatory that this DB_ALIAS
|
|
# appears in the alias list
|
|
#
|
|
DB_ALIAS libref
|
|
{
|
|
DB_ID LIBRF
|
|
DB_ID_TYPE s
|
|
DIALOG_NAME "Libref"
|
|
RSET_NAME "Libref"
|
|
}
|
|
|
|
DB_ALIAS HolderStyle
|
|
{
|
|
DB_ID HSTYLE
|
|
DB_ID_TYPE s
|
|
OPTIONS "All" "A-Style" "B-Style" "C-Style" "D-Style" "E-Style" "F-Style" "G-Style" "H-Style" "I-Style" "J-Style" "K-Style" "L-Style" "M-Style" "N-Style" "O-Style" "P-Style" "Q-Style" "R-Style" "S-Style" "T-Style" "U-Style" "V-Style" "User Defined"
|
|
OPTIONS_IDS "%" "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22"
|
|
DIALOG_NAME "Holder Style"
|
|
RSET_NAME "Holder Style"
|
|
}
|
|
|
|
###################################################################
|
|
#################################################################
|
|
|
|
|
|
LIBREF libref
|
|
|
|
|
|
#########################################################################
|
|
# The Class Hierarchy #
|
|
#########################################################################
|
|
|
|
CLASS HOLDER
|
|
{
|
|
TYPE QRY
|
|
QUERY "[DB(libref)] != [0]"
|
|
DIALOG libref
|
|
RSET libref Type SubType
|
|
UI_NAME "Holder"
|
|
|
|
CLASS TURNING
|
|
{
|
|
TYPE QRY
|
|
QUERY "[DB(RecType)] == [2]"
|
|
DIALOG libref
|
|
RSET libref
|
|
UI_NAME "Turning_With_Dimensions"
|
|
|
|
CLASS TURNING_STD
|
|
{
|
|
TYPE QRY
|
|
QUERY "[DB(SubType)] == [0]"
|
|
DIALOG libref Description
|
|
RSET libref SubType RecType HolderStyle HolderHand HolderLength HolderWidth ShankType ShankWidth ShankLine HolderAngle ShankHeight ShankDefinitionMode CuttingEdgeAngle AdapterUse AdapterStyle AdapterLength AdapterWidth AdapterHeight AdapterZOffset AdapterDiameter AdapterStepLength AdapterStepDiameter AdapterTaperLength AdapterTaperAngle AdapterBlockLength AdapterBlockWidth AdapterBlockHeight
|
|
UI_NAME "Std_Turning_Tool_Holder"
|
|
}
|
|
}
|
|
}
|