Modify both inside and outside corners

Both inside and outside corners are modified as shown below.

Original path curve with inside corner

(shown in blue):

Resulting NC output

(shown in pink):

Resulting part shape: