linlilun.love 发表于 2020-1-12 09:01:29

谢谢,正需要!

czflitrocs2020 发表于 2020-3-9 18:31:02

你好我好大家好

老郭工作室 发表于 2020-3-12 19:50:29

向老大学习,看看自己能搞到点什么东西出来

SPDXCNFCNF 发表于 2020-3-16 08:32:26

· UG精品后处理· UG精品后处理

lin林 发表于 2020-3-24 07:46:06

见识见识。。。

meklonull 发表于 2020-8-8 16:45:51

global mom_kin_machine_type
global mom_kin_4th_axis_type mom_kin_4th_axis_plane
global mom_kin_5th_axis_type
global mom_tool_axis mom_sys_spindle_axis mom_kin_spindle_axis
global mom_pos
global mom_cycle_spindle_axis mom_cutcom_plane mom_pos_arc_plane


# Default cycle spindle axis to Z
set mom_cycle_spindle_axis 2


if { ! } {

    if { $mom_kin_4th_axis_type == "Head" } {

      if 1.0] {
      set mom_cycle_spindle_axis 0
      }

      if 1.0] {
      set mom_cycle_spindle_axis 1
      }

      if { $mom_kin_5th_axis_type == "Table" } {

      if { 90.0] || 270.0] } {

          switch $mom_kin_4th_axis_plane {
            "YZ" {
            set mom_cycle_spindle_axis 1
            }
            "ZX" {
            set mom_cycle_spindle_axis 0
            }
          }
      }
      }
    }
}


switch $mom_cycle_spindle_axis {
    0 {
      set mom_cutcom_planeYZ
      set mom_pos_arc_plane YZ
      set principal_axis X
    }
    1 {
      set mom_cutcom_planeZX
      set mom_pos_arc_plane ZX
      set principal_axis Y
    }
    2 {
      set mom_cutcom_planeXY
      set mom_pos_arc_plane XY
      set principal_axis Z
    }
    default {
      set mom_cutcom_planeUNDEFINED
      set mom_pos_arc_plane UNDEFINED
      set principal_axis ""
    }
}


if { $suppress_principal_axis && > 0 } {
    MOM_suppress once $principal_axis
}


if { $force_plane_code } {
    global cycle_init_flag

    if { && } {
      MOM_force once G_plane
    }
}

廖小皮 发表于 2020-8-18 19:37:56

謝謝分享...........

286867264 发表于 2020-8-25 22:31:32

多谢大佬分享试试看

dushiyu 发表于 2020-8-26 23:30:14

支持版主 谢谢

jimmylin5521 发表于 2020-8-30 11:57:34

謝謝大大分享
页: 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24
查看完整版本: G68.2UG后处理