Good day all,
I am trying to fillet two line curves so that the new fillet arc is a user-defined distance away from the previous apex.
I have created a C# script and am stuck at trying to find the midpoint of the nurbscuve ‘filletcrvNURBS’.
i intend to use the midpoint to calculate the distance away from the apex, then update the ‘radius’ variable until the correct fillet arc is drawn at desired distance away.
I am receiving an error ‘Object reference not set to an instance of an object’?
Could a kind teacher guide my way? Many thanks!
I have only started learning to script last week, so my error might be a silly one.
fillet curves till x distance away away from apex.gh (8.4 KB)
2 posts - 2 participants