Possible bug in the add method for creating a sketch

Possible bug in the add method for creating a sketch

dirktheeng
Advocate Advocate
441 Views
1 Reply
Message 1 of 2

Possible bug in the add method for creating a sketch

dirktheeng
Advocate
Advocate

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
0 Likes
442 Views
1 Reply
Reply (1)
Message 2 of 2

marshaltu
Autodesk
Autodesk

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 Developer
>
0 Likes