1
0

Initial commit

This commit is contained in:
2026-02-22 14:16:24 +01:00
commit 1692d191fa
3684 changed files with 10817616 additions and 0 deletions

View File

@@ -0,0 +1,453 @@
################################################################################
# This is the definition file for tools 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 UGType
{
DB_ID UGT
DB_ID_TYPE i
DIALOG_NAME "UG Type"
RSET_NAME "UG Type"
}
DB_ALIAS UGSubtype
{
DB_ID UGST
DB_ID_TYPE i
DIALOG_NAME "UG Subtype"
RSET_NAME "UG Subtype"
}
DB_ALIAS ToolNum
{
DB_ID TLNUM
DB_ID_TYPE i
DIALOG_NAME "Tool Number"
RSET_NAME "Tool Number"
}
DB_ALIAS AdjReg
{
DB_ID ADJREG
DB_ID_TYPE i
DIALOG_NAME "Adjust Register"
RSET_NAME "Adjust Register"
}
DB_ALIAS CutcomReg
{
DB_ID CUTCOMREG
DB_ID_TYPE i
DIALOG_NAME "Cutcom Register"
RSET_NAME "Cutcom Register"
}
DB_ALIAS HolderAngle
{
DB_ID HANGLE
DB_ID_TYPE d
DIALOG_NAME "Holder Angle"
RSET_NAME "Holder Angle"
}
DB_ALIAS ToolRigidity
{
DB_ID RIGID
DB_ID_TYPE d
DIALOG_NAME "Tool Rigidity"
RSET_NAME "Tool Rigidity"
}
DB_ALIAS InsertLength1
{
DB_ID IL
DB_ID_TYPE d
DIALOG_NAME "(IL) Insert Length"
RSET_NAME "(IL) Insert Length"
}
DB_ALIAS ToolTrackingPoint
{
DB_ID TP
DB_ID_TYPE s
DIALOG_NAME "Tool Tracking Point"
RSET_NAME "Tool Tracking Point"
}
DB_ALIAS InsertPosition
{
DB_ID INSP
DB_ID_TYPE i
DIALOG_NAME "Insert Position"
RSET_NAME "Insert Position"
}
DB_ALIAS ThicknessType
{
DB_ID THCT
DB_ID_TYPE s
OPTIONS "01" "T1" "02" "T2" "03" "T3" "04" "05" "06" "07" "09" "11" "12" "User"
OPTIONS_IDS "(01)" "(T1)" "(02)" "(T2)" "(03)" "(T3)" "(04)" "(05)" "(06)" "(07)" "(09)" "(11)" "(12)" "(13)"
DIALOG_NAME "Thickness Type"
RSET_NAME "Thickness Type"
}
DB_ALIAS ReliefAngle
{
DB_ID RELA
DB_ID_TYPE d
DIALOG_NAME "Relief Angle"
RSET_NAME "Relief Angle"
}
DB_ALIAS ReliefAngleType
{
DB_ID RELT
DB_ID_TYPE s
OPTIONS "A (3)" "B (5)" "C (7)" "D (15)" "E (20)" "F (25)" "G (30)" "N (0)" "P (11)" "O (other)"
OPTIONS_IDS "(A)" "(B)" "(C)" "(D)" "(E)" "(F)" "(G)" "(N)" "(P)" "(O)"
DIALOG_NAME "Relief Angle Type"
RSET_NAME "Relief Angle Type"
}
DB_ALIAS InsertType
{
DB_ID IT
DB_ID_TYPE s
OPTIONS "A (Parallelogram 85)" "B (Parallelogram 82)" "C (Diamond 100)" "C (Diamond 80)" "D (Diamond 55)" "E (Diamond 75)" "H (Hexagon 120)" "K (Parallelogram 55)" "L (Rectangle)" "M (Diamond 86)" "O (Octagon 135)" "P (Pentagon 108)" "R(Round)" "S (Square)" "T (Triangle)" "V (Diamond 35)" "W (Trigon 80)" "X (User Defined)"
OPTIONS_IDS "A" "B" "c" "C" "D" "E" "H" "K" "L" "M" "O" "P" "R" "S" "T" "V" "W" "X"
DIALOG_NAME "Insert Type"
RSET_NAME "Insert Type"
}
DB_ALIAS MaxToolDepth
{
DB_ID MXDP
DB_ID_TYPE s
DIALOG_NAME "Max Tool Depth"
RSET_NAME "Max Tool Depth"
}
DB_ALIAS MinBoringDia
{
DB_ID MNBD
DB_ID_TYPE s
DIALOG_NAME "Min Boring Diameter"
RSET_NAME "Min Boring Diameter"
}
DB_ALIAS MaxToolReach
{
DB_ID MXTR
DB_ID_TYPE s
DIALOG_NAME "Max Tool Reach"
RSET_NAME "Max Tool Reach"
}
DB_ALIAS OrientAng
{
DB_ID OA
DB_ID_TYPE d
DIALOG_NAME "(OA) Orient Angle"
RSET_NAME "(OA) Orient Angle"
}
#################################################################
LIBREF libref
#########################################################################
# The Class Hierarchy #
#########################################################################
CLASS TOOL
{
TYPE QRY
QUERY "[DB(libref)] != [0]"
DIALOG libref
RSET libref Descr MaterialDes
UI_NAME "Tool"
CLASS TURNING
{
TYPE QRY
QUERY "[DB(Type)] == [01]"
DIALOG libref Descr
RSET libref Descr Material MaterialDes
UI_NAME "Turning"
CLASS OD_TURNING
{
TYPE QRY
QUERY "[DB(SubType)] == [01]"
FILE "qry=outside_turn_schema;rset=outside_turn_schema;"
DIALOG libref NoseRadius InsertNoseAngle CuttingEdgeLength Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes ToolNum AdjReg CutcomReg Holder HolderDes InsertType OrientAng InsertNoseAngle NoseRadius CuttingEdgeLength InscribedCircle Thickness ThicknessType ReliefAngle ReliefAngleType MaxToolDepth X_Offset Y_Offset ToolTrackingPoint InsertPosition MinBoringDia MaxToolReach XMount YMount HolderAngle ToolRigidity HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "OD Turning"
}
CLASS ID_TURNING
{
TYPE QRY
QUERY "[DB(SubType)] == [02]"
FILE "qry=inside_turn_schema;rset=inside_turn_schema;"
DIALOG libref NoseRadius InsertNoseAngle CuttingEdgeLength MinBoringDia MaxToolReach Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes ToolNum AdjReg CutcomReg Holder HolderDes InsertType OrientAng InsertNoseAngle NoseRadius CuttingEdgeLength InscribedCircle Thickness ThicknessType ReliefAngle ReliefAngleType MaxToolDepth X_Offset Y_Offset ToolTrackingPoint InsertPosition MinBoringDia MaxToolReach XMount YMount HolderAngle ToolRigidity HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "ID Turning"
}
CLASS PRIME_TURNING
{
TYPE QRY
QUERY "[DB(SubType)] == [03]"
DIALOG libref InsertType NoseRadius InscribedCircle Material Holder Descr
RSET libref Type SubType UGType UGSubtype InsertType Descr NoseRadius InscribedCircle Material MaterialDes HolderDes
UI_NAME "PrimeTurning(TM)"
}
CLASS OD_GROOVING
{
TYPE QRY
QUERY "[DB(SubType)] == [11]"
FILE "qry=od_groove_schema;rset=od_groove_schema;"
DIALOG libref CornerRadius InsertWidth SideAngle Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes OrientAng InsertWidth CornerRadius Thickness MaxToolDepth SideAngle RightSang TipAngleGrv MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "OD Grooving"
}
CLASS ID_GROOVING
{
TYPE QRY
QUERY "[DB(SubType)] == [12]"
FILE "qry=inside_groove_schema;rset=inside_groove_schema;"
DIALOG libref CornerRadius InsertWidth SideAngle MinBoringDia MaxToolReach Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes OrientAng InsertWidth CornerRadius Thickness MaxToolDepth SideAngle RightSang TipAngleGrv MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "ID Grooving"
}
CLASS FACE_GROOVING
{
TYPE QRY
QUERY "[DB(SubType)] == [13]"
FILE "qry=face_groove_schema;rset=face_groove_schema;"
DIALOG libref CornerRadius InsertWidth SideAngle Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes OrientAng InsertWidth CornerRadius Thickness MaxToolDepth SideAngle RightSang TipAngleGrv MinBoringDia MaxToolReach MinFacingDiam MaxFacingDiam XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Face Grooving"
}
CLASS PARTING
{
TYPE QRY
QUERY "[DB(SubType)] == [14]"
FILE "qry=outside_groove_schema;rset=outside_groove_schema;"
DIALOG libref PartType CornerRadius InsertWidth TipAngleGrv SideAngle Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes OrientAng InsertWidth CornerRadius Thickness MaxToolDepth SideAngle RightSang TipAngleGrv X_Offset Y_Offset PartType MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "##01Parting"
}
CLASS OD_PROFILING
{
TYPE QRY
QUERY "[DB(SubType)] == [21]"
FILE "qry=outside_profile_schema.bmp;rset=outside_profile_schema;"
DIALOG libref Radius SideAnglePF Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes OrientAng Radius SideAnglePF Thickness ReliefAngle MaxToolDepth X_Offset Y_Offset PartType MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "OD Profiling"
}
CLASS ID_PROFILING
{
TYPE QRY
QUERY "[DB(SubType)] == [22]"
FILE "qry=inside_profile_schema.bmp;rset=inside_profile_schema;"
DIALOG libref Radius SideAnglePF MinBoringDia MaxToolReach Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes OrientAng Radius SideAnglePF Thickness ReliefAngle MaxToolDepth X_Offset Y_Offset PartType MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "ID Profiling"
}
CLASS OD_THREADING
{
TYPE QRY
QUERY "[DB(SubType)] == [31]"
FILE "qry=outside_thread_schema;rset=outside_thread_schema;"
DIALOG libref ThreadShapeTurn Pitch Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes ThreadShapeTurn ThreadDesTurn Pitch OrientAng NoseRadius InsertLength Thickness MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount TrackpointRef IndexNotch TurretRotation
UI_NAME "OD Threading"
}
CLASS ID_THREADING
{
TYPE QRY
QUERY "[DB(SubType)] == [32]"
FILE "qry=inside_thread_schema;rset=inside_thread_schema;"
DIALOG libref ThreadShapeTurn Pitch Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes Holder HolderDes ThreadShapeTurn ThreadDesTurn Pitch OrientAng NoseRadius InsertLength Thickness MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount TrackpointRef IndexNotch TurretRotation
UI_NAME "ID Threading"
}
CLASS OD_THREADING_TRIANGULAR_STD
{
TYPE QRY
QUERY "[DB(SubType)] == [35]"
FILE "qry=outside_thread_schema;rset=outside_thread_schema;"
DIALOG libref NoseRadius InsertLength ProfileDepthInsert ProfileDistanceEX ProfileDistanceEY ProfileAngle Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes NoseRadius InsertLength InscribedCircle ThreadPitchMaximum ProfileDepthInsert ProfileDistanceEX ProfileDistanceEY ProfileAngle MaterialDes HolderDes
UI_NAME "OD Threading Triangular Standard"
}
CLASS ID_THREADING_TRIANGULAR_STD
{
TYPE QRY
QUERY "[DB(SubType)] == [36]"
FILE "qry=inside_thread_schema;rset=inside_thread_schema;"
DIALOG libref NoseRadius InsertLength ProfileDepthInsert ProfileDistanceEX ProfileDistanceEY ProfileAngle Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes NoseRadius InsertLength InscribedCircle ThreadPitchMaximum ProfileDepthInsert ProfileDistanceEX ProfileDistanceEY ProfileAngle MaterialDes HolderDes
UI_NAME "ID Threading Triangular Standard"
}
CLASS OD_THREADING_TRIANGULAR_TRAP
{
TYPE QRY
QUERY "[DB(SubType)] == [37]"
FILE "qry=outside_thread_schema;rset=outside_thread_schema;"
DIALOG libref SpotChamfer InsertLength ThreadHeightActual ThreadHeightDifference ThreadHeightTheoretical ProfileDistanceEX ProfileDistanceEY ProfileAngleTrapezoidal Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes SpotChamfer InsertLength InscribedCircle ThreadPitchMaximum ThreadHeightActual ThreadHeightDifference ThreadHeightTheoretical ProfileDistanceEX ProfileDistanceEY ProfileAngleTrapezoidal MaterialDes HolderDes
UI_NAME "OD Threading Triangular Trapezoidal"
}
CLASS ID_THREADING_TRIANGULAR_TRAP
{
TYPE QRY
QUERY "[DB(SubType)] == [38]"
FILE "qry=inside_thread_schema;rset=inside_thread_schema;"
DIALOG libref SpotChamfer InsertLength ThreadHeightActual ThreadHeightDifference ThreadHeightTheoretical ProfileDistanceEX ProfileDistanceEY ProfileAngleTrapezoidal Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes SpotChamfer InsertLength InscribedCircle ThreadPitchMaximum ThreadHeightActual ThreadHeightDifference ThreadHeightTheoretical ProfileDistanceEX ProfileDistanceEY ProfileAngleTrapezoidal MaterialDes HolderDes
UI_NAME "ID Threading Triangular Trapezoidal"
}
CLASS UG_TURNING_STD
{
TYPE QRY
QUERY "[DB(SubType)] == [90]"
FILE "qry=turn_x_user;rset=turn_x_user;"
DIALOG libref NoseRadius InsertNoseAngle OrientAng CutEdgeLength Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes InsertType OrientAng InsertNoseAngle NoseRadius CutEdgeLength InscribedCircle Thickness ThicknessType ReliefAngle ReliefAngleType MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Turning (Standard)"
}
CLASS UG_TURNING_BUTTON
{
TYPE QRY
QUERY "[DB(SubType)] == [91]"
FILE "qry=turn_r_round;rset=turn_r_round;"
DIALOG libref ButtonDia OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes InsertType OrientAng ButtonDia Thickness ThicknessType ReliefAngle ReliefAngleType MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Turning (Button)"
}
CLASS UG_GROOVING_STD
{
TYPE QRY
QUERY "[DB(SubType)] == [92]"
FILE "qry=groove_std_tool;rset=groove_std_tool;"
DIALOG libref CornerRadius InsertWidth SideAngle2 TipAngleGrv OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng InsertWidth CornerRadius Rrad Thickness MaxToolDepth SideAngle2 TipAngleGrv MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Grooving (Standard)"
}
CLASS UG_GROOVING_FNR
{
TYPE QRY
QUERY "[DB(SubType)] == [93]"
FILE "qry=groove_fnr_tool;rset=groove_fnr_tool;"
DIALOG libref InsertWidth SideAnglePF OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng InsertWidth SideAnglePF Thickness ReliefAngle MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Grooving (Full Nose Radius)"
}
CLASS UG_GROOVING_RING
{
TYPE QRY
QUERY "[DB(SubType)] == [94]"
FILE "qry=groove_rtj_tool;rset=groove_rtj_tool;"
DIALOG libref InsertWidth LeftSang RightSang OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng NoseWidth Thickness MaxToolDepth LeftSang RightSang MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Grooving (Ring Type Joint)"
}
CLASS UG_GROOVING_USER
{
TYPE QRY
QUERY "[DB(SubType)] == [95]"
FILE "qry=groove_ud_tool;rset=groove_ud_tool;"
DIALOG libref InsertWidth LeftSang RightSang Lrad Rrad TipAngleGrv OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng InsertWidth Thickness MaxToolDepth LeftSang RightSang TipAngleGrv Lrad Rrad MinBoringDia MaxToolReach XMount YMount HolderRef TrackpointRef IndexNotch TurretRotation
UI_NAME "Grooving (User Defined)"
}
CLASS UG_THREADING_STD
{
TYPE QRY
QUERY "[DB(SubType)] == [96]"
FILE "qry=thread_std_tool;rset=thread_std_tool;"
DIALOG libref LeftAng RightAng OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng NoseRadius LeftAng RightAng InsertWidth Thickness MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount TrackpointRef IndexNotch TurretRotation
UI_NAME "Threading (Standard)"
}
CLASS UG_THREADING_TRAPEZ
{
TYPE QRY
QUERY "[DB(SubType)] == [97]"
FILE "qry=thread_trap_tool;rset=thread_trap_tool;"
DIALOG libref LeftAng RightAng NoseWidth OrientAng Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng NoseWidth LeftAng RightAng InsertWidth Thickness MaxToolDepth X_Offset Y_Offset MinBoringDia MaxToolReach XMount YMount TrackpointRef IndexNotch TurretRotation
UI_NAME "Threading (Trapez)"
}
CLASS TURN_FORM
{
TYPE QRY
QUERY "[DB(SubType)] == [51]"
FILE "qry=outside_turn_schema;rset=outside_turn_schema;"
DIALOG libref Material Holder Descr
RSET libref Type SubType UGType UGSubtype Descr Material MaterialDes OrientAng Thickness InitialEdgeAngle InitialEdgeLength MaxToolDepth MinFacingDiam MaxFacingDiam MinBoringDia MaxToolReach XMount YMount TrackpointRef IndexNotch TurretRotation
UI_NAME "Turn Form Tool"
}
}
}

View File

@@ -0,0 +1,94 @@
################################################################################
# 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"
}
}
}

View File

@@ -0,0 +1,242 @@
################################################################################
# This is the definition file for tool tracking points with an ASCII File
# as the database
#
#
#=======================================================================
# REVISIONS
# Date Name Description of Change
#
# 25Jan2006 rlm Initial Release
# 27Feb2014 Cheng Wang cam10008: Add Definition_type
###############################################################################
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"
}
##################################################################
#
# General Attributes
#
##################################################################
DB_ALIAS Type
{
DB_ID T
DB_ID_TYPE i
}
DB_ALIAS SubType
{
DB_ID STYPE
DB_ID_TYPE i
}
DB_ALIAS Name
{
DB_ID NAME
DB_ID_TYPE s
}
DB_ALIAS Seq_no
{
DB_ID SEQ
DB_ID_TYPE i
}
DB_ALIAS Adjust
{
DB_ID ADJREG
DB_ID_TYPE i
}
DB_ALIAS Cutcom
{
DB_ID CUTREG
DB_ID_TYPE i
}
#######################################################################
#
# Milling Trackpoint Attributes
#
#######################################################################
DB_ALIAS Adjust_status
{
DB_ID ADJSTAT
DB_ID_TYPE i
}
DB_ALIAS Cutcom_status
{
DB_ID CUTSTAT
DB_ID_TYPE i
}
DB_ALIAS Diameter
{
DB_ID DIAM
DB_ID_TYPE d
DIALOG_NAME "Diameter "
RSET_NAME "Diameter "
}
DB_ALIAS Distance
{
DB_ID DIST
DB_ID_TYPE d
DIALOG_NAME "Distance"
RSET_NAME "Distance"
}
DB_ALIAS Z_offset
{
DB_ID ZOFF
DB_ID_TYPE d
DIALOG_NAME "Z Offset"
RSET_NAME "Z Offset"
}
DB_ALIAS Z_off_status
{
DB_ID ZOFFSTAT
DB_ID_TYPE i
}
DB_ALIAS Definition_type
{
DB_ID DEFTYPE
DB_ID_TYPE i
DIALOG_NAME "Definition"
RSET_NAME "Definition"
}
#######################################################################
#
# Turning Trackpoint Attributes
#
#######################################################################
DB_ALIAS X_offset
{
DB_ID XOFF
DB_ID_TYPE d
DIALOG_NAME "X Offset"
RSET_NAME "X Offset"
}
DB_ALIAS Y_offset
{
DB_ID YOFF
DB_ID_TYPE d
DIALOG_NAME "Y Offset"
RSET_NAME "Y Offset"
}
DB_ALIAS Radius_id
{
DB_ID RADID
DB_ID_TYPE i
}
DB_ALIAS Cluster_id
{
DB_ID CLUSTID
DB_ID_TYPE i
}
DB_ALIAS Angle
{
DB_ID ANGLE
DB_ID_TYPE d
DIALOG_NAME "Angle"
RSET_NAME "Angle"
}
DB_ALIAS Radius
{
DB_ID RAD
DB_ID_TYPE d
DIALOG_NAME "Radius"
RSET_NAME "Radius"
}
###################################################################
#################################################################
LIBREF libref
#########################################################################
# The Class Hierarchy #
#########################################################################
CLASS TRACKPOINT
{
TYPE QRY
QUERY "[DB(libref)] != [0]"
DIALOG libref
RSET libref Type SubType
UI_NAME "Trackpoint"
CLASS MILLING_DRILLING
{
TYPE QRY
QUERY "[DB(Type)] == [01]"
DIALOG libref Type
RSET libref
UI_NAME "Milling_Drilling"
}
CLASS TURNING
{
TYPE QRY
QUERY "[DB(Type)] == [02]"
DIALOG libref Type
RSET libref Name Seq_no Adjust Cutcom X_offset Y_offset Radius_id Cluster_id Angle Radius
UI_NAME "Turning"
}
}

View File

@@ -0,0 +1,115 @@
###############################################################################
# dbc_device_ascii.def - DBC definition file for devices stored as ascii file
###############################################################################
##############################################################################
# REVISIONS
# Date Who Reason
# 10-mar-2005 JM Initial
# 18-Jul-2017 Dieter Krach Add class Facinghead
# 07-Oct-2019 Dieter Krach Add classes Steadyrest and Tailstock
# 13-Jan-2022 Yichao Deng Add DB_ALIAS Holder
##############################################################################
DB_PREFIX "DB("
DB_SUFFIX ")"
ESS_PREFIX "ESS("
ESS_SUFFIX ")"
#############################################################################
# The DB_ALIAS of the library reference. It is mandatory that this DB_ALIAS
# appears in the alias list
#
#############################################################################
#############################################################################
# The list of DB_ALIAS
#
# 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
# }
#
##############################################################################
DB_ALIAS libref
{
DB_ID LIBRF
DB_ID_TYPE s
}
DB_ALIAS Type
{
DB_ID T
DB_ID_TYPE s
}
DB_ALIAS Description
{
DB_ID DESCR
DB_ID_TYPE s
}
DB_ALIAS Holder
{
DB_ID HLD
DB_ID_TYPE s
}
LIBREF libref
#########################################################################
# The Class Hierarchy #
#########################################################################
CLASS DEVICE
{
TYPE test1
QUERY "[1] == [1]"
DIALOG libref
RSET libref Type Description Holder
CLASS Chuck
{
TYPE test2
QUERY "[DB(Type)] == [1]"
DIALOG libref
RSET libref Description
}
CLASS Toolholder
{
TYPE test2
QUERY "[DB(Type)] == [2]"
DIALOG libref
RSET libref Description
}
CLASS Head
{
TYPE test2
QUERY "[DB(Type)] == [3]"
DIALOG libref
RSET libref Description
}
CLASS Facinghead
{
TYPE test2
QUERY "[DB(Type)] == [4]"
DIALOG libref
RSET libref Description
}
CLASS Steadyrest
{
TYPE test2
QUERY "[DB(Type)] == [5]"
DIALOG libref
RSET libref Description
}
CLASS Tailstock
{
TYPE test2
QUERY "[DB(Type)] == [6]"
DIALOG libref
RSET libref Description
}
}

View File

@@ -0,0 +1,345 @@
###############################################################################
# dbc_device_ascii.tcl - DBC Event Handler for device database stored as ascii file
###############################################################################
##############################################################################
# REVISIONS
# Date Who Reason
# 10-Mar-2005 JM Initial
# 15-Apr-2005 JM Account for holding system
##############################################################################
#
proc ASC_m_create_filename {env_var_name filename} \
{
#
# Creates a complete filename by evaluating an environment variable
# for the directory information
#
set env_var [MOM_ask_env_var $env_var_name]
if { $env_var == "" } \
{
set message "Can't read environment variable $env_var_name"
MOM_abort "\n $message"
}
set fname ""
set fname [append fname $env_var $filename]
return $fname
}
proc MOM__boot {} \
{
# source some general procedures
#
# dbc_ascii_general.tcl
#
set filename \
[ASC_m_create_filename "UGII_UG_LIBRARY_DIR" "dbc_ascii_general.tcl"]
if { [catch {source $filename}] == "1" } \
{
set message "Can't load .tcl file: $filename"
MOM_abort "\n $message"
}
### source /cam/v160/jm_mct/dbc_ascii_general.tcl
}
proc MOM__halt {} \
{
}
#---------------------------------------------
proc DBC_init_db {} \
{
global asc_debug
global asc_file_name
global dbc_part_units
global asc_units
#
# Global variables set by DBC for Input/Output
#
global dbc_lhs_exp
global dbc_rhs_exp
global dbc_relop
global dbc_query
global dbc_subqry1
global dbc_subqry2
global dbc_boolop
global dbc_class_name
global dbc_attr_count
global dbc_attr_id
global dbc_query_count
global dbc_libref
global dbc_var_list
global dbc_rididity
set dbc_lhs_exp ""
set dbc_rhs_exp ""
set dbc_relop ""
set dbc_query ""
set dbc_subqry1 ""
set dbc_subqry2 ""
set dbc_boolop ""
set dbc_class_name ""
set dbc_attr_count 0
set dbc_attr_id ""
set dbc_query_count 0
set dbc_libref ""
set dbc_var_list ""
set dbc_rigidity 1.0
set asc_debug 0
# Create the filename for the machine_database.dat
set env_var UGII_CAM_LIBRARY_DEVICE_DATA_DIR
set asc_file_name [ASC_m_create_filename "$env_var" "device_database.dat"]
# And load the file into memory
set ret_val \
[ASC_load_data_file $asc_file_name $asc_units(unknown) 0]
if { $ret_val == "1" } \
{
set message "Open error for UG/Library ASCII Data File: $asc_file_name"
set message "$message \n $asc_file_name"
MOM_abort "\n $message"
}
}
#---------------------------------------------
proc DBC_retrieve {} {
#---------------------------------------------
#
# global input
# ------------
global asc_debug
global dbc_libref
global dbc_retrieve_var_list
#
# global output
# -------------
global dbc_holding_system
#
# manufacturer and description
global dbc_device_description
set dbc_device_description mct_unknown
#
# partfile name for machine graphics
#
global dbc_device_part_name
set dbc_device_part_name ""
append dbc_device_part_name $dbc_libref ".prt"
#
# Look for the desired libref
#
set found [ASC_array_search_machine $dbc_libref db_row]
#
# Ask the necessary attribute values
#
set dbc_device_description \
[ASC_ask_att_val DESCR $db_row "" unknown flag]
#
# Holding system
#
set dbc_holding_system [ASC_ask_att_val HLD $db_row "" 4711 flag]
}
proc ASC_array_search_machine { libref db_row_ref } \
{
upvar $db_row_ref db_row
global asc_file_name
set found [ASC_array_find_object_by_att LIBRF $libref db_row ]
if { $found == 2 } \
{
set message "Error retrieving machine data from external library."
set message "$message \n Machine with the library reference $libref"
set message "$message \n does not exist in the"
set message "$message \n ASCII Data File(s):"
set message "$message \n $asc_file_name"
MOM_log_message "\n $message"
}
return $found
}
proc DBC_ask_library_values {} \
{
#
# global input
global dbc_libref
global dbc_db_ids_count
global dbc_db_ids
#
# global output
global dbc_db_ids_value
#
# Look for the desired libref
#
ASC_array_search_machine $dbc_libref db_row
#
# and set the desired values
#
for { set inx 0 } { $inx < $dbc_db_ids_count } { incr inx } \
{
set dbc_db_ids_value($dbc_db_ids($inx)) \
[ASC_ask_att_val $dbc_db_ids($inx) $db_row "" "" flag]
}
}
#---------------------------------------------
proc DBC_translate_att_alias {} {
#---------------------------------------------
ASC_translate_att_alias
}
#---------------------------------------------
proc DBC_create_criterion {} {
#---------------------------------------------
ASC_create_criterion
}
#---------------------------------------------
proc DBC_create_query {} {
#---------------------------------------------
ASC_create_query
}
#---------------------------------------------
proc DBC_execute_query {} {
#---------------------------------------------
ASC_execute_query
}
#---------------------------------------------
proc DBC_execute_query_for_count {} {
#---------------------------------------------
ASC_execute_query_for_count
}
#------------------------------------------------------------------------
proc DBC_write { } {
#------------------------------------------------------------------------
global asc_database_name
set asc_database_name "machine_database.dat"
ASC_write
}
#---------------------------------------------------------------------
proc ASC_output_header { fileid } {
#---------------------------------------------------------------------
global dbc_attr_count
global dbc_attr_aliases
global dbc_attr_id
global dbc_logname
set daytime [clock seconds]
set out_daytime [clock format $daytime -format "%a %b %d %Y %I:%M %p"]
set headerMessage "###############################################################################
# machine_database.dat - database file for machine database stored as ascii file
###############################################################################
#############################################################################
## Data file for the Machine tool
##
##
## REVISED:
## $dbc_logname $out_daytime
##
## The following key words for Attribute ids are defined
##
## LIBRF - unique record identifier
## T - Machine type - 1-Mill machines
## - 2-Lathe machines
## - 3-Wedm machines
## - 4-MillTurn machines
## - 9-Mixed machines
##
## MNF - Manufacturer
## DESCR - Short description ( for example 3 Axis Mill)
## CNTR - indicating the controller of the machine
##
## POST - the configuration file name with the list of
## postprocessors for this machine
## (The path will be found from the search path environment variable)
## RIGID - Rigidity factor to apply to data from the machining data library
## This will normally be a number less than or equal to 1.0
##############################################################################"
puts $fileid "$headerMessage"
# load the database structure
DBC_load_rset_data
# output FORMAT line
set format_line "FORMAT"
for {set i 0} {$i < $dbc_attr_count} {incr i} \
{
DBC_ask_attr_id $dbc_attr_aliases($i)
set format_line "$format_line $dbc_attr_id"
}
puts $fileid $format_line
puts $fileid "#--------------------------------------------------------------------------------"
}

View File

@@ -0,0 +1,72 @@
###############################################################################
# device_database.dat - database file for device database stored as ascii file
###############################################################################
#############################################################################
## Data file for the machine devices
##
##
## The following key words for Attribute ids are defined
##
## LIBRF - unique record identifier
## T - device type - 1-Chuck
## 2-Tool Holder
## 3-Head
## DESCR - Short description ( for example 3 Axis Mill)
## HLD - Device Holding System, used for automatic device mounting
## on to the machine. The machine kinematics model must contain
## a _DEVICE_HOLDER component with the same holding system
##
##############################################################################
##
##############################################################################
FORMAT LIBRF T DESCR HLD
#--------------------------------------------------------------------------------
DATA |dev01_001 |1 |Chuck | CHUCK
DATA |sim09_adapter-HEAD |3 |RA Adapter| HEAD
DATA |sim10_lathe_chuck_10d |1 |Chuck 10D| CHUCK
DATA |sim10_lathe_chuck_12d |1 |Chuck 12S| CHUCK
DATA |sim10_lathe_collet_adapter |1 |Collet Adapter | CHUCK
DATA |sim11_chuck_assy |1 |Chuck | CHUCK
DATA |sim15_chuck |1 |SIM15 Chuck | CHUCK
DATA |tool_holder_axial_mill_high |2 | Axial Mill Toolholder High| TOOL_HOLDER
DATA |tool_holder_duo_turn |2 | Duo Turn Tool Holder | TOOL_HOLDER
DATA |tool_holder_single_turn |2 | Single Turn Tool Holder | TOOL_HOLDER
DATA |tool_holder_id_bore |2 | Turn Holder ID Bore | TOOL_HOLDER
DATA |tool_holder_radial_mill |2 | Radial Mill Tool | TOOL_HOLDER
DATA |sim16_Vertical-Head |3 | VERT_HEAD | HEAD
DATA |sim16_RightAngle-Head |3 | RA_HEAD | HEAD
DATA |sim16_AC-Head |3 | AC_HEAD | HEAD
DATA |head_45_degree |3 | Head 45 Degree, mount jct +Z | HEAD
DATA |head_45_degree_kuka |3 | Head 45 Degree, mount jct +X | HEAD
DATA |head_45_degree_kuka_sinumerik |3 | Head 45 Degree Sinumerik | HEAD
DATA |force_sensor_2500 |3 | Force Sensor 2500, mount jct +Z | HEAD
DATA |sim17_Dual_Holder-Head |3 | DUAL_HOLDER_HEAD | HEAD
DATA |sim17_Turnholder_horizontal-Head |3 | Horizontal_Turnholder_HEAD | HEAD
DATA |sim17_Turnholder_vertical-Head |3 | Vertical_Turnholder_HEAD | HEAD
DATA |sim17_Universal-Head |3 | Universal_BC_HEAD | HEAD
DATA |sim17_Vertical-Head |3 | Vertical_HEAD | HEAD
DATA |sim17_Adapter-Head |3 | Adapter_HEAD | HEAD
DATA |sim17_mill_B-Head |3 | B_HEAD | HEAD
DATA |Head_Welding_Generic |3 | Generic Welding Head | HEAD
DATA |Head_Welding_Generic_static |3 | Generic Welding Static Head | HEAD
DATA |Head_Welding_Generic_sinumerik |3 | Generic Welding Head Sinumerik| HEAD
DATA |head_45_degree_fanuc |3 | Head 45 Degree, mount jct +z +X up fanuc | HEAD
DATA |QUILLSPINDLE |3 | QUILLSPINDLE | HEAD
DATA |QUILLSPINDLE_SINUMERIK |3 | QUILLSPINDLE_SINUMERIK | HEAD
DATA |Tape_Layup_and_Fused_Filament_Head |3 | Tape Head with Extruders | HEAD
DATA |Tailstock_Device|6 |Tailstock Device| TOOL_HOLDER
DATA |Steady_Rest|5 |Steady Rest| TOOL_HOLDER
#### Legacy - reuse for legacy setups only ####
#DATA |sim10_turn_tool_block |2 | OD Toolholder | TOOL_HOLDER
#DATA |sim10_id_tool_block |2 | ID Toolholder | TOOL_HOLDER
#DATA |sim10_blank_tool_block |2 | Blank Tool | TOOL_HOLDER
#DATA |sim10_axial_mill |2 | Axial Mill Tool | TOOL_HOLDER
#DATA |sim10_radial_mill |2 | Radial Mill Tool | TOOL_HOLDER
#DATA |sim11_toolblock_holder |2 |Toolholder | TOOL_HOLDER
#DATA |sim15_axial_mill |2 | Axial Mill Toolholder - Legacy | TOOL_HOLDER
#DATA |sim15_axial_mill_high |2 | Axial Mill Toolholder High - Legacy | TOOL_HOLDER
#DATA |sim15_radial_mill |2 | Radial Mill Toolholder - Legacy | TOOL_HOLDER
#DATA |sim15_turn_block |2 | Turn Toolholder - Legacy | TOOL_HOLDER
#DATA |sim15_turn_block_duo |2 | Duo Turn Toolholder - Legacy | TOOL_HOLDER

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More