Script: find the center of a triangle surface and draw a circle around it

Script: find the center of a triangle surface and draw a circle around it

Anonymous
Not applicable
1,364 Views
0 Replies
Message 1 of 1

Script: find the center of a triangle surface and draw a circle around it

Anonymous
Not applicable

Dear community,

 

I’d like to create a script for Fusion360, that can

  • Select a triangle surface
  • Create a sketch on a selected triangle surface
  • Calculate the center of this triangle (arithmetic mean of the three corner coordinates)
  • Draw a circle around the calculated center

to facilitate the current manual design process (see picture).

kreis auf Oberfläche.PNG

 

I have already found a description an how to program making sketches and drawing circles.

http://aucache.autodesk.com/au2014/sessionsFiles/5529/6209/handout_5529_CD5529-CustomizingFusion.pdf

 

Unfortunately I am not really capable of writing such a script.

 

Is there anyone who can help or has already worked on a comparable case?

 

Thanks a lot for any help….

1,365 Views
0 Replies
Replies (0)