Code: Select all
Updating geometry: Error build geometry(6): gp_Circ::SetRadius() - radius should be positive number Invalid solution from DogLeg solver.
But, the input doesn't generate any negative values that are being used as arguments.
And, the geometry is correct when the routine exits. And, the solver message in the Tasks pane says solved
It's a rather lengthy bit of code, and I'm pretty new at the FC/Python thing, I figured I'd ask if there is something obvious, before I attempt to make a stripped down version to exemplify the message.
Basically the code creates 4 arcs, 2 construction lines, and sets some constraints.