SketchArc - blue screen

SketchArc - blue screen

MichaelT_123
Advisor Advisor
865 Views
3 Replies
Message 1 of 4

SketchArc - blue screen

MichaelT_123
Advisor
Advisor

Hi TF360,

 

This is a copy of the crash report just sent to Autodesk.

############

Silly me, I have tried create 3PntArc when the firsts and the last point have the same coords. Such situation ends (predictably) in this 'blue screen' report.
How difficult could be to fix it?
Regards
MichaelT

###########

 

MichaelT
0 Likes
Accepted solutions (1)
866 Views
3 Replies
Replies (3)
Message 2 of 4

BrianEkins
Mentor
Mentor

It certainly shouldn't cause Fusion to crash (I assume that's what you mean by "blue screen").  But it should fail because having two identical points doesn't provide enough information to create the arc.  

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 4

MichaelT_123
Advisor
Advisor

Thank you for the light speed response Mr.Ekins,

 

crashes for points A <x:-2.25 y:-1.5 z:0.0< C <x:-2.25 y:1.5 z:0.0> E <x:-2.25 y:0.0 z:0.0>

in the code line arc_A = Arcs.addByThreePoints(point_A, point_E.geometry, point_C)

 

I have dag deeper. Obviously this is MY PROBLEM. SILLY ME.

 

However, the software should handle such issues in more more graceful way.

 

Regards

MichaelT

 

MichaelT
Message 4 of 4

BrianEkins
Mentor
Mentor
Accepted solution

Agreed.  It should raise an exception so you can catch it with a try except and should never crash Fusion.  Crashing is definitely a bug on the Fusion side.  Providing bad input is a bug on your side.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes