# *TOOL_MACHINING_DATA.DEF ############################################################################### # Definitions File for Tool Machining Data Database implemented in an ASCII text file ############################################################################### # REVISIONS: # # 00 12Dec2003 rlm Initial Version # 01 22Aug2023 Jenny Zhang Add new attributes # 02 27Sep2023 Jenny Zhang Add attribute - preset # 03 04Dec2023 Romy Shi Adjust several attributes name ########################################################################## DB_PREFIX "db(" DB_SUFFIX ")" ESS_PREFIX "ess(" ESS_SUFFIX ")" ################################################################################ # The list of DB_ALIAS # # DB_ALIAS # { # DB_ID < identifier of parameter in a UG part file > # DB_ID_TYPE < Type of the identifier > # d _ double # i _ integer # s _ string # } # ############################################################################### DB_ALIAS libref { DB_ID LIBRF DB_ID_TYPE s DIALOG_NAME "Tool Key" } DB_ALIAS depthinch { DB_ID DPT_CUT_IN DB_ID_TYPE d DIALOG_NAME "Depth" RSET_NAME "Depth - Inch" } DB_ALIAS depthmm { DB_ID DPT_CUT_MM DB_ID_TYPE d DIALOG_NAME "Depth" RSET_NAME "Depth - mm" } DB_ALIAS stepover_in { DB_ID STEPOVER_IN DB_ID_TYPE d DIALOG_NAME "Stepover" RSET_NAME "Stepover - Inch" } DB_ALIAS stepover_mm { DB_ID STEPOVER_MM DB_ID_TYPE d DIALOG_NAME "Stepover" RSET_NAME "stepover - mm" } DB_ALIAS speedinch { DB_ID SURF_SPEED_FPM DB_ID_TYPE d DIALOG_NAME "Surface Speed" RSET_NAME "Surface Speed - Inch" } DB_ALIAS speedmm { DB_ID SURF_SPEED_MPM DB_ID_TYPE d DIALOG_NAME "Surface Speed" RSET_NAME "Surface Speed - mm" } DB_ALIAS feedinch { DB_ID FEED_IPT DB_ID_TYPE d DIALOG_NAME "Feed per Tooth" RSET_NAME "Feed per Tooth - Inch" } DB_ALIAS feedmm { DB_ID FEED_MMPT DB_ID_TYPE d DIALOG_NAME "Feed per Tooth" RSET_NAME "Feed per Tooth - mm" } DB_ALIAS approach_pct { DB_ID APPROACH_PCT DB_ID_TYPE i DIALOG_NAME "Approach" RSET_NAME "Approach" } DB_ALIAS engage_pct { DB_ID ENGAGE_PCT DB_ID_TYPE i DIALOG_NAME "Engage" RSET_NAME "Engage" } DB_ALIAS frstcut_pct { DB_ID FRSTCUT_PCT DB_ID_TYPE i DIALOG_NAME "First Cut" RSET_NAME "First Cut" } DB_ALIAS stepover_pct { DB_ID STEPOVER_PCT DB_ID_TYPE i DIALOG_NAME "Stepover" RSET_NAME "Stepover" } DB_ALIAS retract_pct { DB_ID RETRACT_PCT DB_ID_TYPE i DIALOG_NAME "Retract" RSET_NAME "Retract" } DB_ALIAS return_pct { DB_ID RETURN_PCT DB_ID_TYPE i DIALOG_NAME "Return" RSET_NAME "Return" } DB_ALIAS depart_pct { DB_ID DEPART_PCT DB_ID_TYPE i DIALOG_NAME "Depart" RSET_NAME "Depart" } DB_ALIAS name { DB_ID NAME DB_ID_TYPE s DIALOG_NAME "Name" RSET_NAME "Name" } DB_ALIAS descr { DB_ID DESCR DB_ID_TYPE s DIALOG_NAME "Description" RSET_NAME "Description" } DB_ALIAS part_mat { DB_ID PARTMAT DB_ID_TYPE s DIALOG_NAME "Part Material" RSET_NAME "Part Material" } DB_ALIAS cut_method { DB_ID CUTMTD DB_ID_TYPE s DIALOG_NAME "Cut Method" RSET_NAME "Cut Method" } DB_ALIAS engage_speed_mm { DB_ID ENGAGE_SPEED_MPM DB_ID_TYPE d DIALOG_NAME "Engage Surface Speed" RSET_NAME "Engage Surface Speed - mm" } DB_ALIAS engage_speed_in { DB_ID ENGAGE_SPEED_FPM DB_ID_TYPE d DIALOG_NAME "Engage Surface Speed" RSET_NAME "Engage Surface Speed - Inch" } DB_ALIAS engage_feed_mm { DB_ID ENGAGE_FEED_MMPT DB_ID_TYPE d DIALOG_NAME "Engage Feed per Tooth" RSET_NAME "Engage Feed per Tooth - mm" } DB_ALIAS engage_feed_in { DB_ID ENGAGE_FEED_IPT DB_ID_TYPE d DIALOG_NAME "Engage Feed per Tooth" RSET_NAME "Engage Feed per Tooth - Inch" } DB_ALIAS engage_dia_mm { DB_ID ENGAGE_DIA_MM DB_ID_TYPE d DIALOG_NAME "Engage Diameter" RSET_NAME "Engage Diameter - mm" } DB_ALIAS engage_dia_in { DB_ID ENGAGE_DIA_IN DB_ID_TYPE d DIALOG_NAME "Engage Diameter" RSET_NAME "Engage Diameter - Inch" } DB_ALIAS engage_ang { DB_ID ENGAGE_ANG DB_ID_TYPE d DIALOG_NAME "Engage Ramp Angle" RSET_NAME "Engage Ramp Angle" } DB_ALIAS preset { DB_ID PRESET DB_ID_TYPE i DIALOG_NAME "Preset" RSET_NAME "Preset" } LIBREF libref CLASS TOOL_MACH_DATA { TYPE TOOL_MACH_DATA QUERY "[1] == [1]" DIALOG libref depthinch speedinch feedinch RSET libref depthinch depthmm stepover_in stepover_mm speedinch speedmm feedinch feedmm approach_pct engage_pct frstcut_pct stepover_pct retract_pct return_pct depart_pct name descr part_mat cut_method engage_speed_mm engage_speed_in engage_feed_mm engage_feed_in engage_dia_mm engage_dia_in engage_ang preset UI_NAME "CAM Tool Machining Data Library" }