Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Issue with CreateFilletCornersCurve not returning None on error

$
0
0

Hi, just trying to use the following command:
“Rhino.Geometry.Curve.CreateFilletCornersCurve”

The issue I’ve run into is when a curve is passed into it that can’t be filleted (i.e. a rectangle that already has the required fillets) it stops the running of the script instead of returning None as described in the documentation. Should I be doing a check on the input curve beforehand to see if it can have fillets added? If so what check should I be running?

My code:

Output in the terminal after running on a rectangle with 10mm radius corners:

Thanks in advance.

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles