That is good, i wish to know more from GitHub also More from Python.. this is my first contact with the language.
I'm almost 60 years Old.. started with COBOL a long long time ago .
Now playing with a CNC Router, have discovered the FreeCad.. what amazing software..
I think the developers must give more time to PATH Workbench instead of others features on FreeCad.. so that we can use it in production even with a lot of known bugs.
I think the problem is there in other place because the pathObject does not bring the Machine name and even others sub objects.
Thank You AGAIN..
P.S ..
The result of
------------------------------
myMachine = None
for pathobj in objectslist:
if hasattr(pathobj,"MachineName"):
myMachine = pathobj.MachineName
if hasattr(pathobj, "MachineUnits"):
if pathobj.MachineUnits == "Metric":
UNITS = "G21"
UNIT_FORMAT = 'mm/min'
else:
UNITS = "G20"
UNIT_FORMAT = 'in/min'
if myMachine is None:
print("No machine found in this selection")
-----------------------------------
is always "No machine found in this selection"