<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Required % of cutter consumption from total tool list time in PowerMill Forum</title>
    <link>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11455535#M5404</link>
    <description>&lt;P&gt;Hello Sir&lt;/P&gt;&lt;P&gt;I run this macro&lt;/P&gt;&lt;P&gt;but I am not getting time as per tool diameter&lt;/P&gt;&lt;P&gt;It is showing only for 1st tool and that to in seconds&lt;/P&gt;&lt;P&gt;It would be helpful we get output in excel&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached ppt and project for your reference&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nivrutti Mali&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2022 05:15:55 GMT</pubDate>
    <dc:creator>malinsAM3TM</dc:creator>
    <dc:date>2022-10-01T05:15:55Z</dc:date>
    <item>
      <title>Required % of cutter consumption from total tool list time</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11442556#M5401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are in die and mould business&lt;/P&gt;&lt;P&gt;We required various cutting tools to finish mould&lt;/P&gt;&lt;P&gt;Is there any option to get cutter consumption used in a particular power mill project&lt;/P&gt;&lt;P&gt;What is the total time used the particular tool used in a project as per feed given in a project&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is to analyze the cutter consumption trend&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would help to maintain cutting tool inventory&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nivrutti Mali&lt;/P&gt;&lt;P&gt;Godrej Tooling&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2022 04:28:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11442556#M5401</guid>
      <dc:creator>malinsAM3TM</dc:creator>
      <dc:date>2022-09-24T04:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Required % of cutter consumption from total tool list time</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11447095#M5402</link>
      <description>&lt;LI-CODE lang="general"&gt;INT LIST $toolsNumbers = extract(folder('Tool'), 'Number.Value')

INT dummy = remove_duplicates($toolsNumbers)

FOREACH $toolNumber IN toolsNumbers {

	REAL $cuttingTimeSum = 0

	FOREACH $tp IN folder("Toolpath") {
	
		IF $tp.Tool.Number.Value == $toolNumber {
		
			$cuttingTimeSum = $cuttingTimeSum + $tp.Statistics.TotalTime
		}
	}
	
	PRINT ${"Tool Number: " + $toolNumber + " Total Time: " + $time_to_string($cuttingTimeSum)}

}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 27 Sep 2022 05:03:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11447095#M5402</guid>
      <dc:creator>ondrej.mikulec</dc:creator>
      <dc:date>2022-09-27T05:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Required % of cutter consumption from total tool list time</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11448124#M5403</link>
      <description>&lt;P&gt;I was playing around with this code a little and i went about it a bit differently.&lt;/P&gt;&lt;P&gt;Your code definitely got me on the right path but I couldn't get any values to actually output. All tools had 0.0 output simulation time for some reason. I changed it up a bit and went this route and it gave me (not the OP) the results I was hoping to get. Maybe it'll be useful for someone else. I know it could be made more efficient, I just typed it out real quick and tested.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;string list tool_ = {}

foreach t in folder ('tool') {
    int add1 = add_last($tool_, $t.name )
}

foreach tl in $tool_ {
real tp_time = '0'
string msg = "" 

    foreach tp in folder('toolpath') {
        if $tp.tool.name == $tl {
            $tp_time = $tp_time + round($tp.Statistics.TotalTime, 3)
        }
    }
$msg = "Tool " + $tl + " total simulation time : " + $tp_time    
print $msg

}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 15:27:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11448124#M5403</guid>
      <dc:creator>danmic7JH66</dc:creator>
      <dc:date>2022-09-27T15:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Required % of cutter consumption from total tool list time</title>
      <link>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11455535#M5404</link>
      <description>&lt;P&gt;Hello Sir&lt;/P&gt;&lt;P&gt;I run this macro&lt;/P&gt;&lt;P&gt;but I am not getting time as per tool diameter&lt;/P&gt;&lt;P&gt;It is showing only for 1st tool and that to in seconds&lt;/P&gt;&lt;P&gt;It would be helpful we get output in excel&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached ppt and project for your reference&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nivrutti Mali&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 05:15:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powermill-forum/required-of-cutter-consumption-from-total-tool-list-time/m-p/11455535#M5404</guid>
      <dc:creator>malinsAM3TM</dc:creator>
      <dc:date>2022-10-01T05:15:55Z</dc:date>
    </item>
  </channel>
</rss>

