Page 1 of 1

Number of Objects

PostPosted: Mon Jan 10, 2022 11:45 am
by CADdy
Hi all,

I have a G-code file that contains a total of 154173 lines (including comments and blank lines). When I load this file into UCCNC, the Field number 894 (Diagnostics_totalnumberofobjects) shows 154461 objects. How is this number derived?

Peter

Re: Number of Objects

PostPosted: Mon Jan 10, 2022 12:27 pm
by cncdrive
The total number of object derived from the UCCNC's internal structure array which is generated from the g-code file.
For example this line:
M3 M8
contains 2 macros, so that is 2 objects for the UCCNC.

Re: Number of Objects

PostPosted: Mon Jan 10, 2022 7:37 pm
by CADdy
Thank you Balazs for your explanation!

Peter