Method for getting the CAM setup WCS

Anonymous

Method for getting the CAM setup WCS

Anonymous
Not applicable

Hello together

 

As I need the transformation matrix between the CAM setup WCS and the global coordinate system. Is it anyhow possible to read out the "position" of the CAM setup WCS using the API?

0 Likes
Reply
Accepted solutions (1)
640 Views
4 Replies
Replies (4)

kandennti
Mentor
Mentor

Hi 9T_labs.

 

I'm sorry, it's just an idea.

 

I think that the script alone will hardly be able to obtain information from CAM.
However, here is a sample code for post processing.

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-BF31EB56-B612-44C8-8F07-0C183036C803 

 

You can download CPS file in JSON format here.

https://cam.autodesk.com/posts/post.php?name=json 

 

I feel that it is possible to obtain a lot of information by post-processing in JSON format and reading the JSON file as a script.
I would like to know if you can do it well.

0 Likes

kandennti
Mentor
Mentor
Accepted solution

Created a sample script.

 

The contents of the file created by the JSON post
It may not be correct because it is not fully understood.

 

Attached data and script were executed.

 

You can get a lot of information by using postprocess even in the script.
I wanted to tell you that it was possible.

1 Like

Anonymous
Not applicable

Thank you so much for the effort! It saved me a lot of work! I will implement it now into our software.

0 Likes

kandennti
Mentor
Mentor

I'm sorry, but I feel that the correct result is not displayed.
It seems that you need to recreate it from the CPS file.

0 Likes