Hi Fern,
yes: not permanently converting between two formats sounds easier .
And: I also like variable declarations
But I don't now if all utility functions (element handling inside a treestore object) are available.
...and in every case saving the files in XML is a good feature.
As I said earlier: I am not a python programmer, and normally I don't ever write software
running under graphical environment. So I have no experience about the available routines
in all those toolkits and libraries that are used nowadays.
I feel more comfortable in microcontroller environments, where I can measure voltages, currents,
temperatures etc. and the bits I switch control coils/motors and things like that.
So even object oriented programming is not a thing I do every day.
Sometimes I still write assembler if there is something time critical....
But this software is something that is exactly what I need, so I am willing to spend some time
to understand and optimize it. And I already have ported my old ngcgui-subroutines to it, because
it looks much nicer and can also be used by my colleagues without too much CNC knowledge.
BTW: I have done some more testing in the meantime to find out, where the items in groups (if
there is more than one) move from one group to another. I have made a xml file (externally, with gedit)
containing two groups, each having two items (posted before). When I load it, the 1st display is ok.
Each group is still having two items. When I do any change to the xml program with the features software
e.g. add a hole or whatever, the items move from the 2nd group to the 1st.
So I guess, the problem is in converting treestore back to xml.
It can not be in the xml to treestore, because then also the 1st display of the new loaded xml should be wrong....
This weekend I have to finish a big milling job in stainless steel, so I don't think I will have time to put into
this problem. But I will try
best regards,
Martin.