Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

&mom_tool_diameter a lot of zeros

Status
Not open for further replies.

berri2

Mechanical
Apr 6, 2010
139
0
0
ES
Hello,

This mom variable, &mom_tool_diameter it takes a lot of zeros, behind I don't know why.

11 ;==== TOOL: T1 - TOOL NAME: UGT0201_009 ======
12 ;==== TOOL DIAMETER: 45.00000000000000000 - TOOL RADIUS: 5.00000000000000000 =====
---------------------------

Custom code:

global mom_path_name
global mom_tool_number
global mom_tool_name
global mom_tool_diameter
global mom_tool_corner1_radius
global mom_tool_taper_angle

MOM_output_literal ";======================================================================================================================================="

MOM_output_literal ";==== TOOL DIAMETER: $mom_tool_diameter - TOOL RADIUS: $mom_tool_corner1_radius ====="
MOM_output_literal ";======================================================================================================================================="
 
Replies continue below

Recommended for you

hi berry ..

the format should be in post buid with 18 decimal places
and must be reduced to three places after the comma
this form or format

"TOOL NAME:[Format% .2$mom_tool_diameter]" example of it with mom_tool_diameter


doubt andrenxcam@yahoo.com.br

André

specialist and multi axis
development of IS & V
and postprocessors
member committee nxcam plm world
skype:andrenxcam7
 
I have put like this, and it takes error postprocessing.

I don't know what part of the code is wrong.

Thanks.


MOM_output_literal ";==== TOOL DIA: [Format% .2$mom_tool_diameter] - TOOL RADIUS: [Format% .2$mom_tool_corner1_radius] - TOOL ANGLE: [Format% .2$mom_tool_taper_angle] =="
 
hi john

sorry

forget of the put %.2f

thanks.... sorry igor..

André

specialist and multi axis
development of IS & V
and postprocessors
member committee nxcam plm world
skype:andrenxcam7
 
Status
Not open for further replies.
Back
Top