Announcements
Visit Fusion 360 Feedback Hub, the great way to connect to our Product, UX, and Research teams. See you there!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API: An easy way to offset a sketch loop inward vs. outward

API: An easy way to offset a sketch loop inward vs. outward

Hi All,

 

Currently the Sketch Offset method requires a directionPoint to determine the direction of the offset operation. Turns out it's not easy to determine a point inside an arbitrary sketch loop. An involved workaround suggested is as follows from a Fusion team member...

 

A workaround might be extruding the profile into a body, then find a point inside the top face of the body by modifying the code in the following posts: http://forums.autodesk.com/t5/api-and-scripts/extrude-some-profiles/td-p/6404721http://modthemachine.typepad.com/my_weblog/2016/05/is-point-on-face.html The projection of that point onto the sketch plane will be the point you want.

 

The idea station request is to simplify this. I see two options...

 

i) If the sketch curves to be offset form a loop, do not require a directionPoint. negative offset would be inward, positive offset would be outward.

 

ii) Create a method to return a point inside or a point outside a sketch loop. The appropriate point, inside or outside, could then be used as the directionPoint for the offset method.

 

Seems like option i) might be more elegant, but either would be a huge improvement.

 

Thanks!

 

Rod.

2 Comments
colin.smith
Alumni
Unfortunately this idea did not get the support of the community and as such we will not be pursuing it. Please feel free to rework and resubmit this one down the road. Thanks for taking the time to submit your idea.
colin.smith
Alumni
Status changed to: RUG-jp審査通過
 

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

Submit Idea  

Autodesk Design & Make Report