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: 

Possible bug in the add method for creating a sketch

1 REPLY 1
Reply
Message 1 of 2
dirktheeng
330 Views, 1 Reply

Possible bug in the add method for creating a sketch

If I want to create a sketch based on a BRep face and give the add method a face that isn't planar by mistake, it will hard crash the program.  I think there should be a flag check to see if the surface is planar and throw an error before the program crashes.  Try giving the add method the side of a circular profile extrusion and see what happens.

21st Century Woodworking

-Blending 21st Century Woodworking with Old World Skill
Tags (1)
1 REPLY 1
Message 2 of 2
marshaltu
in reply to: dirktheeng

Hello,

 

Thank you for reporting the issue to us.

 

We cannot create a sketch based on non-planar face. It was invalid input. We should validate the input and make API call fail in the cases. We will enhance that in future release. 

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

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