How do we log files in decimals. It seems that all these values are stored as hexadecimal system. I tried converting those, but doesn't match. Can anyone help me with this? I am attaching a sample log file.
JOINT ABSOLUTE 0 CWT4 0 (m) 0x40926666 (m) 0x41d8eb85 (m) 000000 1
Here I am adding a joint named CWT4 at co ordinate (0,4.575,27.115) it runs fine when imported but i am not sure how to convert those hex decimals.
These hex values are not representations of the decimal value of the coordinate, but a representation of the binary data used to define the point, so there isn't really a way to get 4.575 from 0x40926666. If you want to do manual modifications of the log file it needs to be on a line by line basis.
We are currently working on a Python API which will be able to create and modify input model files from a script, but this isn't in any released version yet. Stay posted on our latest release updates for this.
Regards,
Geoff
Thanks for the reply. But can you give me any hint or reference about how I can enter my new values instead of already created log files. Like what are those binary values which sacs is referring to. I will try doing until it is available.
Shashank
No we don't have any internal documentation or algorithm to determine the hex values as it is based upon the object model which contains additional data.