设为首页
收藏本站
开启辅助访问
登录
立即注册
只需一步,快速开始
首页
Portal
软件
铸造小屋
BBS
模具图档
视频教程
UG培训
模具接单
搜索
搜索
UG NX软件交流
铸造模具交流
模流分析软件
二手交易
求职招聘
每日签到
压铸模具图档
精密铸造图档
覆膜砂模具图档
翻砂铸造图档
重力/低压模具图档
消失模及其他图档
数控编程图档
铸造资料下载
每日签到
本版
帖子
用户
铸造屋视频教程培训网
»
铸造小屋
›
模具交流
›
UGNX软件交流
›
UGNX三轴后处理同组不同坐标报警提示,根据夹具偏置和 ...
返回列表
发新帖
[UG后处理]
UGNX三轴后处理同组不同坐标报警提示,根据夹具偏置和
[复制链接]
5284
|
0
|
2020-4-7 21:42:32
|
显示全部楼层
|
阅读模式
三轴UG后处理同组不同坐标报警提示,根据夹具偏置和坐标系名称判断!
global mom_operation_name nStep Step mom_operation_name_list mom_mcsname_attach_opr
global numbers
global times
global ZMLN
set ZMLN 0
set times 1
set Step -1
set nStep -1
set numbers 0
global mom_fixture_offset_value offset_flag
if {![info exists offset_flag]} {
set offset_flag 0
}
if {[string compare $mom_fixture_offset_value 0]&&![string compare $offset_flag 0]} {
set msg [MOM_display_message 程序中包含非G54坐标系,根据夹具偏置判断,默认值为0!请检查!]
1 {
set offset_flag 1
}
2 {
MOM_abort 中止
}
}
global toollistendi
set toollistendi 0
global mom_fixture_offset_value yj
set c [expr $mom_fixture_offset_value+54]
set d [expr 0-$mom_fixture_offset_value]
set yj $mom_fixture_offset_value
global e
if {$mom_fixture_offset_value >= "0"} {
set e $c
} else {
set e 54.1\ P[format "%02.0f" $d]
}
#MOM_output_literal "G$e"
MOM_force once G_motion G_mold
global mom_operation_name_list mom_mcsname_attach_opr
foreach op $mom_operation_name_list {
lappend mcs_list $mom_mcsname_attach_opr($op)
}
set mcs_list_count [llength $mcs_list]
for {set i 1} {$i <= [expr $mcs_list_count - 1]} {incr i} {
if {![string match [lindex $mcs_list 0] [lindex $mcs_list $i]]} {
set msg [MOM_display_message 程序中包含多个坐标系,基于坐标系名称检测!请检查!]
}
}
复制代码
回复
使用道具
举报
返回列表
发新帖
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
立即注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
yazhu
8
主题
1
回帖
243
积分
中级会员
中级会员, 积分 243, 距离下一级还需 257 积分
中级会员, 积分 243, 距离下一级还需 257 积分
积分
243
加好友
发消息
回复楼主
返回列表
UGNX软件交流
模流分析软件
铸造模具周边交易区
求职招聘接单(铸造模具设计)