Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coordinates created as 10x expected values?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
jaredWE35V
225 Views, 2 Replies

Coordinates created as 10x expected values?

Hello... 

 

I'm very new to Fusion 360 and CAD software in general.  I've written a python script to generate flat representations of truncated cones (frustums) for eventual cutting on a cnc plasma table.  I do this by generating two arcs and connecting their endpoints with lines. This is all working very well but despite the point3d coordinates being correct from the script.. I end up with a shape in the UI that is 10x what it's supposed to be.

 

For example.. if I input a cone with a base diameter of 100mm and top of 50 with a height of 100.. I get a minor arc of 206mm and major arc of 412mm. When plotted in the UI though I get those points at 2062mm and 4124mm.  

 

I've verified the units are in mm.. and checked the API docs for the calls I'm using.. but I don't see any obvious reason for this. 

 

Thanks

2 REPLIES 2
Message 2 of 3
ekinsb
in reply to: jaredWE35V

Distances in the Fusion 360 API are always defined in centimeters.  You can read more about units here: http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-A81B295F-984A-4039-B1CF-B449BEE893D7


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 3
jaredWE35V
in reply to: jaredWE35V

Ah.. thanks for the quick reply. I knew it had to be something simple like that.. but missed that page in the docs. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report