Tool total length to Shop doc
Tool total length to Shop doc
(OP)
Hello
I am trying to modify a Tool list html shop doc. I would like to add information of a tool holder length and a tool total length to the doc so a guy who set ups a tool would know how long the tool should be. For this I tried to add mom_tool_holder_length information to the doc but the problem is that if holder is assembled of multiple holder components, the mom_tool_holder_length gives only the first lenght. I attached a picture of tool which holder has multiple lengths. How i can add those lengths together?
Another problem which I have is I would like to have my tools organized by tool number to shop doc. All tools have number & name. How I could change the order?
I am trying to modify a Tool list html shop doc. I would like to add information of a tool holder length and a tool total length to the doc so a guy who set ups a tool would know how long the tool should be. For this I tried to add mom_tool_holder_length information to the doc but the problem is that if holder is assembled of multiple holder components, the mom_tool_holder_length gives only the first lenght. I attached a picture of tool which holder has multiple lengths. How i can add those lengths together?
Another problem which I have is I would like to have my tools organized by tool number to shop doc. All tools have number & name. How I could change the order?





RE: Tool total length to Shop doc
I have some problems time ago, with useful tool lenght...
It takes the tool lenght outside from holder.
try this variable,
set alt [expr [ format "%5.2f" $mom_tool_length ]-[format "%5.2f" $mom_tool_holder_offset]]
"tools organized by tool number to shop doc. All tools have number & name"
This is quiet easy, organize your programs... the shop doc takes each strategy, organized with tool number and tool name.
T$mom_tool_number and $mom_tool_name
Regards,
RE: Tool total length to Shop doc
At the moment I have not added anything to holder offset so the calculation does not help. Main thing I want to do is to add holder component lengths together. No if I add MOM_output_literal "<td ALIGN=CENTER>$mom_tool_holder_length</td>" line to tool_list_html.tcl it gives only the first length 38mm (check the photo I attached in my previous post). How I can add holder total length to Shop doc?
And to the organization problem. I do not fully understand how that NX Shopdoc system works. How the system index tools and where is decided which tool is next in line to be handled? I have understood that tool_list.tpl tells which objects cycles to tool_list_html.tcl but I have not undestood which part decides the order of the tools. In other words which files and parts I need to modify if I want change tools appearing order in html tool list?
RE: Tool total length to Shop doc
I attach you one of my shop doc, it is in Spanish sorry.
Tell me what do you want to insert in your shop doc compared to this one.
RE: Tool total length to Shop doc
I also want to organize tools by tool number.
RE: Tool total length to Shop doc
RE: Tool total length to Shop doc
For example, with 2 steps:
Var: mom_tool_holder_offset = 0.0
Var: mom_holder_number_of_steps = 2
Var: mom_holder_step_sequence_number[0] = 1
Var: mom_holder_step_sequence_number[1] = 2
Var: mom_holder_step_diameter[0] = 11.111
Var: mom_holder_step_diameter[1] = 22.222
Var: mom_holder_step_length[0] = 11.111
Var: mom_holder_step_length[1] = 22.222
Var: mom_holder_step_taper_angle[0] = 0.0
Var: mom_holder_step_taper_angle[1] = 0.0
Var: mom_holder_step_corner_radius[0] = 0.0
Var: mom_holder_step_corner_radius[1] = 0.0
Var: mom_tool_holder_overall_length = 33.333
Mark Rief
Product Manager
Siemens PLM
RE: Tool total length to Shop doc
RE: Tool total length to Shop doc
Where did you add it to in the shop doc?
Cheers
Steve Griffiths
If you want to make apple pie from scratch, first you must create the universe!
RE: Tool total length to Shop doc
RE: Tool total length to Shop doc
Cheers
Steve Griffiths
If you want to make apple pie from scratch, first you must create the universe!
RE: Tool total length to Shop doc
RE: Tool total length to Shop doc
Turn on the review tool and you can see all of the avilable variables.
Mark Rief
Product Manager
Siemens PLM
RE: Tool total length to Shop doc
RE: Tool total length to Shop doc
Put this code at the top of the Shop Doc:
# Turns on Debug or review tool - Select One
#source [MOM_ask_env_var UGII_CAM_DEBUG_DIR]mom_debug.tcl
#source [MOM_ask_env_var UGII_CAM_DEBUG_DIR]mom_review.tcl
# Needs to be on for either Debug or Review
#MOM_set_debug_mode ON
Delete the # from in front of last line and debug &/or review tool
Cheers
Steve Griffiths
If you want to make apple pie from scratch, first you must create the universe!