Share
 
 

Adding cutting and total-machining time information

To populate setup sheets with the cutting time and total-machining time of toolpaths, NC programs and projects (in HH:MM:SS), use the parameters nCuttingTime and nTotalTime in conjunction with the new function time_to_string in the relevant .html template.

  • To display the cutting and total-machining times of a toolpath, use:
    ${time_to_string(stoolpath.nCuttingTime,"M")}
    ${time_to_string(stoolpath.nTotalTime,"M")}
  • To display the cutting and total-machining times of an NC program, use:
    ${time_to_string(ncprogram.Statistics.nCuttingTime, "M")}
    ${time_to_string(ncprogram.Statistics.nTotalTime, "M")}
  • To display the cutting and total-machining times of a Project, use:
    ${time_to_string(project.nCuttingTime,"M")}
    ${time_to_string(project.nTotalTime,"M")}
Note: "M" instructs the time_to_string function to display the retrieved value in minutes. Use "S" or "H" to display the values in seconds or hours respectively.

Was this information helpful?