Spaceclaim Scripting Tangent Arc?
I'm writing a script in Spaceclaim to generate a shape based on given parameters (for rapid shape optimization). I've looked in the API, but I have not found a way to consistently generate a tangent arc when the shape of my circle changes (see image).
My script allows me to vary "R" and the location of the start of the tangent arc (blue dot).
This is the code for the tangent arc:
"CurvePoint1" auto updates, but how can get the end point, which I want to always be tangent to the circle to auto update?