How to count all parts?

Having problems with or questions about SheetCam? Post them here.
Post Reply
piotr1951
Posts: 3
Joined: Wed Dec 16, 2020 11:17 am

How to count all parts?

Post by piotr1951 »

Is there variable for it so I could add it to job report?
David_Lelen01
Posts: 452
Joined: Wed Sep 12, 2018 8:18 pm
Location: South Carolina, USA
Contact:

Re: How to count all parts?

Post by David_Lelen01 »

try @PartsCut@. You can go to help -> click debug log and then run a job report and it will show all of the available variables for the job report and in what sections of the report.

Looking at the log, it appears @PartsCut@ just counts the number of duplicate parts, not the total number of all parts in the job so that may not be what you want.
mancavedweller
Posts: 161
Joined: Tue Feb 25, 2014 6:53 am

Re: How to count all parts?

Post by mancavedweller »

In addition to what David suggested there is a post processor function "OnNewPart()".

You could use that to increment a custom variable.

Of course you are getting into post processor modification / programming and Davids method is easier.
SeanP
Posts: 217
Joined: Wed Oct 23, 2013 9:50 am

Re: How to count all parts?

Post by SeanP »

Also a really usefull feature in dev version is info in status bar, in 'view toolpaths' mode and selecting the part it will show total parts for job, parts and duplicates.
Then if you select the operation for that part it shows cut length & how many pierces.
Using nesting mode and selecting operation box tels you job cut distance and total pierces.
Very useful!
SC1.jpg
SC1.jpg (228.16 KiB) Viewed 3021 times
Post Reply